Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.001214/0.001214, allocations: 91.62 kB / 21.43 MB, free: 3.105 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.001406/0.001406, allocations: 155.5 kB / 24.7 MB, free: 9.422 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.8426/0.8426, allocations: 177.1 MB / 205 MB, free: 5.742 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.2396/0.2396, allocations: 34.27 MB / 295.7 MB, free: 0.707 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.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.589e-05, allocations: 2.281 kB / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.1632/0.1632, allocations: 2.81 MB / 446.2 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007954/0.164, allocations: 0.7422 MB / 447 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.1642, allocations: 11.47 kB / 447 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.1643, allocations: 53.38 kB / 447 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.1644, allocations: 113.2 kB / 447.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.1646, allocations: 127.8 kB / 447.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.1649, allocations: 477.3 kB / 447.7 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1651, allocations: 109 kB / 447.8 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.1653, allocations: 279.1 kB / 448.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1654, allocations: 151 kB / 448.3 MB, free: 42.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.1654, allocations: 37.78 kB / 448.3 MB, free: 42.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.779e-05/0.1655, allocations: 41 kB / 448.3 MB, free: 42.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.391e-05/0.1655, allocations: 97.48 kB / 448.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.1656, allocations: 141.2 kB / 448.6 MB, free: 42.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.1659, allocations: 484.8 kB / 449.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1659, allocations: 0 / 449.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1659, allocations: 0 / 449.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1659, allocations: 0 / 449.1 MB, free: 41.98 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.000723/0.1666, allocations: 0.6432 MB / 449.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1666, allocations: 8.625 kB / 449.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.1668, allocations: 58.89 kB / 449.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.167, allocations: 231.3 kB / 450 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1671, allocations: 31.45 kB / 450 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.1671, allocations: 38.78 kB / 450.1 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.1674, allocations: 347 kB / 450.4 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1674, allocations: 192 / 450.4 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.1675, allocations: 15.34 kB / 450.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1675, allocations: 16.41 kB / 450.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.1678, allocations: 302.2 kB / 450.7 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.1689, allocations: 1.129 MB / 451.9 MB, free: 40.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.1691, allocations: 266.3 kB / 452.1 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.1693, allocations: 145.1 kB / 452.3 MB, free: 40.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1693, allocations: 3.031 kB / 452.3 MB, free: 40.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.1693, allocations: 33.66 kB / 452.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.252e-06/0.1693, allocations: 2.719 kB / 452.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004413/0.1698, allocations: 375.2 kB / 452.7 MB, free: 39.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.1698, allocations: 61.41 kB / 452.7 MB, free: 39.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1699, allocations: 236 kB / 452.9 MB, free: 39.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1699, allocations: 32.48 kB / 453 MB, free: 39.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.17, allocations: 214.5 kB / 453.2 MB, free: 39.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.17, allocations: 123.4 kB / 453.3 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.1701, allocations: 66.59 kB / 453.4 MB, free: 39.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.342e-05/0.1701, allocations: 338.8 kB / 453.7 MB, free: 39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.1702, allocations: 99.06 kB / 453.8 MB, free: 38.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.1704, allocations: 174.5 kB / 454 MB, free: 38.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.1706, allocations: 288.1 kB / 454.3 MB, free: 38.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1706, allocations: 0 / 454.3 MB, free: 38.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003291/0.171, allocations: 369.7 kB / 454.6 MB, free: 38.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.171, allocations: 8.875 kB / 454.6 MB, free: 38.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.171, allocations: 6.781 kB / 454.6 MB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.171, allocations: 5.625 kB / 454.6 MB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.1712, allocations: 98.84 kB / 454.7 MB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1712, allocations: 5.734 kB / 454.7 MB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1713, allocations: 36.16 kB / 454.8 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.1713, allocations: 20.8 kB / 454.8 MB, free: 38.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * 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 7.941e-05/0.1714, allocations: 156.1 kB / 454.9 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.1714, allocations: 29.56 kB / 455 MB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.1718, allocations: 322.9 kB / 455.3 MB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1718, allocations: 2.906 kB / 455.3 MB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1718, allocations: 6.125 kB / 455.3 MB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1718, allocations: 0 / 455.3 MB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.172, allocations: 288 kB / 455.6 MB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.172, allocations: 4 kB / 455.6 MB, free: 37.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.1722, allocations: 81.55 kB / 455.7 MB, free: 37.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1722, allocations: 0 / 455.7 MB, free: 37.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1722, allocations: 6.969 kB / 455.7 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1722, allocations: 7.125 kB / 455.7 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1722, allocations: 0 / 455.7 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.1726, allocations: 0.5139 MB / 456.2 MB, free: 37.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.1727, allocations: 47 kB / 456.2 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1727, allocations: 6.781 kB / 456.2 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.265e-05/0.1728, allocations: 16.36 kB / 456.3 MB, free: 37.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.1728, allocations: 28.39 kB / 456.3 MB, free: 37.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.1728, allocations: 5.75 kB / 456.3 MB, free: 37.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.024e-05/0.1729, allocations: 171.2 kB / 456.5 MB, free: 37.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1729, allocations: 0 / 456.5 MB, free: 37.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002012/0.1731, allocations: 94.56 kB / 456.6 MB, free: 37.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * 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 7.289e-05/0.1732, allocations: 101.6 kB / 456.7 MB, free: 37.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003061/0.1735, allocations: 262.6 kB / 456.9 MB, free: 37.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.1735, allocations: 0 / 456.9 MB, free: 37.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.1736, allocations: 124.2 kB / 457 MB, free: 37.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.1738, allocations: 31.95 kB / 457.1 MB, free: 37.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000727/0.1746, allocations: 0.7182 MB / 457.8 MB, free: 36.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.167e-05/0.1746, allocations: 177 kB / 458 MB, free: 36.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.1747, allocations: 30.83 kB / 458 MB, free: 36.73 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1747, allocations: 4 kB / 458 MB, free: 36.73 MB / 410.7 MB Notification: Performance of Templates: time 0.00315/0.1779, allocations: 3.973 MB / 462 MB, free: 36.31 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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: 4.6044590743258595]