Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.0009924/0.0009924, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005599/0.005599, allocations: 162.4 kB / 24.7 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8818/0.8818, allocations: 177.1 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2472/0.2472, allocations: 34.26 MB / 295.7 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 443.4 MB, free: 1.211 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.961e-05, allocations: 4.812 kB / 443.4 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.1658/0.1658, allocations: 2.352 MB / 445.8 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009334/0.1667, allocations: 0.7912 MB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1669, allocations: 3.75 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.167, allocations: 53.89 kB / 446.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.1672, allocations: 117.8 kB / 446.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.1674, allocations: 99.05 kB / 446.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.1677, allocations: 364.7 kB / 447.2 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.1678, allocations: 64.98 kB / 447.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.1681, allocations: 209.5 kB / 447.5 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.1682, allocations: 118.1 kB / 447.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.1682, allocations: 30.88 kB / 447.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.499e-05/0.1683, allocations: 29.5 kB / 447.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.1683, allocations: 71.05 kB / 447.7 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.1683, allocations: 104.5 kB / 447.8 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.1686, allocations: 396.2 kB / 448.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1686, allocations: 0 / 448.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1686, allocations: 3.469 kB / 448.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1686, allocations: 0 / 448.2 MB, free: 42.48 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006595/0.1693, allocations: 0.5594 MB / 448.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1693, allocations: 10.56 kB / 448.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.1694, allocations: 45.61 kB / 448.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.1697, allocations: 204.4 kB / 449 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1697, allocations: 17.62 kB / 449 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1697, allocations: 26.23 kB / 449.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.17, allocations: 247.5 kB / 449.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.17, allocations: 192 / 449.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.1701, allocations: 11.28 kB / 449.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.1701, allocations: 9.812 kB / 449.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.1704, allocations: 232.7 kB / 449.5 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007707/0.1711, allocations: 0.7439 MB / 450.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.1714, allocations: 283.9 kB / 450.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.1716, allocations: 122.9 kB / 450.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.1716, allocations: 6.078 kB / 450.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.1716, allocations: 37.41 kB / 450.7 MB, free: 40.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/0.1716, allocations: 0 / 450.7 MB, free: 40.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001995/0.1736, allocations: 0.9635 MB / 451.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.1736, allocations: 61.66 kB / 451.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1738, allocations: 231.1 kB / 452 MB, free: 40.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1738, allocations: 29.7 kB / 452 MB, free: 40.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.1739, allocations: 173 kB / 452.2 MB, free: 40.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.1739, allocations: 105.2 kB / 452.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.1739, allocations: 52.94 kB / 452.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.853e-05/0.174, allocations: 338.3 kB / 452.7 MB, free: 39.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1741, allocations: 93.45 kB / 452.8 MB, free: 39.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.1742, allocations: 127.5 kB / 452.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.1745, allocations: 227.6 kB / 453.1 MB, free: 39.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1745, allocations: 0 / 453.1 MB, free: 39.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007929/0.1753, allocations: 0.5392 MB / 453.6 MB, free: 39.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1753, allocations: 9.688 kB / 453.7 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1753, allocations: 0 / 453.7 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007184/0.176, allocations: 323.2 kB / 454 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.781e-05/0.1761, allocations: 27.64 kB / 454 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003523/0.1796, allocations: 6.284 MB / 460.3 MB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.1798, allocations: 25.12 kB / 460.3 MB, free: 33.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.1798, allocations: 8.688 kB / 460.3 MB, free: 33.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.1799, allocations: 141.6 kB / 460.5 MB, free: 33.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.1799, allocations: 27.25 kB / 460.5 MB, free: 33.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008604/0.1808, allocations: 0.5486 MB / 461 MB, free: 33.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.1808, allocations: 6.875 kB / 461 MB, free: 33.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1808, allocations: 0 / 461 MB, free: 33.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1808, allocations: 3.281 kB / 461 MB, free: 33.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.181, allocations: 251.8 kB / 461.3 MB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.181, allocations: 0.875 kB / 461.3 MB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.1811, allocations: 20.06 kB / 461.3 MB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006582/0.1817, allocations: 324.4 kB / 461.6 MB, free: 33.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1818, allocations: 11 kB / 461.6 MB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003093/0.1848, allocations: 6.338 MB / 468 MB, free: 27.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1848, allocations: 0 / 468 MB, free: 27.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007875/0.1856, allocations: 0.6084 MB / 468.6 MB, free: 27.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.1857, allocations: 30.19 kB / 468.6 MB, free: 27.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1857, allocations: 11.22 kB / 468.6 MB, free: 27.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.1858, allocations: 10.3 kB / 468.6 MB, free: 27.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.1859, allocations: 44.2 kB / 468.7 MB, free: 27.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.1859, allocations: 6.344 kB / 468.7 MB, free: 27.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.547e-05/0.186, allocations: 167.9 kB / 468.8 MB, free: 26.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.186, allocations: 0 / 468.8 MB, free: 26.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003974/0.1864, allocations: 119.3 kB / 469 MB, free: 26.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001074/0.1865, allocations: 103.2 kB / 469.1 MB, free: 26.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005886/0.1871, allocations: 0.7364 MB / 469.8 MB, free: 26.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1871, allocations: 0 / 469.8 MB, free: 26.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005231/0.1876, allocations: 0.7259 MB / 470.5 MB, free: 25.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.1878, allocations: 32.12 kB / 470.6 MB, free: 25.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006765/0.1885, allocations: 0.5705 MB / 471.1 MB, free: 25.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.1886, allocations: 167.4 kB / 471.3 MB, free: 25.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.1886, allocations: 18.66 kB / 471.3 MB, free: 25.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1886, allocations: 0 / 471.3 MB, free: 25.29 MB / 410.7 MB Notification: Performance of Templates: time 0.006614/0.1953, allocations: 8.503 MB / 479.8 MB, free: 24.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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: 5.602870988659561]