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.001391/0.001391, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 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.001436/0.001436, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.581/1.581, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2493/0.2493, allocations: 46.93 MB / 357.1 MB, free: 10.3 MB / 286.1 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 0.002382/0.002382, allocations: 67.89 kB / 0.4914 GB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1597, allocations: 65.98 MB / 0.5558 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.005106/0.1648, allocations: 2.514 MB / 0.5583 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.1669, allocations: 0.8295 MB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003133/0.1672, allocations: 7.938 kB / 0.5591 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.1675, allocations: 55.5 kB / 0.5592 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005324/0.1681, allocations: 111.2 kB / 0.5593 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.1685, allocations: 99.81 kB / 0.5594 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005865/0.1691, allocations: 366.7 kB / 0.5597 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.1693, allocations: 64.72 kB / 0.5598 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004223/0.1697, allocations: 147.5 kB / 0.5599 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.17, allocations: 159.2 kB / 0.5601 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.883e-05/0.1701, allocations: 36 kB / 0.5601 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1702, allocations: 36 kB / 0.5601 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.1703, allocations: 63.75 kB / 0.5602 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.1704, allocations: 159.2 kB / 0.5604 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.171, allocations: 370.4 kB / 0.5607 GB, free: 352 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.171, allocations: 0 / 0.5607 GB, free: 352 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.171, allocations: 4 kB / 0.5607 GB, free: 348 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.171, allocations: 3.984 kB / 0.5607 GB, free: 344 kB / 414.1 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.001399/0.1724, allocations: 0.635 MB / 0.5613 GB, free: 15.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1724, allocations: 12.03 kB / 0.5613 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.1726, allocations: 40.7 kB / 0.5614 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.173, allocations: 274.8 kB / 0.5616 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.1731, allocations: 16.94 kB / 0.5617 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.1731, allocations: 28.31 kB / 0.5617 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005958/0.1737, allocations: 249.2 kB / 0.5619 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1737, allocations: 0 / 0.5619 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.1738, allocations: 8 kB / 0.5619 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.1738, allocations: 12 kB / 0.5619 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005899/0.1744, allocations: 234.1 kB / 0.5622 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.1761, allocations: 0.8794 MB / 0.563 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/0.1767, allocations: 286.6 kB / 0.5633 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.177, allocations: 120.8 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.177, allocations: 4 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.577e-05/0.1771, allocations: 46.48 kB / 0.5635 GB, free: 13.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.1771, allocations: 0 / 0.5635 GB, free: 13.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.005017/0.1821, allocations: 1.258 MB / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.1822, allocations: 55.41 kB / 0.5647 GB, free: 11.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.1825, allocations: 233 kB / 0.565 GB, free: 11.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.1825, allocations: 29.7 kB / 0.565 GB, free: 11.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.1827, allocations: 173.3 kB / 0.5652 GB, free: 11.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.1828, allocations: 107.1 kB / 0.5653 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.1829, allocations: 45.7 kB / 0.5653 GB, free: 11.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1831, allocations: 338.8 kB / 0.5656 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.1833, allocations: 91.95 kB / 0.5657 GB, free: 10.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.1836, allocations: 125.8 kB / 0.5658 GB, free: 10.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/0.1841, allocations: 239.2 kB / 0.5661 GB, free: 10.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.1841, allocations: 8 kB / 0.5661 GB, free: 10.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002025/0.1861, allocations: 0.5372 MB / 0.5666 GB, free: 9.953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1862, allocations: 8 kB / 0.5666 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1862, allocations: 0 / 0.5666 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001831/0.188, allocations: 311.1 kB / 0.5669 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.1882, allocations: 39.89 kB / 0.5669 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008977/0.1972, allocations: 6.84 MB / 0.5736 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.1974, allocations: 31.81 kB / 0.5737 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.1975, allocations: 4 kB / 0.5737 GB, free: 2.148 MB / 430.1 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.0002082/0.1977, allocations: 149.8 kB / 0.5738 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.938e-05/0.1978, allocations: 28 kB / 0.5738 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.1997, allocations: 0.5473 MB / 0.5744 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1997, allocations: 0 / 0.5744 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.1997, allocations: 7.938 kB / 0.5744 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.1997, allocations: 7.984 kB / 0.5744 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.2002, allocations: 361.3 kB / 0.5747 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2002, allocations: 0 / 0.5747 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.2003, allocations: 15.98 kB / 0.5747 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001675/0.202, allocations: 315.1 kB / 0.575 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.202, allocations: 8 kB / 0.575 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009278/0.2113, allocations: 6.898 MB / 0.5818 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.2113, allocations: 7.969 kB / 0.5818 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.2133, allocations: 0.6118 MB / 0.5824 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.2134, allocations: 108.8 kB / 0.5825 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.2135, allocations: 4.25 kB / 0.5825 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.2137, allocations: 19.98 kB / 0.5825 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.2138, allocations: 31.89 kB / 0.5825 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.2139, allocations: 8 kB / 0.5826 GB, free: 8.344 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002051/0.2141, allocations: 177.9 kB / 0.5827 GB, free: 8.172 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2141, allocations: 0 / 0.5827 GB, free: 8.172 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000633/0.2147, allocations: 123.9 kB / 0.5828 GB, free: 8.051 MB / 446.1 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.0001689/0.2149, allocations: 95.25 kB / 0.5829 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.2162, allocations: 0.7486 MB / 0.5837 GB, free: 7.148 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2162, allocations: 0 / 0.5837 GB, free: 7.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.2176, allocations: 0.7289 MB / 0.5844 GB, free: 6.367 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.218, allocations: 21.94 kB / 0.5844 GB, free: 6.344 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.2193, allocations: 0.5638 MB / 0.5849 GB, free: 5.754 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.2198, allocations: 0.7795 MB / 0.5857 GB, free: 4.945 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.684e-05/0.2198, allocations: 13.89 kB / 0.5857 GB, free: 4.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.2199, allocations: 11.44 kB / 0.5857 GB, free: 4.918 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2199, allocations: 0 / 0.5857 GB, free: 4.918 MB / 446.1 MB Notification: Performance of Templates: time 0.3167/0.5366, allocations: 8.231 MB / 0.5938 GB, free: 34.51 MB / 446.1 MB " [Timeout remaining time 659] 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: 6.045644368976355]