Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001341/0.001341, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001561/0.001561, allocations: 213 kB / 23.73 MB, free: 4.16 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 44.93 MB / 358.8 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 71.89 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.318, allocations: 65.46 MB / 0.5574 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01136/0.3294, allocations: 8.411 MB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006544/0.3359, allocations: 2.783 MB / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009366/0.3369, allocations: 59.81 kB / 0.5684 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003873/0.3408, allocations: 1.932 MB / 0.5703 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002551/0.3433, allocations: 1.14 MB / 0.5714 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006795/0.344, allocations: 299.4 kB / 0.5717 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002937/0.3469, allocations: 2.325 MB / 0.574 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/0.349, allocations: 1.734 MB / 0.5757 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.35, allocations: 0.8878 MB / 0.5765 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.3515, allocations: 1.172 MB / 0.5777 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003157/0.3519, allocations: 196 kB / 0.5779 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.353, allocations: 0.6084 MB / 0.5785 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.354, allocations: 1.133 MB / 0.5796 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.3551, allocations: 0.9509 MB / 0.5805 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004589/0.3597, allocations: 4.342 MB / 0.5848 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3597, allocations: 4 kB / 0.5848 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3597, allocations: 0 / 0.5848 GB, free: 11.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.46e-05/0.3598, allocations: 4 kB / 0.5848 GB, free: 11.38 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.004705/0.3645, allocations: 2.859 MB / 0.5875 GB, free: 8.477 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3646, allocations: 12.03 kB / 0.5876 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/0.3697, allocations: 1.578 MB / 0.5891 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/0.3728, allocations: 1.282 MB / 0.5904 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.373, allocations: 148 kB / 0.5905 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003663/0.3733, allocations: 187.8 kB / 0.5907 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.3835, allocations: 6.25 MB / 0.5968 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.695e-05/0.3836, allocations: 15.81 kB / 0.5968 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/0.3838, allocations: 87.91 kB / 0.5969 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002165/0.386, allocations: 1.34 MB / 0.5982 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.3964, allocations: 5.325 MB / 0.6034 GB, free: 7.938 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02773/0.4241, allocations: 18.25 MB / 0.6212 GB, free: 5.125 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004274/0.4284, allocations: 1.561 MB / 0.6227 GB, free: 3.547 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.4294, allocations: 0.6367 MB / 0.6234 GB, free: 2.898 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006048/0.4355, allocations: 2.884 MB / 0.6262 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.4355, allocations: 39 kB / 0.6262 GB, free: 15.94 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.876e-06/0.4355, allocations: 4 kB / 0.6262 GB, free: 15.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005459/0.441, allocations: 1.967 MB / 0.6281 GB, free: 13.96 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.441, allocations: 55.84 kB / 0.6282 GB, free: 13.89 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003286/0.4443, allocations: 1.931 MB / 0.6301 GB, free: 11.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/0.4444, allocations: 37.64 kB / 0.6301 GB, free: 11.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001754/0.4461, allocations: 1.923 MB / 0.632 GB, free: 9.965 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003801/0.4465, allocations: 333.5 kB / 0.6323 GB, free: 9.637 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/0.4475, allocations: 0.6195 MB / 0.6329 GB, free: 9.008 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.4477, allocations: 349.9 kB / 0.6332 GB, free: 8.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.4492, allocations: 0.8842 MB / 0.6341 GB, free: 7.773 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003533/0.4528, allocations: 2.755 MB / 0.6368 GB, free: 4.086 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005681/0.4585, allocations: 3.966 MB / 0.6407 GB, free: 15.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.996e-05/0.4585, allocations: 20 kB / 0.6407 GB, free: 15.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006456/0.465, allocations: 3.519 MB / 0.6441 GB, free: 11.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.925e-05/0.4651, allocations: 32 kB / 0.6442 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/0.4652, allocations: 68 kB / 0.6442 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.4653, allocations: 84 kB / 0.6443 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002148/0.4675, allocations: 0.6635 MB / 0.645 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001463/0.4676, allocations: 131.5 kB / 0.6451 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/0.4699, allocations: 416.9 kB / 0.6455 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003261/0.4703, allocations: 188 kB / 0.6457 GB, free: 10.08 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.002317/0.4726, allocations: 1.342 MB / 0.647 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.4729, allocations: 154.9 kB / 0.6471 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003951/0.4733, allocations: 196 kB / 0.6473 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/0.4733, allocations: 8 kB / 0.6473 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.4733, allocations: 3.984 kB / 0.6473 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.4733, allocations: 0 / 0.6473 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007242/0.4805, allocations: 3.114 MB / 0.6504 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.4806, allocations: 8 kB / 0.6504 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.481, allocations: 100.6 kB / 0.6505 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/0.481, allocations: 8 kB / 0.6505 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/0.481, allocations: 27.98 kB / 0.6505 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.65e-05/0.4811, allocations: 8 kB / 0.6505 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/0.4811, allocations: 11.88 kB / 0.6505 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.4829, allocations: 1.225 MB / 0.6517 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/0.4833, allocations: 150.7 kB / 0.6518 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.4836, allocations: 23.98 kB / 0.6519 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005215/0.4841, allocations: 23.97 kB / 0.6519 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.4842, allocations: 67.67 kB / 0.652 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/0.4843, allocations: 28 kB / 0.652 GB, free: 3.371 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00203/0.4863, allocations: 1.11 MB / 0.6531 GB, free: 2.266 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4863, allocations: 0 / 0.6531 GB, free: 2.266 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003099/0.4894, allocations: 0.7045 MB / 0.6538 GB, free: 1.559 MB / 494.1 MB 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.0004042/0.4898, allocations: 142.9 kB / 0.6539 GB, free: 1.406 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003413/0.4932, allocations: 1.959 MB / 0.6558 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.4932, allocations: 4.25 kB / 0.6558 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006529/0.4939, allocations: 431.9 kB / 0.6562 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.495, allocations: 173.4 kB / 0.6564 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009574/0.5046, allocations: 5.068 MB / 0.6613 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002914/0.5075, allocations: 1.7 MB / 0.663 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002249/0.5097, allocations: 0.9389 MB / 0.6639 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/0.5101, allocations: 107.4 kB / 0.664 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/0.5101, allocations: 0 / 0.664 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of Templates: time 0.03184/0.5419, allocations: 14.18 MB / 0.6779 GB, free: 8.906 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.616310227662325]