Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001289/0.001289, 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.006956/0.006956, allocations: 160.9 kB / 24.7 MB, free: 9.426 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.9299/0.9299, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2265/0.2265, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.776e-05, allocations: 2.281 kB / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.0022/0.002217, allocations: 2.364 MB / 443.2 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00086/0.003078, allocations: 0.7866 MB / 444 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.797e-05/0.003175, allocations: 7.938 kB / 444 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.003338, allocations: 59.45 kB / 444 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.003537, allocations: 107.2 kB / 444.2 MB, free: 420 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.003719, allocations: 103.8 kB / 444.3 MB, free: 316 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1572/0.161, allocations: 366.2 kB / 444.6 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.1612, allocations: 59.59 kB / 444.7 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003943/0.1616, allocations: 210.5 kB / 444.9 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.1617, allocations: 120.1 kB / 445 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.1617, allocations: 29 kB / 445 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.773e-05/0.1618, allocations: 32.84 kB / 445.1 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.173e-05/0.1618, allocations: 69.75 kB / 445.1 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.1619, allocations: 106.2 kB / 445.2 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.1622, allocations: 390.2 kB / 445.6 MB, free: 43.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1622, allocations: 0 / 445.6 MB, free: 43.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1622, allocations: 0.7188 kB / 445.6 MB, free: 43.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1622, allocations: 3.062 kB / 445.6 MB, free: 43.9 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.0006459/0.1629, allocations: 0.5582 MB / 446.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1629, allocations: 10.81 kB / 446.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.163, allocations: 41.52 kB / 446.2 MB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.1633, allocations: 211.6 kB / 446.4 MB, free: 43.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1633, allocations: 18.41 kB / 446.4 MB, free: 43.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.1634, allocations: 26.25 kB / 446.5 MB, free: 43.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.1637, allocations: 245.3 kB / 446.7 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1637, allocations: 192 / 446.7 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.1637, allocations: 14.81 kB / 446.7 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1637, allocations: 9.469 kB / 446.7 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.164, allocations: 227 kB / 447 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007676/0.1647, allocations: 0.7403 MB / 447.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.1651, allocations: 286.5 kB / 448 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.1652, allocations: 120.6 kB / 448.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1652, allocations: 2.906 kB / 448.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.1652, allocations: 41 kB / 448.1 MB, free: 42.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.112e-06/0.1652, allocations: 4 kB / 448.1 MB, free: 42.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.002/0.1672, allocations: 0.9648 MB / 449.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.1673, allocations: 54.31 kB / 449.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.1674, allocations: 230.4 kB / 449.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1674, allocations: 32.64 kB / 449.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.1675, allocations: 170.7 kB / 449.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.1675, allocations: 114.1 kB / 449.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.1676, allocations: 51.22 kB / 449.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.024e-05/0.1676, allocations: 334.9 kB / 450.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1677, allocations: 93.2 kB / 450.2 MB, free: 41.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1678, allocations: 121.1 kB / 450.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.1681, allocations: 239 kB / 450.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1681, allocations: 4 kB / 450.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007688/0.1689, allocations: 0.5357 MB / 451.1 MB, free: 41.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1689, allocations: 9.125 kB / 451.1 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1689, allocations: 0 / 451.1 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007154/0.1696, allocations: 315.5 kB / 451.4 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.035e-05/0.1697, allocations: 26 kB / 451.4 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.1728, allocations: 6.293 MB / 457.7 MB, free: 35.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.665e-05/0.1729, allocations: 32.95 kB / 457.7 MB, free: 35.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1729, allocations: 10.5 kB / 457.7 MB, free: 35.81 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 7.742e-05/0.173, allocations: 135.5 kB / 457.9 MB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.173, allocations: 32.48 kB / 457.9 MB, free: 35.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007631/0.1738, allocations: 0.5466 MB / 458.4 MB, free: 35.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1738, allocations: 4.938 kB / 458.4 MB, free: 35.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.1738, allocations: 4.312 kB / 458.4 MB, free: 35.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1738, allocations: 0 / 458.4 MB, free: 35.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.1739, allocations: 251.1 kB / 458.7 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1739, allocations: 0 / 458.7 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.968e-05/0.174, allocations: 27 kB / 458.7 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006127/0.1746, allocations: 310.3 kB / 459 MB, free: 35.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1746, allocations: 7.281 kB / 459 MB, free: 35.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/0.1775, allocations: 6.337 MB / 465.4 MB, free: 29.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1775, allocations: 0 / 465.4 MB, free: 29.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007411/0.1782, allocations: 0.6217 MB / 466 MB, free: 29.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.1782, allocations: 32.41 kB / 466 MB, free: 29.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1783, allocations: 6.938 kB / 466 MB, free: 29.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-05/0.1783, allocations: 14.48 kB / 466 MB, free: 29.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.1784, allocations: 31.91 kB / 466.1 MB, free: 29.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1784, allocations: 14.41 kB / 466.1 MB, free: 29.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.483e-05/0.1785, allocations: 167.1 kB / 466.3 MB, free: 29.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1785, allocations: 3.938 kB / 466.3 MB, free: 29.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000285/0.1788, allocations: 123.1 kB / 466.4 MB, free: 29.14 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 8.166e-05/0.1789, allocations: 100 kB / 466.5 MB, free: 29.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004943/0.1794, allocations: 0.7478 MB / 467.2 MB, free: 28.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1794, allocations: 0 / 467.2 MB, free: 28.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.1798, allocations: 0.716 MB / 467.9 MB, free: 27.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.18, allocations: 35.25 kB / 468 MB, free: 27.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005531/0.1806, allocations: 0.5697 MB / 468.5 MB, free: 27.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.783e-05/0.1807, allocations: 170.5 kB / 468.7 MB, free: 27.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.1807, allocations: 15.03 kB / 468.7 MB, free: 27.46 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1807, allocations: 0 / 468.7 MB, free: 27.46 MB / 410.7 MB Notification: Performance of Templates: time 0.004885/0.1856, allocations: 8.485 MB / 477.2 MB, free: 26.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.594200728461146]