Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.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.001714/0.001714, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.002355/0.002355, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.457/1.457, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2213/0.2213, allocations: 46.9 MB / 361.1 MB, free: 4.629 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.CutForce2,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.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,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.CutForce2") [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.0023/0.0023, allocations: 83.88 kB / 0.4968 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2833, allocations: 65.99 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01188/0.2952, allocations: 9.593 MB / 0.5706 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006221/0.3014, allocations: 2.966 MB / 0.5735 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008862/0.3023, allocations: 47.94 kB / 0.5735 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003844/0.3061, allocations: 2.029 MB / 0.5755 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.3087, allocations: 1.129 MB / 0.5766 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006684/0.3094, allocations: 287.4 kB / 0.5769 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003158/0.3125, allocations: 2.326 MB / 0.5791 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002602/0.3151, allocations: 1.621 MB / 0.5807 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.3165, allocations: 0.8761 MB / 0.5816 GB, free: 56 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.3185, allocations: 1.25 MB / 0.5828 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003516/0.3188, allocations: 196 kB / 0.583 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.3201, allocations: 0.7255 MB / 0.5837 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.3212, allocations: 1.141 MB / 0.5848 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.3226, allocations: 1.305 MB / 0.5861 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004831/0.3274, allocations: 4.33 MB / 0.5903 GB, free: 7.078 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3274, allocations: 0 / 0.5903 GB, free: 7.078 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3274, allocations: 0 / 0.5903 GB, free: 7.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.307e-05/0.3275, allocations: 0 / 0.5903 GB, free: 7.078 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.0053/0.3328, allocations: 2.953 MB / 0.5932 GB, free: 4.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3328, allocations: 8.031 kB / 0.5932 GB, free: 4.055 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005436/0.3383, allocations: 1.574 MB / 0.5947 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/0.3415, allocations: 1.332 MB / 0.596 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.3417, allocations: 148 kB / 0.5962 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000428/0.3421, allocations: 191.8 kB / 0.5964 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.3528, allocations: 6.25 MB / 0.6025 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.622e-05/0.3528, allocations: 15.81 kB / 0.6025 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002408/0.3531, allocations: 87.91 kB / 0.6026 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002188/0.3552, allocations: 1.348 MB / 0.6039 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009874/0.3651, allocations: 5.341 MB / 0.6091 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03001/0.3951, allocations: 20.03 MB / 0.6287 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004482/0.3996, allocations: 2.005 MB / 0.6306 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009704/0.4006, allocations: 0.6407 MB / 0.6312 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006837/0.4074, allocations: 3.496 MB / 0.6347 GB, free: 8.398 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.4075, allocations: 39 kB / 0.6347 GB, free: 8.352 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.667e-06/0.4075, allocations: 0 / 0.6347 GB, free: 8.352 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005644/0.4131, allocations: 1.986 MB / 0.6366 GB, free: 6.355 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.4131, allocations: 55.84 kB / 0.6367 GB, free: 6.289 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/0.4161, allocations: 1.946 MB / 0.6386 GB, free: 4.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.222e-05/0.4162, allocations: 33.7 kB / 0.6386 GB, free: 4.301 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001483/0.4176, allocations: 1.903 MB / 0.6405 GB, free: 2.375 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/0.418, allocations: 329.5 kB / 0.6408 GB, free: 2.051 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008104/0.4188, allocations: 0.6234 MB / 0.6414 GB, free: 1.418 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002687/0.419, allocations: 357.9 kB / 0.6417 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.4204, allocations: 0.8881 MB / 0.6426 GB, free: 176 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/0.4234, allocations: 2.748 MB / 0.6453 GB, free: 12.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004786/0.4282, allocations: 3.974 MB / 0.6492 GB, free: 7.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.634e-05/0.4282, allocations: 16 kB / 0.6492 GB, free: 7.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005557/0.4338, allocations: 3.538 MB / 0.6526 GB, free: 4.035 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.4338, allocations: 35.94 kB / 0.6527 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.018e-05/0.4339, allocations: 67.98 kB / 0.6527 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.787e-05/0.434, allocations: 88.75 kB / 0.6528 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.4359, allocations: 0.6511 MB / 0.6535 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001389/0.436, allocations: 135.4 kB / 0.6536 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.4378, allocations: 428.8 kB / 0.654 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/0.438, allocations: 188 kB / 0.6542 GB, free: 2.457 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.001977/0.44, allocations: 1.342 MB / 0.6555 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.4402, allocations: 166.9 kB / 0.6556 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003418/0.4406, allocations: 196.9 kB / 0.6558 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.4406, allocations: 3.984 kB / 0.6558 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4406, allocations: 3.938 kB / 0.6558 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/0.4409, allocations: 231.8 kB / 0.6561 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.4411, allocations: 11.94 kB / 0.6561 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.4415, allocations: 15.98 kB / 0.6561 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.4416, allocations: 32.39 kB / 0.6561 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001523/0.4431, allocations: 0.9488 MB / 0.657 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001427/0.4445, allocations: 1.155 MB / 0.6582 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005001/0.445, allocations: 367.5 kB / 0.6585 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001775/0.4468, allocations: 1.199 MB / 0.6597 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of Backend: time 2.51e-07/0.4468, allocations: 0 / 0.6597 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003428/0.4502, allocations: 1.722 MB / 0.6614 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of SimCode: time 0.008565/0.4588, allocations: 5.408 MB / 0.6667 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.0417/0.5005, allocations: 20.69 MB / 0.6869 GB, free: 0.9023 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.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.473255909979343]