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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.0.0_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.00115/0.001149, allocations: 110.7 kB / 18.46 MB, free: 4.613 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.001014/0.001014, allocations: 183.1 kB / 19.38 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2136/0.2136, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3828, allocations: 60.81 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01181/0.3947, allocations: 11.41 MB / 0.5307 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.4054, allocations: 4.031 MB / 0.5347 GB, free: 8.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003031/0.4084, allocations: 69.38 kB / 0.5347 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005396/0.4138, allocations: 2.49 MB / 0.5372 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005672/0.4196, allocations: 1.914 MB / 0.539 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.4215, allocations: 0.7826 MB / 0.5398 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006976/0.4285, allocations: 4.422 MB / 0.5441 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005017/0.4335, allocations: 3.337 MB / 0.5474 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003008/0.4366, allocations: 1.561 MB / 0.5489 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003531/0.4401, allocations: 2.223 MB / 0.5511 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.4412, allocations: 332 kB / 0.5514 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/0.4446, allocations: 0.987 MB / 0.5523 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003065/0.4477, allocations: 1.944 MB / 0.5542 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004513/0.4522, allocations: 2.241 MB / 0.5564 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009098/0.4613, allocations: 6.876 MB / 0.5631 GB, free: 15.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.4613, allocations: 4 kB / 0.5631 GB, free: 15.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4613, allocations: 3.938 kB / 0.5631 GB, free: 15.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002608/0.4616, allocations: 4 kB / 0.5632 GB, free: 15.29 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.01316/0.4748, allocations: 4.819 MB / 0.5679 GB, free: 10.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.364e-05/0.4749, allocations: 8.031 kB / 0.5679 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008185/0.4831, allocations: 1.949 MB / 0.5698 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006447/0.4895, allocations: 2.38 MB / 0.5721 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003111/0.4899, allocations: 254.4 kB / 0.5723 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/0.4914, allocations: 327.8 kB / 0.5726 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01977/0.5112, allocations: 10.2 MB / 0.5826 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001687/0.5114, allocations: 51.52 kB / 0.5827 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009107/0.5123, allocations: 163.8 kB / 0.5828 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003005/0.5154, allocations: 1.908 MB / 0.5847 GB, free: 8.309 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01697/0.5323, allocations: 8.138 MB / 0.5926 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05278/0.5852, allocations: 39.27 MB / 0.631 GB, free: 7.691 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008427/0.5936, allocations: 3.273 MB / 0.6342 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.5953, allocations: 1.045 MB / 0.6352 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00912/0.6044, allocations: 5.902 MB / 0.641 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.6045, allocations: 59.44 kB / 0.641 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=148): time 4.057e-06/0.6045, allocations: 0 / 0.641 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=160): time 0.02498/0.6295, allocations: 9.437 MB / 0.6502 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/0.6296, allocations: 208.9 kB / 0.6504 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007087/0.6367, allocations: 4.039 MB / 0.6544 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002886/0.6371, allocations: 49.7 kB / 0.6544 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00283/0.6399, allocations: 3.183 MB / 0.6575 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007542/0.6407, allocations: 0.6327 MB / 0.6581 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002347/0.643, allocations: 1.218 MB / 0.6593 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6432, allocations: 309.1 kB / 0.6596 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002954/0.6461, allocations: 1.648 MB / 0.6612 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005761/0.6519, allocations: 5.522 MB / 0.6666 GB, free: 420 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009079/0.661, allocations: 7.782 MB / 0.6742 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001379/0.6612, allocations: 36 kB / 0.6743 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01285/0.674, allocations: 6.912 MB / 0.681 GB, free: 15.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.6742, allocations: 64 kB / 0.6811 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002445/0.6745, allocations: 140 kB / 0.6812 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/0.6747, allocations: 180 kB / 0.6814 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004579/0.6793, allocations: 1.432 MB / 0.6828 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002805/0.6796, allocations: 274.9 kB / 0.683 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004535/0.6841, allocations: 292.1 kB / 0.6833 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007332/0.6849, allocations: 387.8 kB / 0.6837 GB, free: 13.01 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.003659/0.6885, allocations: 2.025 MB / 0.6857 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006619/0.6892, allocations: 347.5 kB / 0.686 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/0.6917, allocations: 1.344 MB / 0.6873 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.6917, allocations: 11.92 kB / 0.6873 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.6918, allocations: 0 / 0.6873 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008973/0.6927, allocations: 384.5 kB / 0.6877 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005489/0.6932, allocations: 31.94 kB / 0.6877 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.6944, allocations: 59.88 kB / 0.6878 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.6946, allocations: 72.89 kB / 0.6878 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00319/0.6978, allocations: 1.967 MB / 0.6898 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004117/0.7019, allocations: 3.169 MB / 0.6929 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009771/0.7029, allocations: 0.73 MB / 0.6936 GB, free: 2.797 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005232/0.7082, allocations: 2.507 MB / 0.696 GB, free: 284 kB / 0.545 GB Notification: Performance of Backend: time 1.262e-06/0.7082, allocations: 0 / 0.696 GB, free: 284 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008484/0.7167, allocations: 3.452 MB / 0.6994 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01528/0.732, allocations: 8.767 MB / 0.708 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of Templates: time 0.348/1.08, allocations: 35.49 MB / 0.7426 GB, free: 179.2 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches