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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 107.9 kB / 17.08 MB, free: 5.992 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.001886/0.001886, allocations: 194.7 kB / 20.02 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.1 MB / 227.9 MB, free: 4.34 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4232/0.4232, allocations: 43.52 MB / 320.8 MB, free: 9.027 MB / 254.1 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "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.002272/0.002272, allocations: 71.88 kB / 450.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3827, allocations: 57.78 MB / 0.4964 GB, free: 19.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01253/0.3953, allocations: 11.45 MB / 0.5076 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009624/0.405, allocations: 4.041 MB / 0.5115 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002769/0.4078, allocations: 68.97 kB / 0.5116 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00482/0.4126, allocations: 2.49 MB / 0.514 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005989/0.4188, allocations: 1.878 MB / 0.5159 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.4207, allocations: 0.7801 MB / 0.5166 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006962/0.4277, allocations: 4.456 MB / 0.521 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003852/0.4315, allocations: 3.351 MB / 0.5242 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002584/0.4341, allocations: 1.581 MB / 0.5258 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002944/0.4371, allocations: 2.231 MB / 0.528 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007046/0.4378, allocations: 335.9 kB / 0.5283 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.4403, allocations: 0.9753 MB / 0.5292 GB, free: 8.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002194/0.4425, allocations: 1.936 MB / 0.5311 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002701/0.4452, allocations: 2.256 MB / 0.5333 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008645/0.4539, allocations: 6.901 MB / 0.5401 GB, free: 13.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4539, allocations: 0 / 0.5401 GB, free: 13.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4539, allocations: 0 / 0.5401 GB, free: 13.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001185/0.4541, allocations: 0 / 0.5401 GB, free: 13.52 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.01031/0.4644, allocations: 4.971 MB / 0.5449 GB, free: 8.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.756e-05/0.4645, allocations: 11.89 kB / 0.5449 GB, free: 8.457 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008144/0.4726, allocations: 1.979 MB / 0.5469 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006476/0.4792, allocations: 2.494 MB / 0.5493 GB, free: 3.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003246/0.4795, allocations: 254.4 kB / 0.5495 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001163/0.4807, allocations: 327.8 kB / 0.5499 GB, free: 3.348 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02314/0.5039, allocations: 10.21 MB / 0.5598 GB, free: 8.348 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001945/0.5041, allocations: 47.58 kB / 0.5599 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005586/0.5047, allocations: 163.9 kB / 0.56 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003541/0.5083, allocations: 1.904 MB / 0.5619 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02096/0.5293, allocations: 8.138 MB / 0.5698 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05889/0.5882, allocations: 39.33 MB / 0.6082 GB, free: 5.566 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009477/0.5978, allocations: 3.286 MB / 0.6115 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001952/0.5998, allocations: 1.049 MB / 0.6125 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/0.6105, allocations: 5.923 MB / 0.6183 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.6106, allocations: 59.5 kB / 0.6183 GB, free: 10.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 5.5e-06/0.6106, allocations: 7.938 kB / 0.6183 GB, free: 10.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=160): time 0.02605/0.6367, allocations: 9.703 MB / 0.6278 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001876/0.6369, allocations: 200.9 kB / 0.628 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007681/0.6446, allocations: 4.084 MB / 0.632 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003439/0.645, allocations: 49.7 kB / 0.632 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003233/0.6483, allocations: 3.314 MB / 0.6353 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001191/0.6495, allocations: 0.6591 MB / 0.6359 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001996/0.6515, allocations: 1.227 MB / 0.6371 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.6517, allocations: 305.1 kB / 0.6374 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003206/0.6549, allocations: 1.656 MB / 0.639 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.349/1.004, allocations: 5.517 MB / 0.6444 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/1.016, allocations: 7.781 MB / 0.652 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002259/1.016, allocations: 39.91 kB / 0.652 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01568/1.032, allocations: 6.93 MB / 0.6588 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/1.032, allocations: 64 kB / 0.6589 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001972/1.032, allocations: 137 kB / 0.659 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/1.032, allocations: 180.6 kB / 0.6592 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004485/1.037, allocations: 1.435 MB / 0.6606 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002648/1.037, allocations: 271 kB / 0.6608 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004282/1.041, allocations: 300.4 kB / 0.6611 GB, free: 112 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00068/1.042, allocations: 378.5 kB / 0.6615 GB, free: 111.9 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.00357/1.045, allocations: 2.037 MB / 0.6635 GB, free: 111 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009229/1.046, allocations: 370.4 kB / 0.6638 GB, free: 111 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/1.049, allocations: 1.34 MB / 0.6651 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/1.049, allocations: 18.22 kB / 0.6651 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.049, allocations: 1.344 kB / 0.6651 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/1.049, allocations: 15.92 kB / 0.6652 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009146/1.058, allocations: 5.83 MB / 0.6709 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.211e-05/1.058, allocations: 23.48 kB / 0.6709 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/1.059, allocations: 275 kB / 0.6711 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.984e-05/1.059, allocations: 26.62 kB / 0.6712 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-05/1.059, allocations: 54.16 kB / 0.6712 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.077e-05/1.059, allocations: 34.08 kB / 0.6713 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-05/1.059, allocations: 26.56 kB / 0.6713 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003696/1.063, allocations: 3.296 MB / 0.6745 GB, free: 106 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/1.064, allocations: 0.539 MB / 0.675 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004458/1.065, allocations: 51.31 kB / 0.6751 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.066, allocations: 60.05 kB / 0.6751 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/1.066, allocations: 148.2 kB / 0.6753 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-05/1.066, allocations: 73.5 kB / 0.6753 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003424/1.07, allocations: 2.531 MB / 0.6778 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.07, allocations: 0 / 0.6778 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005646/1.075, allocations: 0.9002 MB / 0.6787 GB, free: 104.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.0004675/1.076, allocations: 196.8 kB / 0.6789 GB, free: 104.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005601/1.081, allocations: 3.839 MB / 0.6826 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/1.081, allocations: 4 kB / 0.6826 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008239/1.082, allocations: 0.743 MB / 0.6834 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/1.085, allocations: 472.7 kB / 0.6838 GB, free: 99.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/1.101, allocations: 8.892 MB / 0.6925 GB, free: 90.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002665/1.103, allocations: 3.185 MB / 0.6956 GB, free: 87.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003499/1.107, allocations: 1.812 MB / 0.6974 GB, free: 85.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/1.107, allocations: 243.4 kB / 0.6976 GB, free: 85.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.983e-06/1.107, allocations: 0 / 0.6976 GB, free: 85.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.04853/1.156, allocations: 25.33 MB / 0.7223 GB, free: 59.98 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.251250364817679]