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.CylinderSections.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.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 199.8 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007756/0.0007757, allocations: 94 kB / 299.9 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002057/0.0002058, allocations: 4 kB / 360.7 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1751, allocations: 51.4 MB / 412.1 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00295/0.178, allocations: 3.579 MB / 415.6 MB, free: 22.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1802, allocations: 2.857 MB / 418.5 MB, free: 19.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.1804, allocations: 15.94 kB / 418.5 MB, free: 19.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.1808, allocations: 215.1 kB / 418.7 MB, free: 18.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.1812, allocations: 198.8 kB / 418.9 MB, free: 18.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.1824, allocations: 1.41 MB / 420.3 MB, free: 17.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.1828, allocations: 0.5985 MB / 420.9 MB, free: 16.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.1841, allocations: 1.487 MB / 422.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.1843, allocations: 235 kB / 422.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.1846, allocations: 298.6 kB / 422.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.7e-05/0.1846, allocations: 27.98 kB / 423 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.185, allocations: 259.7 kB / 423.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.1851, allocations: 99.55 kB / 423.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.1853, allocations: 304.2 kB / 423.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006259/0.1859, allocations: 0.8968 MB / 424.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1859, allocations: 0 / 424.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1859, allocations: 0 / 424.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.186, allocations: 0 / 424.5 MB, free: 12.81 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002806/0.1888, allocations: 1.116 MB / 425.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.1888, allocations: 12.03 kB / 425.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.1899, allocations: 176 kB / 425.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.1901, allocations: 244.2 kB / 426 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.1901, allocations: 46.38 kB / 426.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.457e-05/0.1902, allocations: 68.28 kB / 426.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.1912, allocations: 0.7155 MB / 426.9 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1913, allocations: 0 / 426.9 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/0.1913, allocations: 28 kB / 426.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1914, allocations: 16 kB / 426.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.1924, allocations: 0.6181 MB / 427.5 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002604/0.1951, allocations: 2.328 MB / 429.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.1962, allocations: 1.632 MB / 431.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.1967, allocations: 283.4 kB / 431.8 MB, free: 5.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.1968, allocations: 174.8 kB / 431.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.1968, allocations: 43.06 kB / 432 MB, free: 4.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.424e-06/0.1969, allocations: 0 / 432 MB, free: 4.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001387/0.1982, allocations: 0.7328 MB / 432.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.1983, allocations: 111.4 kB / 432.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1985, allocations: 260.8 kB / 433.1 MB, free: 3.672 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1985, allocations: 37.7 kB / 433.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.227e-05/0.1986, allocations: 263.9 kB / 433.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.661e-05/0.1987, allocations: 224.8 kB / 433.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.1988, allocations: 12 kB / 433.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.295e-05/0.1988, allocations: 346.8 kB / 433.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.1992, allocations: 217.9 kB / 434.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.1997, allocations: 313.3 kB / 434.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008485/0.2006, allocations: 0.5259 MB / 435 MB, free: 1.695 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2006, allocations: 0 / 435 MB, free: 1.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001055/0.2016, allocations: 0.6491 MB / 435.6 MB, free: 1.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2017, allocations: 4 kB / 435.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2017, allocations: 4 kB / 435.6 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2017, allocations: 12.12 kB / 435.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006684/0.2024, allocations: 159.8 kB / 435.8 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.2024, allocations: 4 kB / 435.8 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.2028, allocations: 83.34 kB / 435.9 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.2029, allocations: 23.98 kB / 435.9 MB, free: 0.7539 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.2031, allocations: 193.7 kB / 436.1 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.433e-05/0.2031, allocations: 35.53 kB / 436.1 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.2043, allocations: 0.6241 MB / 436.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.2043, allocations: 4 kB / 436.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2043, allocations: 3.984 kB / 436.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.2044, allocations: 4 kB / 436.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.2064, allocations: 1.312 MB / 438.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2064, allocations: 0 / 438.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/0.207, allocations: 135.8 kB / 438.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.207, allocations: 4 kB / 438.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.207, allocations: 15.98 kB / 438.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.2071, allocations: 7.938 kB / 438.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2071, allocations: 0 / 438.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.2087, allocations: 0.9978 MB / 439.2 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.999e-05/0.2088, allocations: 128.5 kB / 439.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.992e-05/0.2088, allocations: 12 kB / 439.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.2092, allocations: 39.97 kB / 439.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/0.2093, allocations: 40.5 kB / 439.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.2094, allocations: 16 kB / 439.5 MB, free: 13.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000205/0.2096, allocations: 192.4 kB / 439.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2096, allocations: 3.938 kB / 439.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005133/0.2101, allocations: 179.5 kB / 439.8 MB, free: 12.71 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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002266/0.2104, allocations: 163.1 kB / 440 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.2114, allocations: 0.5548 MB / 440.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2115, allocations: 0 / 440.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.212, allocations: 283 kB / 440.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.2124, allocations: 54.92 kB / 440.9 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.2145, allocations: 1.361 MB / 442.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.2149, allocations: 0.8502 MB / 443.1 MB, free: 9.395 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004384/0.2153, allocations: 79.41 kB / 443.2 MB, free: 9.316 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.2155, allocations: 39.42 kB / 443.2 MB, free: 9.277 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2155, allocations: 0 / 443.2 MB, free: 9.277 MB / 314.7 MB Notification: Performance of Templates: time 0.009183/0.2247, allocations: 4.86 MB / 448.1 MB, free: 4.453 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches