Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009612/0.0009612, allocations: 83.64 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005996/0.005996, allocations: 164.1 kB / 24.7 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.054/1.054, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.344e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.1444/0.1444, allocations: 3.742 MB / 302.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.147, allocations: 1.575 MB / 303.8 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004391/0.1474, allocations: 10.72 kB / 303.8 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.1493, allocations: 0.9919 MB / 304.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006669/0.15, allocations: 243.1 kB / 305 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.1512, allocations: 0.7247 MB / 305.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000781/0.152, allocations: 0.6447 MB / 306.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007177/0.1527, allocations: 443.2 kB / 306.8 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005691/0.1533, allocations: 393.7 kB / 307.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.1536, allocations: 257.7 kB / 307.4 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.105e-05/0.1537, allocations: 53.22 kB / 307.5 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006587/0.1544, allocations: 253.8 kB / 307.7 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.484e-05/0.1544, allocations: 134.2 kB / 307.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.1546, allocations: 206.8 kB / 308.1 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.1558, allocations: 0.9489 MB / 309 MB, free: 10.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1558, allocations: 0.75 kB / 309 MB, free: 10.95 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1558, allocations: 1.812 kB / 309 MB, free: 10.95 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1558, allocations: 5.031 kB / 309 MB, free: 10.95 MB / 282.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.002349/0.1581, allocations: 1.136 MB / 310.2 MB, free: 10.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.1582, allocations: 13.42 kB / 310.2 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.1583, allocations: 112.8 kB / 310.3 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006426/0.159, allocations: 172.2 kB / 310.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.1592, allocations: 202.5 kB / 310.7 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/0.1592, allocations: 49.44 kB / 310.7 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.591e-05/0.1593, allocations: 67.25 kB / 310.8 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.1604, allocations: 0.7179 MB / 311.5 MB, free: 9.609 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.1605, allocations: 11.09 kB / 311.5 MB, free: 9.602 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/0.1605, allocations: 29.84 kB / 311.5 MB, free: 9.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.1605, allocations: 18.22 kB / 311.5 MB, free: 9.578 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008579/0.1614, allocations: 0.5991 MB / 312.1 MB, free: 9.379 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.1637, allocations: 1.853 MB / 314 MB, free: 8.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008873/0.1646, allocations: 0.6593 MB / 314.7 MB, free: 7.941 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003694/0.1649, allocations: 247.8 kB / 314.9 MB, free: 7.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.1651, allocations: 22.23 kB / 314.9 MB, free: 7.832 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.1651, allocations: 43.59 kB / 315 MB, free: 7.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=66): time 3.727e-06/0.1651, allocations: 0 / 315 MB, free: 7.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=66): time 0.001108/0.1662, allocations: 0.7036 MB / 315.7 MB, free: 7.512 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.1663, allocations: 110.2 kB / 315.8 MB, free: 7.383 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.1665, allocations: 276 kB / 316 MB, free: 7.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.1665, allocations: 36.08 kB / 316.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1666, allocations: 265.8 kB / 316.3 MB, free: 6.953 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.468e-05/0.1667, allocations: 237 kB / 316.6 MB, free: 6.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.1669, allocations: 118 kB / 316.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.934e-05/0.1669, allocations: 342.9 kB / 317 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.1673, allocations: 211.2 kB / 317.2 MB, free: 6.301 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.1676, allocations: 332.1 kB / 317.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/0.1683, allocations: 0.5174 MB / 318.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1683, allocations: 7.969 kB / 318.1 MB, free: 5.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0008854/0.1692, allocations: 0.6273 MB / 318.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.1692, allocations: 6.125 kB / 318.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1692, allocations: 3.656 kB / 318.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.1692, allocations: 4.391 kB / 318.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/0.1697, allocations: 160.3 kB / 318.9 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.1697, allocations: 9.781 kB / 318.9 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.17, allocations: 76.98 kB / 319 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.17, allocations: 23.16 kB / 319 MB, free: 5.512 MB / 282.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.0002246/0.1703, allocations: 184.7 kB / 319.2 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.1703, allocations: 42.53 kB / 319.2 MB, free: 5.324 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009449/0.1713, allocations: 0.6067 MB / 319.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.1713, allocations: 6.562 kB / 319.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.1713, allocations: 8.531 kB / 319.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.1713, allocations: 5.781 kB / 319.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.1731, allocations: 1.181 MB / 321 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1731, allocations: 3.938 kB / 321 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.1735, allocations: 124.1 kB / 321.1 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.1735, allocations: 4.469 kB / 321.1 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.1735, allocations: 18.98 kB / 321.2 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.1735, allocations: 3.688 kB / 321.2 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1735, allocations: 0 / 321.2 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.1747, allocations: 0.9804 MB / 322.1 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.1747, allocations: 47.97 kB / 322.2 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.1748, allocations: 12.09 kB / 322.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.175, allocations: 37.05 kB / 322.2 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.175, allocations: 45.08 kB / 322.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.1751, allocations: 19.52 kB / 322.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.1752, allocations: 189.4 kB / 322.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1752, allocations: 0 / 322.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005158/0.1757, allocations: 179 kB / 322.7 MB, free: 3.617 MB / 282.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.001329/0.177, allocations: 1.556 MB / 324.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007349/0.1778, allocations: 0.502 MB / 324.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1778, allocations: 0 / 324.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.1781, allocations: 256.7 kB / 325 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.1785, allocations: 55.59 kB / 325 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.1824, allocations: 4.205 MB / 329.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.1826, allocations: 243.7 kB / 329.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002425/0.1829, allocations: 80.98 kB / 329.5 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.1831, allocations: 199.1 kB / 329.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1831, allocations: 0 / 329.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.2084, allocations: 10.19 MB / 339.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.385, allocations: 4.062 kB / 339.9 MB, free: 4.867 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.20907463785261]