Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.001316/0.001316, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001362/0.001362, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.441/1.441, allocations: 230.6 MB / 258.2 MB, free: 7.98 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.2272/0.2272, allocations: 46.93 MB / 361.6 MB, free: 4.246 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.CutForce3,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.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_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 0.4974 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3225, allocations: 66.03 MB / 0.5619 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01229/0.3348, allocations: 9.601 MB / 0.5712 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005994/0.3408, allocations: 2.963 MB / 0.5741 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.3421, allocations: 55.81 kB / 0.5742 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004059/0.3462, allocations: 2.033 MB / 0.5762 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003319/0.3495, allocations: 1.129 MB / 0.5773 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.3505, allocations: 295.4 kB / 0.5776 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004017/0.3545, allocations: 2.326 MB / 0.5798 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002812/0.3573, allocations: 1.734 MB / 0.5815 GB, free: 4 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.359, allocations: 0.8956 MB / 0.5824 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.361, allocations: 1.25 MB / 0.5836 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000553/0.3615, allocations: 192 kB / 0.5838 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.3631, allocations: 0.7255 MB / 0.5845 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001455/0.3645, allocations: 1.133 MB / 0.5856 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001906/0.3664, allocations: 1.312 MB / 0.5869 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005434/0.3719, allocations: 4.337 MB / 0.5911 GB, free: 6.129 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3719, allocations: 0 / 0.5911 GB, free: 6.129 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3719, allocations: 3.938 kB / 0.5911 GB, free: 6.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001484/0.372, allocations: 0 / 0.5911 GB, free: 6.125 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.006301/0.3783, allocations: 2.866 MB / 0.5939 GB, free: 3.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3784, allocations: 16.03 kB / 0.594 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005066/0.3834, allocations: 1.567 MB / 0.5955 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002882/0.3863, allocations: 1.286 MB / 0.5967 GB, free: 320 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.3864, allocations: 140 kB / 0.5969 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003745/0.3868, allocations: 191.9 kB / 0.5971 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009815/0.3966, allocations: 6.246 MB / 0.6032 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-05/0.3967, allocations: 15.88 kB / 0.6032 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003147/0.397, allocations: 91.91 kB / 0.6033 GB, free: 9.363 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002078/0.3991, allocations: 1.34 MB / 0.6046 GB, free: 8.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009882/0.4089, allocations: 5.334 MB / 0.6098 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03095/0.4399, allocations: 19.95 MB / 0.6293 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004747/0.4447, allocations: 1.555 MB / 0.6308 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.4458, allocations: 0.6368 MB / 0.6314 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006725/0.4525, allocations: 3.035 MB / 0.6344 GB, free: 8.855 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.4526, allocations: 38.94 kB / 0.6344 GB, free: 8.809 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.915e-06/0.4526, allocations: 0 / 0.6344 GB, free: 8.809 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005374/0.4579, allocations: 1.978 MB / 0.6363 GB, free: 6.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.458, allocations: 55.84 kB / 0.6364 GB, free: 6.754 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003204/0.4612, allocations: 1.942 MB / 0.6383 GB, free: 4.809 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.212e-05/0.4612, allocations: 41.69 kB / 0.6383 GB, free: 4.762 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0016/0.4628, allocations: 1.911 MB / 0.6402 GB, free: 2.828 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/0.4632, allocations: 325.5 kB / 0.6405 GB, free: 2.508 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008974/0.4641, allocations: 0.6195 MB / 0.6411 GB, free: 1.879 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.4643, allocations: 357.9 kB / 0.6414 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.4657, allocations: 0.8881 MB / 0.6423 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/0.4688, allocations: 2.751 MB / 0.645 GB, free: 12.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00484/0.4737, allocations: 3.97 MB / 0.6489 GB, free: 8.055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.104e-05/0.4737, allocations: 20 kB / 0.6489 GB, free: 8.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005955/0.4797, allocations: 3.542 MB / 0.6524 GB, free: 4.488 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.4797, allocations: 32 kB / 0.6524 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/0.4799, allocations: 68 kB / 0.6524 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001056/0.48, allocations: 84 kB / 0.6525 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.4819, allocations: 0.6628 MB / 0.6532 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001303/0.4821, allocations: 127.5 kB / 0.6533 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/0.484, allocations: 429 kB / 0.6537 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/0.4843, allocations: 188 kB / 0.6539 GB, free: 2.914 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.002241/0.4865, allocations: 1.346 MB / 0.6552 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.4868, allocations: 162.9 kB / 0.6554 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004243/0.4872, allocations: 200.8 kB / 0.6555 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-05/0.4873, allocations: 8 kB / 0.6556 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.4873, allocations: 0 / 0.6556 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.4873, allocations: 8 kB / 0.6556 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007812/0.4951, allocations: 4.045 MB / 0.6595 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.4951, allocations: 4 kB / 0.6595 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.4955, allocations: 99.83 kB / 0.6596 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.4955, allocations: 8.75 kB / 0.6596 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.757e-05/0.4956, allocations: 19.92 kB / 0.6596 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/0.4956, allocations: 19.94 kB / 0.6597 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.393e-06/0.4956, allocations: 7.938 kB / 0.6597 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.4972, allocations: 1.239 MB / 0.6609 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004032/0.4976, allocations: 178.6 kB / 0.661 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.4978, allocations: 23.94 kB / 0.6611 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/0.4984, allocations: 27.95 kB / 0.6611 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.431e-05/0.4985, allocations: 55.81 kB / 0.6611 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.688e-05/0.4985, allocations: 28 kB / 0.6612 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001983/0.5005, allocations: 1.267 MB / 0.6624 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5005, allocations: 3.938 kB / 0.6624 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002523/0.503, allocations: 0.6929 MB / 0.6631 GB, free: 9.246 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.0003383/0.5034, allocations: 139.6 kB / 0.6632 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003243/0.5066, allocations: 1.96 MB / 0.6651 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.5066, allocations: 3.938 kB / 0.6651 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005974/0.5072, allocations: 429.4 kB / 0.6656 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.5085, allocations: 240.2 kB / 0.6658 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.5193, allocations: 5.398 MB / 0.6711 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003221/0.5225, allocations: 2.279 MB / 0.6733 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004837/0.523, allocations: 139.4 kB / 0.6734 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of SimCode: time 9.62e-07/0.523, allocations: 0 / 0.6734 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.05326/0.5762, allocations: 30.27 MB / 0.703 GB, free: 344 kB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 9.859751437790692]