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.001362/0.001362, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001716/0.001716, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.556/1.556, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2405/0.2405, allocations: 46.89 MB / 361.1 MB, free: 4.648 MB / 286.1 MB " [Timeout remaining time 179] 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.002813/0.002813, allocations: 83.86 kB / 0.4967 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3502, allocations: 65.99 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01221/0.3624, allocations: 9.589 MB / 0.5706 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006265/0.3687, allocations: 2.966 MB / 0.5735 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.3698, allocations: 47.94 kB / 0.5735 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003862/0.3736, allocations: 2.029 MB / 0.5755 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002623/0.3763, allocations: 1.129 MB / 0.5766 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006827/0.3769, allocations: 291.4 kB / 0.5769 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003244/0.3802, allocations: 2.329 MB / 0.5791 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002204/0.3824, allocations: 1.614 MB / 0.5807 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.3837, allocations: 0.8916 MB / 0.5816 GB, free: 44 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.3854, allocations: 1.246 MB / 0.5828 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003712/0.3857, allocations: 192 kB / 0.583 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.387, allocations: 0.7216 MB / 0.5837 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.3881, allocations: 1.145 MB / 0.5848 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.3895, allocations: 1.312 MB / 0.5861 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005986/0.3955, allocations: 4.326 MB / 0.5903 GB, free: 7.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.3955, allocations: 0 / 0.5903 GB, free: 7.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.3955, allocations: 0 / 0.5903 GB, free: 7.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001606/0.3956, allocations: 0 / 0.5903 GB, free: 7.07 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.006684/0.4023, allocations: 2.942 MB / 0.5932 GB, free: 4.066 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.4024, allocations: 12.03 kB / 0.5932 GB, free: 4.055 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005452/0.4078, allocations: 1.574 MB / 0.5947 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003406/0.4112, allocations: 1.336 MB / 0.596 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.4113, allocations: 148 kB / 0.5962 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004347/0.4118, allocations: 191.8 kB / 0.5964 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.4221, allocations: 6.246 MB / 0.6025 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.945e-05/0.4221, allocations: 15.88 kB / 0.6025 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/0.4224, allocations: 91.84 kB / 0.6026 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002245/0.4246, allocations: 1.344 MB / 0.6039 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.435, allocations: 5.334 MB / 0.6091 GB, free: 3.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02841/0.4635, allocations: 20.04 MB / 0.6287 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004364/0.4678, allocations: 2.005 MB / 0.6306 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000945/0.4688, allocations: 0.6407 MB / 0.6312 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006677/0.4754, allocations: 3.496 MB / 0.6347 GB, free: 8.398 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.4755, allocations: 43 kB / 0.6347 GB, free: 8.348 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 5.09e-06/0.4755, allocations: 3.984 kB / 0.6347 GB, free: 8.344 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00535/0.4808, allocations: 1.978 MB / 0.6366 GB, free: 6.355 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.4809, allocations: 55.84 kB / 0.6367 GB, free: 6.289 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002611/0.4835, allocations: 1.942 MB / 0.6386 GB, free: 4.344 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.344e-05/0.4835, allocations: 45.69 kB / 0.6386 GB, free: 4.293 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.485, allocations: 1.903 MB / 0.6405 GB, free: 2.367 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.4853, allocations: 329.5 kB / 0.6408 GB, free: 2.043 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007738/0.486, allocations: 0.6195 MB / 0.6414 GB, free: 1.414 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.4862, allocations: 361.9 kB / 0.6417 GB, free: 1.055 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.4875, allocations: 0.8881 MB / 0.6426 GB, free: 168 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002834/0.4904, allocations: 2.747 MB / 0.6453 GB, free: 12.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004717/0.4951, allocations: 3.97 MB / 0.6492 GB, free: 7.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-05/0.4951, allocations: 20 kB / 0.6492 GB, free: 7.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005714/0.5009, allocations: 3.526 MB / 0.6526 GB, free: 4.043 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.5009, allocations: 32 kB / 0.6527 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-05/0.501, allocations: 71.94 kB / 0.6527 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001002/0.5011, allocations: 91.98 kB / 0.6528 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.503, allocations: 0.6511 MB / 0.6535 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001119/0.5031, allocations: 135.4 kB / 0.6536 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.5049, allocations: 433 kB / 0.654 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/0.5051, 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.002021/0.5071, allocations: 1.342 MB / 0.6555 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/0.5074, allocations: 166.8 kB / 0.6556 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003534/0.5077, allocations: 192.9 kB / 0.6558 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.5078, allocations: 12 kB / 0.6558 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.5078, allocations: 3.938 kB / 0.6558 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.5078, allocations: 7.984 kB / 0.6559 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006997/0.5148, allocations: 4.073 MB / 0.6598 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.5148, allocations: 8 kB / 0.6598 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/0.5152, allocations: 91.83 kB / 0.6599 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/0.5152, allocations: 12.73 kB / 0.6599 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/0.5153, allocations: 20 kB / 0.66 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.348e-05/0.5153, allocations: 19.88 kB / 0.66 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.5153, allocations: 8 kB / 0.66 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.5169, allocations: 1.243 MB / 0.6612 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/0.5173, allocations: 255.7 kB / 0.6614 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.5174, allocations: 12 kB / 0.6615 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004685/0.5179, allocations: 35.89 kB / 0.6615 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.872e-05/0.518, allocations: 55.83 kB / 0.6615 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/0.518, allocations: 24 kB / 0.6616 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001771/0.5198, allocations: 1.271 MB / 0.6628 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5198, allocations: 0 / 0.6628 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002322/0.5221, allocations: 0.6968 MB / 0.6635 GB, free: 8.652 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.0002783/0.5224, allocations: 139 kB / 0.6636 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002948/0.5254, allocations: 1.96 MB / 0.6655 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5254, allocations: 0 / 0.6655 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005526/0.5259, allocations: 429.5 kB / 0.6659 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.527, allocations: 236.6 kB / 0.6662 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008347/0.5353, allocations: 5.083 MB / 0.6711 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002541/0.5379, allocations: 2.275 MB / 0.6734 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002109/0.54, allocations: 0.948 MB / 0.6743 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.5403, allocations: 123.4 kB / 0.6744 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of SimCode: time 7.11e-07/0.5403, allocations: 0 / 0.6744 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.03267/0.573, allocations: 15.87 MB / 0.6899 GB, free: 13.5 MB / 0.5294 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 -s cvode -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.726654995698482]