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.0056/0.0056, allocations: 99.92 kB / 15.87 MB, free: 6.309 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.001743/0.001744, allocations: 195.6 kB / 16.79 MB, free: 6.238 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.608/1.608, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4365/0.4365, allocations: 43.5 MB / 313.5 MB, free: 8.234 MB / 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.001404/0.001404, allocations: 74.55 kB / 382 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1562, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.3022/0.4584, allocations: 42.88 MB / 482.7 MB, free: 24.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02421/0.4826, allocations: 9.257 MB / 492 MB, free: 18.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01043/0.4931, allocations: 184.3 kB / 492.1 MB, free: 18.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004864/0.498, allocations: 2.469 MB / 494.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005416/0.5035, allocations: 1.751 MB / 496.4 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.5052, allocations: 0.7256 MB / 497.1 MB, free: 16.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008297/0.5135, allocations: 6.158 MB / 0.4915 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005718/0.5193, allocations: 3.316 MB / 0.4947 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003619/0.523, allocations: 1.41 MB / 0.4961 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006313/0.5293, allocations: 2.371 MB / 0.4984 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001924/0.5313, allocations: 243.9 kB / 0.4986 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.5345, allocations: 0.9312 MB / 0.4995 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003092/0.5376, allocations: 1.884 MB / 0.5014 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003951/0.5416, allocations: 2.187 MB / 0.5035 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.5519, allocations: 6.559 MB / 0.5099 GB, free: 6.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5519, allocations: 0 / 0.5099 GB, free: 6.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.5519, allocations: 0 / 0.5099 GB, free: 6.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003495/0.5523, allocations: 0 / 0.5099 GB, free: 6.27 MB / 382.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.01648/0.5688, allocations: 4.843 MB / 0.5146 GB, free: 2.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.5688, allocations: 8.844 kB / 0.5146 GB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008002/0.5769, allocations: 1.948 MB / 0.5165 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006617/0.5835, allocations: 2.439 MB / 0.5189 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.5837, allocations: 250.8 kB / 0.5192 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008021/0.5846, allocations: 333.2 kB / 0.5195 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/0.6049, allocations: 10.2 MB / 0.5294 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001267/0.6051, allocations: 47.58 kB / 0.5295 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000421/0.6055, allocations: 163.9 kB / 0.5296 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002753/0.6083, allocations: 1.908 MB / 0.5315 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/0.6254, allocations: 8.142 MB / 0.5395 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05425/0.6796, allocations: 39.44 MB / 0.578 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008571/0.6883, allocations: 3.275 MB / 0.5812 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/0.6902, allocations: 1.045 MB / 0.5822 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01305/0.7033, allocations: 5.912 MB / 0.588 GB, free: 6.898 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.98e-05/0.7034, allocations: 47.5 kB / 0.588 GB, free: 6.844 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 6.052e-06/0.7034, allocations: 0 / 0.588 GB, free: 6.844 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02775/0.7312, allocations: 9.488 MB / 0.5973 GB, free: 13.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.932e-05/0.7313, allocations: 157.5 kB / 0.5974 GB, free: 13.06 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01004/0.7414, allocations: 4.067 MB / 0.6014 GB, free: 8.969 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003822/0.7418, allocations: 45.7 kB / 0.6014 GB, free: 8.918 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003306/0.7451, allocations: 3.187 MB / 0.6046 GB, free: 5.684 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001157/0.7463, allocations: 0.6327 MB / 0.6052 GB, free: 5.043 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002925/0.7493, allocations: 1.218 MB / 0.6064 GB, free: 3.812 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7494, allocations: 305.1 kB / 0.6066 GB, free: 3.512 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/0.7524, allocations: 1.652 MB / 0.6083 GB, free: 1.855 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006257/0.7586, allocations: 5.513 MB / 0.6136 GB, free: 10.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/0.7693, allocations: 7.79 MB / 0.6213 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001305/0.7695, allocations: 40 kB / 0.6213 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01418/0.7836, allocations: 6.906 MB / 0.628 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.7838, allocations: 64 kB / 0.6281 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000254/0.7841, allocations: 136 kB / 0.6282 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.7843, allocations: 188 kB / 0.6284 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004418/0.7887, allocations: 1.431 MB / 0.6298 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002051/0.7889, allocations: 267 kB / 0.6301 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004621/0.7935, allocations: 292.1 kB / 0.6303 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000773/0.7943, allocations: 379.9 kB / 0.6307 GB, free: 7.016 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.004506/0.7989, allocations: 2.044 MB / 0.6327 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000854/0.7997, allocations: 347.5 kB / 0.633 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/0.8021, allocations: 1.338 MB / 0.6343 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/0.8021, allocations: 23.94 kB / 0.6344 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.8021, allocations: 4 kB / 0.6344 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.8022, allocations: 7.969 kB / 0.6344 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.323/1.125, allocations: 5.834 MB / 0.6401 GB, free: 154.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.083e-05/1.125, allocations: 17.47 kB / 0.6401 GB, free: 154.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/1.126, allocations: 279.7 kB / 0.6403 GB, free: 154.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-05/1.126, allocations: 23.06 kB / 0.6404 GB, free: 154.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/1.127, allocations: 47.03 kB / 0.6404 GB, free: 154.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.251e-05/1.127, allocations: 36.09 kB / 0.6404 GB, free: 154.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-05/1.127, allocations: 31 kB / 0.6405 GB, free: 154.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/1.131, allocations: 3.288 MB / 0.6437 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002261/1.133, allocations: 0.5165 MB / 0.6442 GB, free: 153.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005569/1.134, allocations: 50.52 kB / 0.6442 GB, free: 153.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/1.135, allocations: 56.34 kB / 0.6443 GB, free: 153.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/1.135, allocations: 147.8 kB / 0.6444 GB, free: 153.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.135, allocations: 69.53 kB / 0.6445 GB, free: 153.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005268/1.141, allocations: 2.523 MB / 0.647 GB, free: 152.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.02e-07/1.141, allocations: 0 / 0.647 GB, free: 152.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006965/1.148, allocations: 0.9094 MB / 0.6479 GB, free: 152.5 MB / 0.4981 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.0005722/1.148, allocations: 202.2 kB / 0.648 GB, free: 152.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006869/1.155, allocations: 3.779 MB / 0.6517 GB, free: 151.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-05/1.155, allocations: 3.469 kB / 0.6517 GB, free: 151.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/1.156, allocations: 0.7425 MB / 0.6525 GB, free: 151 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004071/1.161, allocations: 458.7 kB / 0.6529 GB, free: 150.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/1.181, allocations: 10.83 MB / 0.6635 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004924/1.186, allocations: 3.182 MB / 0.6666 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005846/1.192, allocations: 1.82 MB / 0.6684 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008176/1.193, allocations: 242.6 kB / 0.6686 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.743e-06/1.193, allocations: 0 / 0.6686 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.07756/1.27, allocations: 27.68 MB / 0.6956 GB, free: 135.2 MB / 0.4981 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches