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.0017/0.0017, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001949/0.001949, allocations: 216.8 kB / 24.47 MB, free: 4.359 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.602/1.602, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2533/0.2533, allocations: 46.89 MB / 361.1 MB, free: 4.73 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.002374/0.002374, allocations: 79.88 kB / 0.4967 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3821, allocations: 65.99 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01167/0.3938, allocations: 9.597 MB / 0.5706 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006722/0.4005, allocations: 2.962 MB / 0.5734 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.4022, allocations: 47.94 kB / 0.5735 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004534/0.4067, allocations: 2.033 MB / 0.5755 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.4099, allocations: 1.121 MB / 0.5766 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008264/0.4107, allocations: 291.4 kB / 0.5769 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003629/0.4144, allocations: 2.337 MB / 0.5791 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002193/0.4165, allocations: 1.618 MB / 0.5807 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.4178, allocations: 0.8839 MB / 0.5816 GB, free: 28 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/0.4196, allocations: 1.25 MB / 0.5828 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003654/0.4199, allocations: 192 kB / 0.583 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.4213, allocations: 0.7294 MB / 0.5837 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.4225, allocations: 1.137 MB / 0.5848 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001577/0.424, allocations: 1.305 MB / 0.5861 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005592/0.4296, allocations: 4.338 MB / 0.5903 GB, free: 7.047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4296, allocations: 0 / 0.5903 GB, free: 7.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4296, allocations: 0 / 0.5903 GB, free: 7.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.675e-05/0.4297, allocations: 0 / 0.5903 GB, free: 7.047 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.00653/0.4363, allocations: 2.938 MB / 0.5932 GB, free: 4.047 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.4363, allocations: 8.031 kB / 0.5932 GB, free: 4.039 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005666/0.442, allocations: 1.578 MB / 0.5947 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00351/0.4455, allocations: 1.34 MB / 0.596 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.4456, allocations: 140 kB / 0.5962 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004675/0.4461, allocations: 191.8 kB / 0.5964 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.4576, allocations: 6.246 MB / 0.6025 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.586e-05/0.4576, allocations: 19.86 kB / 0.6025 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002666/0.4579, allocations: 87.91 kB / 0.6026 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/0.4601, allocations: 1.344 MB / 0.6039 GB, free: 8.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/0.4706, allocations: 5.33 MB / 0.6091 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02862/0.4992, allocations: 20.04 MB / 0.6287 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00439/0.5036, allocations: 2.013 MB / 0.6306 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009401/0.5046, allocations: 0.6391 MB / 0.6312 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006932/0.5115, allocations: 3.496 MB / 0.6347 GB, free: 8.379 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.5116, allocations: 39 kB / 0.6347 GB, free: 8.332 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.958e-06/0.5116, allocations: 0 / 0.6347 GB, free: 8.332 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005586/0.5171, allocations: 1.982 MB / 0.6366 GB, free: 6.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.5172, allocations: 67.77 kB / 0.6367 GB, free: 6.262 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002805/0.52, allocations: 1.934 MB / 0.6386 GB, free: 4.324 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/0.5201, allocations: 37.7 kB / 0.6386 GB, free: 4.281 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/0.5216, allocations: 1.911 MB / 0.6405 GB, free: 2.348 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.5219, allocations: 321.6 kB / 0.6408 GB, free: 2.031 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008063/0.5227, allocations: 0.6312 MB / 0.6414 GB, free: 1.391 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.5229, allocations: 357.9 kB / 0.6417 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.5242, allocations: 0.8842 MB / 0.6426 GB, free: 152 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003052/0.5272, allocations: 2.748 MB / 0.6453 GB, free: 12.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004907/0.5321, allocations: 3.969 MB / 0.6492 GB, free: 7.578 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.172e-05/0.5322, allocations: 24 kB / 0.6492 GB, free: 7.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005592/0.5378, allocations: 3.527 MB / 0.6526 GB, free: 4.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.343e-05/0.5378, allocations: 37 kB / 0.6527 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.081e-05/0.5379, allocations: 64 kB / 0.6527 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.866e-05/0.538, allocations: 92 kB / 0.6528 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/0.5399, allocations: 0.655 MB / 0.6535 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001125/0.54, allocations: 131.5 kB / 0.6536 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.5418, allocations: 432.7 kB / 0.654 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002393/0.5421, allocations: 187.9 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.002016/0.5441, allocations: 1.35 MB / 0.6555 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/0.5443, allocations: 162.9 kB / 0.6557 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000352/0.5447, allocations: 196.8 kB / 0.6558 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/0.5447, allocations: 12 kB / 0.6558 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.5447, allocations: 3.984 kB / 0.6559 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.5447, allocations: 0 / 0.6559 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00721/0.552, allocations: 4.069 MB / 0.6598 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.552, allocations: 11.98 kB / 0.6598 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/0.5524, allocations: 99.81 kB / 0.6599 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.5524, allocations: 8 kB / 0.6599 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/0.5524, allocations: 23.94 kB / 0.66 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.642e-05/0.5524, allocations: 11.94 kB / 0.66 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/0.5525, allocations: 11.98 kB / 0.66 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.554, allocations: 1.239 MB / 0.6612 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004667/0.5545, allocations: 255.7 kB / 0.6614 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.5547, allocations: 19.92 kB / 0.6615 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004637/0.5551, allocations: 27.98 kB / 0.6615 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/0.5552, allocations: 47.83 kB / 0.6615 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.275e-05/0.5553, allocations: 31.98 kB / 0.6616 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001818/0.5571, allocations: 1.267 MB / 0.6628 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5571, allocations: 4 kB / 0.6628 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002499/0.5596, allocations: 0.6968 MB / 0.6635 GB, free: 8.641 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * 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 (54): * Single equations (assignments): 51 * 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.0003029/0.5599, allocations: 135 kB / 0.6636 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003227/0.5631, allocations: 1.959 MB / 0.6655 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.5631, allocations: 0 / 0.6655 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005985/0.5637, allocations: 437 kB / 0.6659 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.565, allocations: 227.2 kB / 0.6662 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009145/0.5741, allocations: 5.087 MB / 0.6711 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002767/0.5769, allocations: 2.271 MB / 0.6733 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002213/0.5791, allocations: 0.9596 MB / 0.6743 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/0.5794, allocations: 119.4 kB / 0.6744 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of SimCode: time 1.353e-06/0.5794, allocations: 0 / 0.6744 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of Templates: time 0.03502/0.6144, allocations: 15.87 MB / 0.6899 GB, free: 13.48 MB / 0.5294 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 -s cvode -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.864906558766961]