Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002284/0.002284, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.235/0.235, allocations: 44.92 MB / 353.5 MB, free: 11.82 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 497.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3994, allocations: 64.28 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01494/0.4143, allocations: 11.49 MB / 0.56 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01112/0.4255, allocations: 4.081 MB / 0.564 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003313/0.4288, allocations: 75.62 kB / 0.5641 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005709/0.4345, allocations: 2.542 MB / 0.5666 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006105/0.4406, allocations: 1.922 MB / 0.5685 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.443, allocations: 0.7839 MB / 0.5692 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007631/0.4506, allocations: 4.422 MB / 0.5735 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004073/0.4547, allocations: 2.545 MB / 0.576 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003264/0.458, allocations: 1.589 MB / 0.5776 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00447/0.4624, allocations: 2.407 MB / 0.5799 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001151/0.4636, allocations: 332 kB / 0.5802 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.4661, allocations: 1.022 MB / 0.5812 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002411/0.4685, allocations: 1.975 MB / 0.5832 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004051/0.4726, allocations: 2.252 MB / 0.5854 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01134/0.4839, allocations: 6.905 MB / 0.5921 GB, free: 2.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.4839, allocations: 0 / 0.5921 GB, free: 2.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.26e-06/0.4839, allocations: 4 kB / 0.5921 GB, free: 2.941 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002687/0.4842, allocations: 0 / 0.5921 GB, free: 2.941 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01339/0.4976, allocations: 4.876 MB / 0.5969 GB, free: 14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.4976, allocations: 8.922 kB / 0.5969 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00787/0.5055, allocations: 1.971 MB / 0.5988 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006326/0.5118, allocations: 2.316 MB / 0.6011 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002693/0.5121, allocations: 262.4 kB / 0.6013 GB, free: 9.398 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/0.5132, allocations: 327.8 kB / 0.6016 GB, free: 9.078 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02193/0.5352, allocations: 10.21 MB / 0.6116 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.5353, allocations: 47.62 kB / 0.6116 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006087/0.5359, allocations: 159.8 kB / 0.6118 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003321/0.5393, allocations: 1.904 MB / 0.6137 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01908/0.5583, allocations: 8.142 MB / 0.6216 GB, free: 3.797 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05634/0.6147, allocations: 39.21 MB / 0.6599 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008332/0.623, allocations: 2.697 MB / 0.6625 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/0.6247, allocations: 0.9475 MB / 0.6635 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009462/0.6341, allocations: 4.574 MB / 0.6679 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.6342, allocations: 51.5 kB / 0.668 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=148): time 5.591e-06/0.6342, allocations: 0 / 0.668 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=160): time 0.0262/0.6604, allocations: 9.522 MB / 0.6773 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002213/0.6606, allocations: 196.9 kB / 0.6775 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007182/0.6678, allocations: 4.064 MB / 0.6814 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003198/0.6681, allocations: 45.7 kB / 0.6815 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003523/0.6716, allocations: 3.306 MB / 0.6847 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001039/0.6727, allocations: 0.6669 MB / 0.6854 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001793/0.6745, allocations: 1.223 MB / 0.6866 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6746, allocations: 309.1 kB / 0.6868 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002807/0.6774, allocations: 1.652 MB / 0.6885 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006448/0.6839, allocations: 5.53 MB / 0.6939 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/0.6943, allocations: 7.778 MB / 0.7015 GB, free: 12.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/0.6945, allocations: 40 kB / 0.7015 GB, free: 12.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01488/0.7093, allocations: 6.922 MB / 0.7083 GB, free: 5.715 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.7095, allocations: 64.47 kB / 0.7083 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002054/0.7097, allocations: 136 kB / 0.7084 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.7099, allocations: 180 kB / 0.7086 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005091/0.715, allocations: 1.439 MB / 0.71 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003333/0.7153, allocations: 270.9 kB / 0.7103 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004806/0.7201, allocations: 303.5 kB / 0.7106 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/0.7213, allocations: 380.2 kB / 0.7109 GB, free: 2.969 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 772 * Array equations: 3 * 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 0.005367/0.7267, allocations: 2.048 MB / 0.7129 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/0.7279, allocations: 365.6 kB / 0.7133 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003771/0.7317, allocations: 1.333 MB / 0.7146 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.214e-05/0.7317, allocations: 16 kB / 0.7146 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.7317, allocations: 4 kB / 0.7146 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/0.7317, allocations: 11.91 kB / 0.7146 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.7453, allocations: 5.794 MB / 0.7203 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.64e-05/0.7453, allocations: 20.03 kB / 0.7203 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.7465, allocations: 283.5 kB / 0.7206 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.082e-05/0.7465, allocations: 24 kB / 0.7206 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.7466, allocations: 44 kB / 0.7206 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-05/0.7466, allocations: 35.86 kB / 0.7207 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.411e-05/0.7467, allocations: 27.88 kB / 0.7207 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004977/0.7516, allocations: 3.305 MB / 0.7239 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/0.7531, allocations: 357.4 kB / 0.7243 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004907/0.7536, allocations: 51.98 kB / 0.7243 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.7549, allocations: 59.97 kB / 0.7244 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.7551, allocations: 151.3 kB / 0.7245 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.7553, allocations: 68 kB / 0.7246 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004897/0.7602, allocations: 2.511 MB / 0.727 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7602, allocations: 0 / 0.727 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006243/0.7664, allocations: 0.9023 MB / 0.7279 GB, free: 0.9883 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.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 (145): * Single equations (assignments): 142 * Array equations: 3 * 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 0.0005755/0.767, allocations: 211.1 kB / 0.7281 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3147/1.082, allocations: 3.663 MB / 0.7317 GB, free: 164 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.128e-05/1.082, allocations: 2.844 kB / 0.7317 GB, free: 164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/1.083, allocations: 0.7108 MB / 0.7324 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/1.087, allocations: 478.2 kB / 0.7328 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/1.103, allocations: 8.867 MB / 0.7415 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003135/1.106, allocations: 3.174 MB / 0.7446 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003629/1.11, allocations: 1.808 MB / 0.7464 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/1.11, allocations: 244.2 kB / 0.7466 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.472e-06/1.11, allocations: 0 / 0.7466 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.0539/1.164, allocations: 29.56 MB / 0.7755 GB, free: 128.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.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: 7.442013328894973]