Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008544/0.0008544, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00322/0.00322, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8709/0.8709, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2512/0.2512, allocations: 34.25 MB / 295.6 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.737e-05, allocations: 2.281 kB / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.1602/0.1603, allocations: 2.35 MB / 445.8 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000855/0.1611, allocations: 0.7912 MB / 446.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1612, allocations: 2.625 kB / 446.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.1614, allocations: 56.94 kB / 446.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.1616, allocations: 118.3 kB / 446.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.1618, allocations: 98.77 kB / 446.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.162, allocations: 364.5 kB / 447.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.1621, allocations: 68.44 kB / 447.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.1624, allocations: 202.3 kB / 447.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1625, allocations: 119.6 kB / 447.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.1626, allocations: 30.56 kB / 447.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.364e-05/0.1626, allocations: 32.53 kB / 447.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.1626, allocations: 69.3 kB / 447.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.1627, allocations: 106.5 kB / 447.8 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.1629, allocations: 388 kB / 448.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1629, allocations: 3.531 kB / 448.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1629, allocations: 0 / 448.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1629, allocations: 0 / 448.2 MB, free: 42.3 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.0006436/0.1636, allocations: 0.5597 MB / 448.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1636, allocations: 11.72 kB / 448.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.1637, allocations: 39.61 kB / 448.8 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.164, allocations: 212.8 kB / 449 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.164, allocations: 19.56 kB / 449 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.164, allocations: 25.81 kB / 449 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.1643, allocations: 245.6 kB / 449.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1643, allocations: 192 / 449.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.1643, allocations: 17.78 kB / 449.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1643, allocations: 9.812 kB / 449.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.1646, allocations: 230.2 kB / 449.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007628/0.1654, allocations: 0.7387 MB / 450.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.1657, allocations: 284.8 kB / 450.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1658, allocations: 123.2 kB / 450.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.1658, allocations: 2.844 kB / 450.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.1659, allocations: 40.41 kB / 450.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.182e-06/0.1659, allocations: 3.938 kB / 450.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.002009/0.1679, allocations: 0.9661 MB / 451.7 MB, free: 40.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.1679, allocations: 60.5 kB / 451.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.168, allocations: 224.6 kB / 452 MB, free: 40.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.168, allocations: 32.67 kB / 452 MB, free: 40.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.1681, allocations: 169.7 kB / 452.2 MB, free: 40.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.1681, allocations: 109.2 kB / 452.3 MB, free: 40 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.1682, allocations: 49.64 kB / 452.3 MB, free: 39.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.139e-05/0.1682, allocations: 335.2 kB / 452.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.1684, allocations: 96.06 kB / 452.7 MB, free: 39.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1685, allocations: 129.1 kB / 452.9 MB, free: 39.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.1687, allocations: 235.5 kB / 453.1 MB, free: 39.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1687, allocations: 0 / 453.1 MB, free: 39.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008098/0.1696, allocations: 0.5411 MB / 453.6 MB, free: 39.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1696, allocations: 9.188 kB / 453.6 MB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.1696, allocations: 2.844 kB / 453.6 MB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007263/0.1703, allocations: 318 kB / 454 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.1704, allocations: 26.33 kB / 454 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/0.1738, allocations: 6.28 MB / 460.3 MB, free: 33.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.515e-05/0.1738, allocations: 27.66 kB / 460.3 MB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.1739, allocations: 9.812 kB / 460.3 MB, free: 33.54 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.000103/0.174, allocations: 140.5 kB / 460.4 MB, free: 33.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.174, allocations: 31.5 kB / 460.5 MB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008163/0.1748, allocations: 0.5435 MB / 461 MB, free: 33.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1748, allocations: 2.969 kB / 461 MB, free: 33.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.41e-07/0.1748, allocations: 0 / 461 MB, free: 33.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1748, allocations: 6.375 kB / 461 MB, free: 33.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.175, allocations: 259.8 kB / 461.3 MB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.175, allocations: 0 / 461.3 MB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.093e-05/0.1751, allocations: 28.55 kB / 461.3 MB, free: 32.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006266/0.1757, allocations: 309.6 kB / 461.6 MB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1757, allocations: 11.16 kB / 461.6 MB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003064/0.1788, allocations: 6.339 MB / 468 MB, free: 27.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1788, allocations: 0 / 468 MB, free: 27.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000778/0.1796, allocations: 0.6167 MB / 468.6 MB, free: 26.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.1796, allocations: 29.16 kB / 468.6 MB, free: 26.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.1796, allocations: 7.938 kB / 468.6 MB, free: 26.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/0.1797, allocations: 17.58 kB / 468.6 MB, free: 26.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.1798, allocations: 33.59 kB / 468.7 MB, free: 26.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1798, allocations: 13.45 kB / 468.7 MB, free: 26.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.21e-05/0.1798, allocations: 166.5 kB / 468.8 MB, free: 26.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1798, allocations: 0 / 468.8 MB, free: 26.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003253/0.1802, allocations: 122.5 kB / 469 MB, free: 26.79 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 9.197e-05/0.1803, allocations: 96.3 kB / 469 MB, free: 26.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005312/0.1808, allocations: 0.7395 MB / 469.8 MB, free: 26.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1808, allocations: 0 / 469.8 MB, free: 26.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005/0.1813, allocations: 0.7314 MB / 470.5 MB, free: 25.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.1815, allocations: 30.95 kB / 470.5 MB, free: 25.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006225/0.1821, allocations: 0.5659 MB / 471.1 MB, free: 25.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.584e-05/0.1822, allocations: 171.2 kB / 471.3 MB, free: 25.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.1823, allocations: 14.91 kB / 471.3 MB, free: 25.11 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1823, allocations: 0 / 471.3 MB, free: 25.11 MB / 410.7 MB Notification: Performance of Templates: time 0.005675/0.1879, allocations: 8.484 MB / 479.8 MB, free: 24.43 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.613216759636998]