Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.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.001978/0.001978, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002181/0.002181, allocations: 211.6 kB / 23.73 MB, free: 4.523 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.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2415/0.2415, allocations: 46.95 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] 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.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002605/0.002605, allocations: 63.84 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4167, allocations: 66.03 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01344/0.4301, allocations: 9.935 MB / 0.5708 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009994/0.4401, allocations: 3.879 MB / 0.5746 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/0.4428, allocations: 79.62 kB / 0.5746 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005876/0.4487, allocations: 2.425 MB / 0.577 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006293/0.455, allocations: 1.903 MB / 0.5789 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.4574, allocations: 0.776 MB / 0.5796 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008307/0.4657, allocations: 4.507 MB / 0.584 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005513/0.4712, allocations: 2.79 MB / 0.5868 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003669/0.4749, allocations: 1.581 MB / 0.5883 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005086/0.48, allocations: 2.395 MB / 0.5906 GB, free: 5.758 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001484/0.4814, allocations: 335.9 kB / 0.591 GB, free: 5.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.484, allocations: 0.8739 MB / 0.5918 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003155/0.4872, allocations: 1.963 MB / 0.5937 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004437/0.4916, allocations: 1.677 MB / 0.5954 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.5024, allocations: 6.859 MB / 0.6021 GB, free: 10.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.5024, allocations: 4 kB / 0.6021 GB, free: 10.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5024, allocations: 0 / 0.6021 GB, free: 10.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000313/0.5027, allocations: 0 / 0.6021 GB, free: 10.01 MB / 446.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.01407/0.5168, allocations: 4.841 MB / 0.6068 GB, free: 5.109 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.5168, allocations: 12.03 kB / 0.6068 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008359/0.5252, allocations: 1.967 MB / 0.6087 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006503/0.5317, allocations: 2.281 MB / 0.611 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.5319, allocations: 262.4 kB / 0.6112 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008387/0.5328, allocations: 327.8 kB / 0.6115 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01926/0.552, allocations: 10.33 MB / 0.6216 GB, free: 5.059 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/0.5522, allocations: 55.56 kB / 0.6217 GB, free: 5.004 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004539/0.5526, allocations: 159.8 kB / 0.6218 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003105/0.5557, allocations: 1.904 MB / 0.6237 GB, free: 2.941 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01806/0.5738, allocations: 8.161 MB / 0.6316 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05234/0.6261, allocations: 36.75 MB / 0.6675 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008369/0.6345, allocations: 2.725 MB / 0.6702 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.6362, allocations: 0.9553 MB / 0.6711 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008923/0.6451, allocations: 4.286 MB / 0.6753 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.419e-05/0.6452, allocations: 55.5 kB / 0.6754 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.579e-06/0.6452, allocations: 0 / 0.6754 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02361/0.6688, allocations: 9.558 MB / 0.6847 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.6689, allocations: 204.8 kB / 0.6849 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005316/0.6742, allocations: 3.788 MB / 0.6886 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002535/0.6745, allocations: 45.7 kB / 0.6886 GB, free: 15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003014/0.6775, allocations: 3.342 MB / 0.6919 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008421/0.6783, allocations: 0.6552 MB / 0.6925 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001675/0.68, allocations: 1.231 MB / 0.6937 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6801, allocations: 305.1 kB / 0.694 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002741/0.6829, allocations: 1.663 MB / 0.6957 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006171/0.6891, allocations: 5.592 MB / 0.7011 GB, free: 216 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/0.6993, allocations: 7.798 MB / 0.7087 GB, free: 6.492 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001297/0.6994, allocations: 40 kB / 0.7088 GB, free: 6.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01455/0.7139, allocations: 6.907 MB / 0.7155 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.7141, allocations: 64 kB / 0.7156 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001844/0.7142, allocations: 136 kB / 0.7157 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000194/0.7144, allocations: 184 kB / 0.7159 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004815/0.7192, allocations: 1.435 MB / 0.7173 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002318/0.7195, allocations: 267 kB / 0.7175 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005667/0.7251, allocations: 303.8 kB / 0.7178 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/0.7262, allocations: 376 kB / 0.7182 GB, free: 12.8 MB / 0.5606 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.00392/0.7301, allocations: 2.033 MB / 0.7202 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000672/0.7308, allocations: 329.8 kB / 0.7205 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006979/0.7315, allocations: 378.6 kB / 0.7208 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/0.7315, allocations: 20 kB / 0.7209 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.7316, allocations: 4.453 kB / 0.7209 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.7316, allocations: 7.984 kB / 0.7209 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009233/0.7408, allocations: 4.665 MB / 0.7254 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/0.7408, allocations: 19.94 kB / 0.7255 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.7419, allocations: 283.7 kB / 0.7257 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.774e-05/0.742, allocations: 32.03 kB / 0.7258 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.7421, allocations: 55.97 kB / 0.7258 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.508e-05/0.7421, allocations: 39.8 kB / 0.7258 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.654e-05/0.7421, allocations: 35.86 kB / 0.7259 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004813/0.7469, allocations: 3.272 MB / 0.7291 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.748, allocations: 313.7 kB / 0.7294 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003251/0.7483, allocations: 51.98 kB / 0.7294 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.7494, allocations: 59.95 kB / 0.7295 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.7496, allocations: 151.3 kB / 0.7296 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.7497, allocations: 71.98 kB / 0.7297 GB, free: 492 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.3488/1.098, allocations: 2.155 MB / 0.7318 GB, free: 151 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.098, allocations: 3.531 kB / 0.7318 GB, free: 151 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005876/1.104, allocations: 0.8805 MB / 0.7327 GB, free: 151 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.0004462/1.105, allocations: 195.1 kB / 0.7328 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006146/1.111, allocations: 3.701 MB / 0.7365 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.582e-05/1.111, allocations: 3.906 kB / 0.7365 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009847/1.112, allocations: 0.711 MB / 0.7372 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/1.115, allocations: 411.5 kB / 0.7376 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/1.128, allocations: 8.813 MB / 0.7462 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00282/1.131, allocations: 2.635 MB / 0.7487 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003533/1.134, allocations: 1.765 MB / 0.7505 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005375/1.135, allocations: 232.3 kB / 0.7507 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/1.135, allocations: 0 / 0.7507 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.05118/1.186, allocations: 27.44 MB / 0.7775 GB, free: 116 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.408029730897397]