Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2277/0.2277, allocations: 46.97 MB / 361.6 MB, free: 4.035 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 75.89 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3104, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01095/0.3214, allocations: 8.403 MB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005922/0.3273, allocations: 2.787 MB / 0.5727 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008959/0.3282, allocations: 55.81 kB / 0.5728 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003816/0.332, allocations: 1.939 MB / 0.5747 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002587/0.3346, allocations: 1.137 MB / 0.5758 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006659/0.3353, allocations: 295.4 kB / 0.5761 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002888/0.3381, allocations: 2.321 MB / 0.5783 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/0.3402, allocations: 1.746 MB / 0.58 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.3413, allocations: 0.8917 MB / 0.5809 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.3428, allocations: 1.254 MB / 0.5821 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003218/0.3431, allocations: 192 kB / 0.5823 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.3443, allocations: 0.6163 MB / 0.5829 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.3453, allocations: 1.137 MB / 0.584 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009695/0.3463, allocations: 0.9509 MB / 0.585 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004546/0.3508, allocations: 4.334 MB / 0.5892 GB, free: 7.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3508, allocations: 0 / 0.5892 GB, free: 7.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3508, allocations: 0 / 0.5892 GB, free: 7.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.69e-05/0.3509, allocations: 3.984 kB / 0.5892 GB, free: 7.977 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.004894/0.3558, allocations: 2.87 MB / 0.592 GB, free: 5.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3558, allocations: 8.031 kB / 0.592 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005676/0.3615, allocations: 1.571 MB / 0.5935 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003414/0.3649, allocations: 1.29 MB / 0.5948 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.365, allocations: 140 kB / 0.5949 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004285/0.3655, allocations: 199.8 kB / 0.5951 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.3756, allocations: 6.242 MB / 0.6012 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.147e-05/0.3756, allocations: 15.88 kB / 0.6012 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000247/0.3759, allocations: 87.91 kB / 0.6013 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002114/0.378, allocations: 1.344 MB / 0.6026 GB, free: 9.863 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009945/0.3879, allocations: 5.322 MB / 0.6078 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02609/0.414, allocations: 18.26 MB / 0.6257 GB, free: 1.707 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004265/0.4183, allocations: 1.547 MB / 0.6272 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009891/0.4193, allocations: 0.6368 MB / 0.6278 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006518/0.4258, allocations: 2.88 MB / 0.6306 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.4258, allocations: 39 kB / 0.6307 GB, free: 12.54 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.966e-06/0.4258, allocations: 0 / 0.6307 GB, free: 12.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005698/0.4315, allocations: 1.974 MB / 0.6326 GB, free: 10.55 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.4316, allocations: 63.84 kB / 0.6326 GB, free: 10.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002726/0.4343, allocations: 1.935 MB / 0.6345 GB, free: 8.531 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.4344, allocations: 37.7 kB / 0.6346 GB, free: 8.488 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/0.4358, allocations: 1.911 MB / 0.6364 GB, free: 6.555 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/0.4361, allocations: 333.5 kB / 0.6368 GB, free: 6.227 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008509/0.437, allocations: 0.6156 MB / 0.6374 GB, free: 5.602 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.4372, allocations: 349.9 kB / 0.6377 GB, free: 5.254 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.4385, allocations: 0.8842 MB / 0.6386 GB, free: 4.367 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002987/0.4415, allocations: 2.751 MB / 0.6412 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004922/0.4464, allocations: 3.974 MB / 0.6451 GB, free: 11.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.248e-05/0.4464, allocations: 20 kB / 0.6451 GB, free: 11.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005495/0.4519, allocations: 3.52 MB / 0.6486 GB, free: 8.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.594e-05/0.452, allocations: 42.91 kB / 0.6486 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.448e-05/0.4521, allocations: 64 kB / 0.6487 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.467e-05/0.4522, allocations: 88 kB / 0.6488 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.4541, allocations: 0.655 MB / 0.6494 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001145/0.4542, allocations: 131.5 kB / 0.6495 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.456, allocations: 416.8 kB / 0.6499 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/0.4563, allocations: 188 kB / 0.6501 GB, free: 6.672 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.001927/0.4582, allocations: 1.357 MB / 0.6514 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.4584, allocations: 158.9 kB / 0.6516 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.4588, allocations: 188 kB / 0.6518 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.4588, allocations: 8 kB / 0.6518 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4588, allocations: 0 / 0.6518 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.4588, allocations: 3.984 kB / 0.6518 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005793/0.4646, allocations: 3.11 MB / 0.6548 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.4646, allocations: 4 kB / 0.6548 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.465, allocations: 95.81 kB / 0.6549 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.465, allocations: 8 kB / 0.6549 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/0.4651, allocations: 20 kB / 0.6549 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.4651, allocations: 11.94 kB / 0.6549 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.4651, allocations: 11.94 kB / 0.655 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.4666, allocations: 1.237 MB / 0.6562 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.4669, allocations: 158.7 kB / 0.6563 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.467, allocations: 16 kB / 0.6563 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.4675, allocations: 23.97 kB / 0.6563 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.4676, allocations: 55.8 kB / 0.6564 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/0.4676, allocations: 28 kB / 0.6564 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001497/0.4691, allocations: 1.118 MB / 0.6575 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4691, allocations: 0 / 0.6575 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002401/0.4715, allocations: 0.6929 MB / 0.6582 GB, free: 14.16 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.0002951/0.4718, allocations: 154.8 kB / 0.6583 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002979/0.4748, allocations: 1.957 MB / 0.6603 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4748, allocations: 0 / 0.6603 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000567/0.4754, allocations: 434.7 kB / 0.6607 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.4764, allocations: 189.2 kB / 0.6609 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008229/0.4846, allocations: 5.053 MB / 0.6658 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/0.4869, allocations: 1.712 MB / 0.6675 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002082/0.489, allocations: 0.9272 MB / 0.6684 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.4893, allocations: 119.4 kB / 0.6685 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of SimCode: time 1.973e-06/0.4893, allocations: 3.938 kB / 0.6685 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.0309/0.5202, allocations: 15.48 MB / 0.6836 GB, free: 4.172 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.494501106993994]