Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 107.1 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 189.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2399/0.2399, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 63.91 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1474, allocations: 57.78 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01403/0.1615, allocations: 11.45 MB / 0.4991 GB, free: 304 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.1717, allocations: 4.039 MB / 0.503 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.1743, allocations: 63.81 kB / 0.5031 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005333/0.1797, allocations: 2.507 MB / 0.5055 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006758/0.1865, allocations: 1.918 MB / 0.5074 GB, free: 7.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.1888, allocations: 0.7878 MB / 0.5082 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009069/0.1979, allocations: 4.457 MB / 0.5125 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006042/0.204, allocations: 3.339 MB / 0.5158 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003795/0.2078, allocations: 1.589 MB / 0.5173 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004887/0.2127, allocations: 2.223 MB / 0.5195 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001698/0.2144, allocations: 332 kB / 0.5198 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.2176, allocations: 0.9792 MB / 0.5208 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003323/0.221, allocations: 1.952 MB / 0.5227 GB, free: 8.004 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005631/0.2266, allocations: 2.256 MB / 0.5249 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3587/0.5854, allocations: 6.875 MB / 0.5316 GB, free: 16.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.5854, allocations: 0 / 0.5316 GB, free: 16.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.5854, allocations: 0.7188 kB / 0.5316 GB, free: 16.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003157/0.5858, allocations: 0 / 0.5316 GB, free: 16.17 MB / 414.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.0145/0.6003, allocations: 4.833 MB / 0.5363 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/0.6003, allocations: 12.67 kB / 0.5363 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008793/0.6091, allocations: 1.944 MB / 0.5382 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006864/0.616, allocations: 2.481 MB / 0.5407 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/0.6164, allocations: 254.5 kB / 0.5409 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001153/0.6176, allocations: 334 kB / 0.5412 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02644/0.644, allocations: 10.2 MB / 0.5512 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000186/0.6443, allocations: 52.33 kB / 0.5512 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005807/0.6449, allocations: 164.9 kB / 0.5514 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003381/0.6483, allocations: 1.902 MB / 0.5532 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/0.667, allocations: 8.144 MB / 0.5612 GB, free: 8.359 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05324/0.7203, allocations: 39.27 MB / 0.5995 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008627/0.729, allocations: 3.276 MB / 0.6027 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/0.7308, allocations: 1.054 MB / 0.6038 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/0.7415, allocations: 5.915 MB / 0.6095 GB, free: 9.652 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.587e-05/0.7416, allocations: 51.97 kB / 0.6096 GB, free: 9.598 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 5.3e-06/0.7416, allocations: 0 / 0.6096 GB, free: 9.598 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02437/0.766, allocations: 9.479 MB / 0.6188 GB, free: 44 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.7661, allocations: 196.6 kB / 0.619 GB, free: 15.81 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00548/0.7716, allocations: 4.074 MB / 0.623 GB, free: 11.71 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001941/0.7718, allocations: 49.7 kB / 0.6231 GB, free: 11.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002186/0.774, allocations: 3.177 MB / 0.6262 GB, free: 8.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006685/0.7747, allocations: 0.642 MB / 0.6268 GB, free: 7.867 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001392/0.7761, allocations: 1.214 MB / 0.628 GB, free: 6.641 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.7763, allocations: 305.1 kB / 0.6283 GB, free: 6.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002507/0.7788, allocations: 1.652 MB / 0.6299 GB, free: 4.684 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00631/0.7851, allocations: 5.53 MB / 0.6353 GB, free: 13.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/0.796, allocations: 7.78 MB / 0.6429 GB, free: 4.129 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001558/0.7962, allocations: 40 kB / 0.6429 GB, free: 4.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01583/0.812, allocations: 6.906 MB / 0.6497 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/0.8122, allocations: 64 kB / 0.6497 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002873/0.8125, allocations: 141.4 kB / 0.6499 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002552/0.8128, allocations: 180 kB / 0.65 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005153/0.818, allocations: 1.435 MB / 0.6514 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003767/0.8183, allocations: 269.8 kB / 0.6517 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005268/0.8236, allocations: 299.7 kB / 0.652 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/0.8247, allocations: 380 kB / 0.6523 GB, free: 10.55 MB / 0.4981 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.004501/0.8293, allocations: 2.044 MB / 0.6543 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/0.8303, allocations: 347.5 kB / 0.6547 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/0.8335, allocations: 1.337 MB / 0.656 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.391e-05/0.8335, allocations: 16 kB / 0.656 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.8336, allocations: 4 kB / 0.656 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.8336, allocations: 7.969 kB / 0.656 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.8487, allocations: 5.823 MB / 0.6617 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.577e-05/0.8488, allocations: 17.64 kB / 0.6617 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.8499, allocations: 284.5 kB / 0.662 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-05/0.8499, allocations: 28 kB / 0.662 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-05/0.85, allocations: 51.11 kB / 0.662 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.628e-05/0.8501, allocations: 35.86 kB / 0.6621 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.079e-05/0.8501, allocations: 27.88 kB / 0.6621 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004339/0.8544, allocations: 3.273 MB / 0.6653 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.8558, allocations: 0.5276 MB / 0.6658 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/0.8562, allocations: 48.08 kB / 0.6659 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.8574, allocations: 59.97 kB / 0.6659 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.8576, allocations: 151.4 kB / 0.6661 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.861e-05/0.8577, allocations: 70.33 kB / 0.6661 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004143/0.8618, allocations: 2.529 MB / 0.6686 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.1e-07/0.8618, allocations: 0 / 0.6686 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005504/0.8673, allocations: 0.9101 MB / 0.6695 GB, free: 8.398 MB / 0.5137 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.0004656/0.8678, allocations: 200.8 kB / 0.6697 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006357/0.8742, allocations: 3.823 MB / 0.6734 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/0.8742, allocations: 4 kB / 0.6734 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.8753, allocations: 0.7502 MB / 0.6742 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/0.8783, allocations: 487 kB / 0.6746 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/0.8934, allocations: 8.749 MB / 0.6832 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003445/0.8968, allocations: 3.181 MB / 0.6863 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004238/0.9011, allocations: 1.817 MB / 0.688 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/0.9016, allocations: 239.4 kB / 0.6883 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of SimCode: time 1.783e-06/0.9016, allocations: 4 kB / 0.6883 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.05503/0.9567, allocations: 25.33 MB / 0.713 GB, free: 11.71 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches