Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 113.8 kB / 17.12 MB, free: 5.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 195.8 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 207.6 MB / 230.4 MB, free: 4.031 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3842/0.3842, allocations: 44.24 MB / 326.5 MB, free: 6.816 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 75.89 kB / 462.7 MB, free: 420 kB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3452, allocations: 60.99 MB / 0.5114 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01465/0.3599, allocations: 17.11 MB / 0.5281 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01455/0.3744, allocations: 5.338 MB / 0.5333 GB, free: 8.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006694/0.3811, allocations: 127.6 kB / 0.5334 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01378/0.3949, allocations: 6.141 MB / 0.5394 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009621/0.4045, allocations: 3.167 MB / 0.5425 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.4089, allocations: 1.587 MB / 0.5441 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01476/0.4236, allocations: 8.203 MB / 0.5521 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01138/0.435, allocations: 6.343 MB / 0.5583 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006968/0.442, allocations: 3.197 MB / 0.5614 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00894/0.4509, allocations: 4.545 MB / 0.5658 GB, free: 7.059 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003338/0.4543, allocations: 0.6406 MB / 0.5665 GB, free: 6.418 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005551/0.4598, allocations: 1.506 MB / 0.5679 GB, free: 4.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006226/0.466, allocations: 4.005 MB / 0.5718 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008944/0.475, allocations: 4.288 MB / 0.576 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02076/0.4957, allocations: 13.14 MB / 0.5889 GB, free: 15.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.4958, allocations: 0 / 0.5889 GB, free: 15.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4958, allocations: 0 / 0.5889 GB, free: 15.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005176/0.4963, allocations: 0 / 0.5889 GB, free: 15.39 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02426/0.5205, allocations: 9.492 MB / 0.5981 GB, free: 5.797 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.5206, allocations: 15.88 kB / 0.5982 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.5334, allocations: 2.725 MB / 0.6008 GB, free: 3.047 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01354/0.5469, allocations: 5.085 MB / 0.6058 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006743/0.5476, allocations: 475.4 kB / 0.6062 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004313/0.5519, allocations: 0.5817 MB / 0.6068 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0535/0.6054, allocations: 18.73 MB / 0.6251 GB, free: 8.945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000455/0.6059, allocations: 71.41 kB / 0.6252 GB, free: 8.875 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002994/0.6089, allocations: 291.7 kB / 0.6254 GB, free: 8.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007549/0.6164, allocations: 3.448 MB / 0.6288 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0396/0.656, allocations: 14.61 MB / 0.6431 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7735/1.429, allocations: 70.32 MB / 0.7117 GB, free: 61.02 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0175/1.447, allocations: 5.943 MB / 0.7175 GB, free: 55.79 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004286/1.451, allocations: 2.296 MB / 0.7198 GB, free: 53.48 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02021/1.471, allocations: 10.84 MB / 0.7304 GB, free: 42.41 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/1.472, allocations: 60.55 kB / 0.7304 GB, free: 42.35 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=238): time 7.383e-06/1.472, allocations: 4 kB / 0.7304 GB, free: 42.34 MB / 0.4982 GB Notification: Performance of matching and sorting (n=262): time 0.0466/1.518, allocations: 16.29 MB / 0.7463 GB, free: 26.51 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.518, allocations: 154.5 kB / 0.7465 GB, free: 26.32 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/1.529, allocations: 6.655 MB / 0.753 GB, free: 19.8 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007008/1.53, allocations: 65.69 kB / 0.7531 GB, free: 19.73 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004021/1.534, allocations: 5.752 MB / 0.7587 GB, free: 14.34 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00157/1.535, allocations: 1.058 MB / 0.7597 GB, free: 13.27 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002617/1.538, allocations: 1.85 MB / 0.7615 GB, free: 11.41 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 6.432e-05/1.538, allocations: 305.1 kB / 0.7618 GB, free: 11.11 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004135/1.542, allocations: 2.653 MB / 0.7644 GB, free: 8.445 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008486/1.551, allocations: 8.377 MB / 0.7726 GB, free: 13.23 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01878/1.569, allocations: 11.99 MB / 0.7843 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002284/1.57, allocations: 60 kB / 0.7843 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02942/1.599, allocations: 10.76 MB / 0.7949 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002056/1.599, allocations: 94.28 kB / 0.7949 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003658/1.6, allocations: 207.9 kB / 0.7951 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/1.6, allocations: 268 kB / 0.7954 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008466/1.608, allocations: 2.141 MB / 0.7975 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004658/1.609, allocations: 394.5 kB / 0.7979 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009509/1.618, allocations: 451.6 kB / 0.7983 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002618/1.621, allocations: 0.5664 MB / 0.7988 GB, free: 15.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1155): * Single equations (assignments): 1144 * Array equations: 11 * 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.009656/1.631, allocations: 3.609 MB / 0.8024 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002212/1.633, allocations: 0.5975 MB / 0.803 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006799/1.64, allocations: 2.802 MB / 0.8057 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.83e-05/1.64, allocations: 31.98 kB / 0.8057 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.64, allocations: 0 / 0.8057 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.123e-05/1.64, allocations: 15.95 kB / 0.8057 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0543/1.694, allocations: 26.57 MB / 0.8317 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000111/1.694, allocations: 59.98 kB / 0.8317 GB, free: 12.96 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002285/1.697, allocations: 0.5311 MB / 0.8323 GB, free: 12.43 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.037e-05/1.697, allocations: 72 kB / 0.8323 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002741/1.697, allocations: 116 kB / 0.8324 GB, free: 12.25 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001099/1.697, allocations: 95.66 kB / 0.8325 GB, free: 12.15 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.094e-05/1.697, allocations: 87.62 kB / 0.8326 GB, free: 12.07 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009383/1.707, allocations: 5.275 MB / 0.8378 GB, free: 5.961 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002615/1.709, allocations: 0.7038 MB / 0.8384 GB, free: 5.234 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001577/1.711, allocations: 131.8 kB / 0.8386 GB, free: 5.109 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0039/1.715, allocations: 135.9 kB / 0.8387 GB, free: 4.977 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006368/1.715, allocations: 362.2 kB / 0.839 GB, free: 4.621 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003061/1.716, allocations: 152 kB / 0.8392 GB, free: 4.473 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01011/1.726, allocations: 4.154 MB / 0.8432 GB, free: 344 kB / 0.5763 GB Notification: Performance of sort global known variables: time 2.4e-07/1.726, allocations: 0 / 0.8432 GB, free: 344 kB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0113/1.737, allocations: 1.5 MB / 0.8447 GB, free: 14.83 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.0009176/1.738, allocations: 309.5 kB / 0.845 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01253/1.75, allocations: 6.019 MB / 0.8509 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.843e-05/1.75, allocations: 8.625 kB / 0.8509 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002909/1.753, allocations: 1.448 MB / 0.8523 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007642/1.761, allocations: 0.9288 MB / 0.8532 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03906/1.8, allocations: 17.23 MB / 0.87 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01236/1.812, allocations: 5.568 MB / 0.8755 GB, free: 14.54 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.00894/1.821, allocations: 2.78 MB / 0.8782 GB, free: 11.75 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/1.823, allocations: 403.4 kB / 0.8786 GB, free: 11.36 MB / 0.6232 GB Notification: Performance of SimCode: time 1.663e-06/1.823, allocations: 0 / 0.8786 GB, free: 11.36 MB / 0.6232 GB Notification: Performance of Templates: time 0.4351/2.258, allocations: 44.68 MB / 0.9222 GB, free: 201.5 MB / 0.6232 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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.077209301292896]