Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001574/0.001574, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001619/0.001619, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2224/0.2224, allocations: 46.89 MB / 361.1 MB, free: 4.609 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 83.86 kB / 0.4968 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3003, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01147/0.3118, allocations: 9.594 MB / 0.5706 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006408/0.3182, allocations: 2.962 MB / 0.5735 GB, free: 8.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.3192, allocations: 47.94 kB / 0.5735 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003774/0.323, allocations: 2.025 MB / 0.5755 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002685/0.3257, allocations: 1.133 MB / 0.5766 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007051/0.3264, allocations: 291.4 kB / 0.5769 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003234/0.3296, allocations: 2.329 MB / 0.5791 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/0.3317, allocations: 1.614 MB / 0.5807 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.3328, allocations: 0.8839 MB / 0.5816 GB, free: 28 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.3344, allocations: 1.246 MB / 0.5828 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003103/0.3347, allocations: 196 kB / 0.583 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.3359, allocations: 0.7255 MB / 0.5837 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.3371, allocations: 1.141 MB / 0.5848 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.3384, allocations: 1.308 MB / 0.5861 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004892/0.3433, allocations: 4.33 MB / 0.5903 GB, free: 7.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3433, allocations: 0 / 0.5903 GB, free: 7.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3433, allocations: 0 / 0.5903 GB, free: 7.051 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.123e-05/0.3433, allocations: 0 / 0.5903 GB, free: 7.051 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005027/0.3484, allocations: 2.945 MB / 0.5932 GB, free: 4.043 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3484, allocations: 11.97 kB / 0.5932 GB, free: 4.031 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005466/0.3539, allocations: 1.578 MB / 0.5947 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/0.3571, allocations: 1.336 MB / 0.596 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.3572, allocations: 144 kB / 0.5962 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003661/0.3576, allocations: 191.8 kB / 0.5964 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009923/0.3675, allocations: 6.246 MB / 0.6025 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.695e-05/0.3675, allocations: 15.88 kB / 0.6025 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002422/0.3678, allocations: 87.91 kB / 0.6026 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002189/0.37, allocations: 1.344 MB / 0.6039 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009688/0.3797, allocations: 5.334 MB / 0.6091 GB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02877/0.4084, allocations: 20.04 MB / 0.6287 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00452/0.4129, allocations: 2.005 MB / 0.6306 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009358/0.4139, allocations: 0.6407 MB / 0.6312 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006799/0.4207, allocations: 3.492 MB / 0.6347 GB, free: 8.379 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.4207, allocations: 39 kB / 0.6347 GB, free: 8.332 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.667e-06/0.4207, allocations: 0 / 0.6347 GB, free: 8.332 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005582/0.4263, allocations: 1.986 MB / 0.6366 GB, free: 6.336 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.4263, allocations: 55.84 kB / 0.6367 GB, free: 6.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002715/0.4291, allocations: 1.949 MB / 0.6386 GB, free: 4.316 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/0.4291, allocations: 33.7 kB / 0.6386 GB, free: 4.277 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.4305, allocations: 1.907 MB / 0.6405 GB, free: 2.348 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002872/0.4308, allocations: 329.5 kB / 0.6408 GB, free: 2.023 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007606/0.4315, allocations: 0.6195 MB / 0.6414 GB, free: 1.395 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.4317, allocations: 357.9 kB / 0.6417 GB, free: 1.039 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.433, allocations: 0.8842 MB / 0.6426 GB, free: 156 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00289/0.4359, allocations: 2.751 MB / 0.6453 GB, free: 12.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004661/0.4405, allocations: 3.977 MB / 0.6492 GB, free: 7.574 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-05/0.4406, allocations: 16 kB / 0.6492 GB, free: 7.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005535/0.4461, allocations: 3.535 MB / 0.6526 GB, free: 4.016 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/0.4462, allocations: 32 kB / 0.6527 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-05/0.4462, allocations: 64 kB / 0.6527 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.143e-05/0.4463, allocations: 91.94 kB / 0.6528 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/0.4482, allocations: 0.655 MB / 0.6535 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001176/0.4483, allocations: 127.5 kB / 0.6536 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.4503, allocations: 433.1 kB / 0.654 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000287/0.4506, allocations: 188 kB / 0.6542 GB, free: 2.441 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 5 * 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.002173/0.4527, allocations: 1.35 MB / 0.6555 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.453, allocations: 166.9 kB / 0.6557 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.4534, allocations: 192.9 kB / 0.6558 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.4534, allocations: 7.922 kB / 0.6558 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4534, allocations: 4 kB / 0.6558 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/0.4538, allocations: 231.8 kB / 0.6561 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.4539, allocations: 11.94 kB / 0.6561 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.4543, allocations: 19.97 kB / 0.6561 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.4544, allocations: 28.41 kB / 0.6561 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001454/0.4558, allocations: 0.9487 MB / 0.6571 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001343/0.4572, allocations: 1.152 MB / 0.6582 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000464/0.4576, allocations: 371.5 kB / 0.6585 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001585/0.4592, allocations: 1.202 MB / 0.6597 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of Backend: time 2.5e-07/0.4592, allocations: 0 / 0.6597 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003377/0.4626, allocations: 1.72 MB / 0.6614 GB, free: 11 MB / 0.4981 GB Notification: Performance of SimCode: time 0.008532/0.4711, allocations: 5.399 MB / 0.6667 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of Templates: time 0.04078/0.5119, allocations: 20.69 MB / 0.6869 GB, free: 0.8867 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.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: 5.4866442498750985]