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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 218.7 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 230.2 MB / 256.8 MB, free: 8.629 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2394/0.2394, allocations: 46.89 MB / 359.9 MB, free: 5.094 MB / 286.1 MB [Timeout remaining time 89] 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: 87.86 kB / 0.495 GB, free: 8.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3781, allocations: 65.98 MB / 0.5594 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01188/0.39, allocations: 9.57 MB / 0.5687 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006543/0.3965, allocations: 2.943 MB / 0.5716 GB, free: 8.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.3978, allocations: 47.94 kB / 0.5717 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003917/0.4017, allocations: 2.025 MB / 0.5736 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.4046, allocations: 1.125 MB / 0.5747 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007936/0.4054, allocations: 283.4 kB / 0.575 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003324/0.4087, allocations: 2.337 MB / 0.5773 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002452/0.4111, allocations: 1.917 MB / 0.5792 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.4124, allocations: 0.88 MB / 0.58 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.4142, allocations: 1.246 MB / 0.5812 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004335/0.4146, allocations: 192 kB / 0.5814 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.4161, allocations: 0.7333 MB / 0.5821 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.4173, allocations: 1.133 MB / 0.5832 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.4188, allocations: 1.308 MB / 0.5845 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005429/0.4242, allocations: 4.334 MB / 0.5887 GB, free: 6.969 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.4242, allocations: 0 / 0.5887 GB, free: 6.969 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4242, allocations: 0 / 0.5887 GB, free: 6.969 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001084/0.4243, allocations: 0 / 0.5887 GB, free: 6.969 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.005479/0.4298, allocations: 2.945 MB / 0.5916 GB, free: 3.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.4298, allocations: 8.031 kB / 0.5916 GB, free: 3.953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004937/0.4348, allocations: 1.578 MB / 0.5932 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.4375, allocations: 1.336 MB / 0.5945 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.4376, allocations: 144 kB / 0.5946 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003729/0.438, allocations: 191.8 kB / 0.5948 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.4486, allocations: 6.25 MB / 0.6009 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.799e-05/0.4486, allocations: 19.81 kB / 0.6009 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/0.4489, allocations: 83.91 kB / 0.601 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002134/0.451, allocations: 1.348 MB / 0.6023 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/0.462, allocations: 5.327 MB / 0.6075 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03086/0.4929, allocations: 20.04 MB / 0.6271 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004557/0.4975, allocations: 2.016 MB / 0.6291 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.4985, allocations: 0.6368 MB / 0.6297 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006676/0.5051, allocations: 3.5 MB / 0.6331 GB, free: 8.305 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.5052, allocations: 39 kB / 0.6331 GB, free: 8.258 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.386e-06/0.5052, allocations: 0 / 0.6331 GB, free: 8.258 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005566/0.5108, allocations: 1.982 MB / 0.6351 GB, free: 6.266 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.5108, allocations: 59.84 kB / 0.6351 GB, free: 6.195 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003181/0.514, allocations: 1.942 MB / 0.637 GB, free: 4.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.5141, allocations: 37.7 kB / 0.6371 GB, free: 4.207 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001558/0.5156, allocations: 1.907 MB / 0.6389 GB, free: 2.277 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/0.516, allocations: 329.5 kB / 0.6392 GB, free: 1.953 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008378/0.5168, allocations: 0.6234 MB / 0.6398 GB, free: 1.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.517, allocations: 361.9 kB / 0.6402 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.5183, allocations: 0.8842 MB / 0.641 GB, free: 76 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003058/0.5214, allocations: 2.755 MB / 0.6437 GB, free: 12.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004961/0.5263, allocations: 3.96 MB / 0.6476 GB, free: 7.508 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.461e-05/0.5264, allocations: 20 kB / 0.6476 GB, free: 7.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006099/0.5325, allocations: 3.534 MB / 0.6511 GB, free: 3.949 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.961e-05/0.5325, allocations: 39.94 kB / 0.6511 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.14e-05/0.5326, allocations: 64 kB / 0.6512 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/0.5327, allocations: 88 kB / 0.6513 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/0.5347, allocations: 0.655 MB / 0.6519 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001282/0.5348, allocations: 132 kB / 0.652 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.5367, allocations: 428.9 kB / 0.6524 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.537, allocations: 188 kB / 0.6526 GB, free: 2.371 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.002205/0.5392, allocations: 1.342 MB / 0.6539 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.5394, allocations: 162.9 kB / 0.6541 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.5399, allocations: 200.9 kB / 0.6543 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-05/0.54, allocations: 12 kB / 0.6543 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.54, allocations: 0 / 0.6543 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.54, allocations: 3.984 kB / 0.6543 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009441/0.5494, allocations: 4.066 MB / 0.6583 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/0.5494, allocations: 11.94 kB / 0.6583 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006441/0.5501, allocations: 103.9 kB / 0.6584 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.286e-05/0.5501, allocations: 12 kB / 0.6584 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-05/0.5502, allocations: 27.92 kB / 0.6584 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.969e-05/0.5502, allocations: 11.98 kB / 0.6584 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-05/0.5502, allocations: 11.94 kB / 0.6584 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/0.5528, allocations: 1.239 MB / 0.6596 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006692/0.5535, allocations: 255.7 kB / 0.6599 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/0.5538, allocations: 19.94 kB / 0.6599 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007958/0.5546, allocations: 27.97 kB / 0.6599 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.5547, allocations: 51.83 kB / 0.66 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.623e-05/0.5548, allocations: 28 kB / 0.66 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002998/0.5578, allocations: 1.267 MB / 0.6612 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5578, allocations: 0 / 0.6612 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004566/0.5624, allocations: 0.6968 MB / 0.6619 GB, free: 8.574 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.0004874/0.5628, allocations: 143 kB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00493/0.5678, allocations: 1.951 MB / 0.664 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/0.5678, allocations: 4 kB / 0.664 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009128/0.5687, allocations: 434.3 kB / 0.6644 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.5707, allocations: 236.1 kB / 0.6646 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.5834, allocations: 5.389 MB / 0.6699 GB, free: 336 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002859/0.5863, allocations: 2.271 MB / 0.6721 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005166/0.5868, allocations: 151.4 kB / 0.6722 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of SimCode: time 1.423e-06/0.5868, allocations: 0 / 0.6722 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.05569/0.6425, allocations: 30.27 MB / 0.7018 GB, free: 15.66 MB / 0.545 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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