Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000951/0.000951, allocations: 193.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008077/0.0008078, allocations: 95.5 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000226/0.0002261, allocations: 4 kB / 360.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1864, allocations: 51.41 MB / 412.1 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.002937/0.1894, allocations: 3.711 MB / 415.8 MB, free: 22.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.1913, allocations: 2.771 MB / 418.5 MB, free: 19.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1914, allocations: 12 kB / 418.6 MB, free: 19.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.1918, allocations: 219.1 kB / 418.8 MB, free: 18.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.1922, allocations: 218.7 kB / 419 MB, free: 18.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.1934, allocations: 1.403 MB / 420.4 MB, free: 17.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003815/0.1938, allocations: 0.6179 MB / 421 MB, free: 16.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.1951, allocations: 1.514 MB / 422.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.1954, allocations: 239 kB / 422.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1956, allocations: 318.5 kB / 423.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.1957, allocations: 28 kB / 423.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003618/0.1961, allocations: 251.7 kB / 423.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.295e-05/0.1961, allocations: 107.5 kB / 423.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.1963, allocations: 312.1 kB / 423.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006435/0.197, allocations: 0.9395 MB / 424.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.197, allocations: 4 kB / 424.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.197, allocations: 0 / 424.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.197, allocations: 0 / 424.7 MB, free: 12.64 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002939/0.1999, allocations: 1.155 MB / 425.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.2, allocations: 12.03 kB / 425.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.2013, allocations: 207.9 kB / 426.1 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.2014, allocations: 243.2 kB / 426.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.2014, allocations: 58.38 kB / 426.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.284e-05/0.2015, allocations: 76.38 kB / 426.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.2027, allocations: 0.7702 MB / 427.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.2027, allocations: 4 kB / 427.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/0.2028, allocations: 31.94 kB / 427.2 MB, free: 9.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.2028, allocations: 20 kB / 427.3 MB, free: 9.973 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.204, allocations: 0.6805 MB / 427.9 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003131/0.2071, allocations: 3.285 MB / 431.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.2088, allocations: 2.078 MB / 433.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005318/0.2093, allocations: 335.5 kB / 433.6 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.83e-05/0.2095, allocations: 178.8 kB / 433.8 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.2095, allocations: 43.22 kB / 433.8 MB, free: 2.742 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.964e-06/0.2095, allocations: 4.219 kB / 433.8 MB, free: 2.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002227/0.2117, allocations: 1.18 MB / 435 MB, free: 1.512 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.2118, allocations: 111.5 kB / 435.1 MB, free: 1.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.212, allocations: 266.5 kB / 435.4 MB, free: 1.109 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.212, allocations: 45.7 kB / 435.4 MB, free: 1.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.93e-05/0.2121, allocations: 299.4 kB / 435.7 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.2122, allocations: 240.4 kB / 436 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.2123, allocations: 16 kB / 436 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.609e-05/0.2123, allocations: 350.7 kB / 436.3 MB, free: 160 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.2128, allocations: 241.9 kB / 436.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006059/0.2134, allocations: 394.5 kB / 436.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.2146, allocations: 0.6532 MB / 437.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2146, allocations: 3.938 kB / 437.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00156/0.2161, allocations: 0.8423 MB / 438.4 MB, free: 13.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2162, allocations: 8 kB / 438.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2162, allocations: 8.094 kB / 438.5 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/0.2166, allocations: 121.6 kB / 438.6 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/0.2172, allocations: 167.7 kB / 438.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/0.2201, allocations: 3.419 MB / 442.2 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.2206, allocations: 95.17 kB / 442.3 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.904e-05/0.2206, allocations: 31.98 kB / 442.3 MB, free: 9.801 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.2209, allocations: 205.5 kB / 442.5 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.865e-05/0.221, allocations: 39.53 kB / 442.5 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.2225, allocations: 0.7609 MB / 443.3 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.2225, allocations: 8 kB / 443.3 MB, free: 8.766 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2225, allocations: 4 kB / 443.3 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.2225, allocations: 3.984 kB / 443.3 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.2249, allocations: 1.512 MB / 444.8 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.225, allocations: 0 / 444.8 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/0.2255, allocations: 119.8 kB / 444.9 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002793/0.2258, allocations: 110.1 kB / 445 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/0.2259, allocations: 15.98 kB / 445.1 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002464/0.2283, allocations: 3.108 MB / 448.2 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2283, allocations: 4.031 kB / 448.2 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.2302, allocations: 1.148 MB / 449.3 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-05/0.2303, allocations: 120.6 kB / 449.4 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.2304, allocations: 16 kB / 449.5 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.2308, allocations: 35.97 kB / 449.5 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.2309, allocations: 56.52 kB / 449.5 MB, free: 2.145 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.231, allocations: 16 kB / 449.6 MB, free: 2.129 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001901/0.2311, allocations: 190 kB / 449.7 MB, free: 1.941 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2312, allocations: 4 kB / 449.7 MB, free: 1.938 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00065/0.2318, allocations: 223.5 kB / 450 MB, free: 1.719 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002446/0.2321, allocations: 165.3 kB / 450.1 MB, free: 1.547 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.2336, allocations: 0.9069 MB / 451 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2336, allocations: 0 / 451 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007634/0.2344, allocations: 0.572 MB / 451.6 MB, free: 16 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.2348, allocations: 40.62 kB / 451.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.2368, allocations: 1.426 MB / 453.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.2372, allocations: 0.8693 MB / 453.9 MB, free: 13.63 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004128/0.2376, allocations: 88.34 kB / 454 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.2378, allocations: 47.42 kB / 454.1 MB, free: 13.49 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2378, allocations: 0 / 454.1 MB, free: 13.49 MB / 330.7 MB Notification: Performance of Templates: time 0.01052/0.2483, allocations: 5.799 MB / 459.9 MB, free: 7.695 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches