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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001432, allocations: 99.78 kB / 16.26 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2441/0.2441, allocations: 43.52 MB / 313.9 MB, free: 0.5117 MB / 254.1 MB 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.001766/0.001766, allocations: 67.2 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1345, allocations: 57.79 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01888/0.1534, allocations: 17.03 MB / 457.5 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01431/0.1678, allocations: 5.326 MB / 462.9 MB, free: 456 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004172/0.172, allocations: 131.6 kB / 463 MB, free: 324 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01192/0.184, allocations: 6.071 MB / 469.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.195, allocations: 3.077 MB / 472.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005316/0.2003, allocations: 1.572 MB / 473.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01699/0.2173, allocations: 8.197 MB / 481.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01509/0.2325, allocations: 7.643 MB / 489.6 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007486/0.24, allocations: 3.221 MB / 492.8 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007604/0.2476, allocations: 4.194 MB / 497 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003221/0.2509, allocations: 0.6406 MB / 497.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00574/0.2567, allocations: 1.451 MB / 499.1 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006282/0.263, allocations: 3.846 MB / 0.4911 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009528/0.2725, allocations: 4.288 MB / 0.4953 GB, free: 3.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01942/0.292, allocations: 12.65 MB / 0.5077 GB, free: 7.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.292, allocations: 3.938 kB / 0.5077 GB, free: 7.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.292, allocations: 0 / 0.5077 GB, free: 7.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000732/0.2928, allocations: 0 / 0.5077 GB, free: 7.227 MB / 398.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.03023/0.323, allocations: 9.252 MB / 0.5167 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.334e-05/0.3231, allocations: 15.88 kB / 0.5167 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/0.337, allocations: 2.669 MB / 0.5193 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01347/0.3506, allocations: 4.946 MB / 0.5242 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006184/0.3512, allocations: 467.7 kB / 0.5246 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003097/0.3543, allocations: 0.5934 MB / 0.5252 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5242/0.8785, allocations: 18.73 MB / 0.5435 GB, free: 75.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002799/0.8789, allocations: 77.38 kB / 0.5435 GB, free: 75.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001063/0.8799, allocations: 287.3 kB / 0.5438 GB, free: 75.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007061/0.887, allocations: 3.45 MB / 0.5472 GB, free: 74.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03726/0.9243, allocations: 14.61 MB / 0.5614 GB, free: 65.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09712/1.021, allocations: 70.57 MB / 0.6304 GB, free: 9.602 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01791/1.039, allocations: 6.125 MB / 0.6363 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004286/1.044, allocations: 2.455 MB / 0.6387 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0211/1.065, allocations: 10.84 MB / 0.6493 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.623e-05/1.065, allocations: 56.56 kB / 0.6494 GB, free: 5.469 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 6.953e-06/1.065, allocations: 0 / 0.6494 GB, free: 5.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=262): time 0.05205/1.117, allocations: 15.86 MB / 0.6649 GB, free: 5.633 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.117, allocations: 162.4 kB / 0.665 GB, free: 5.445 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01352/1.131, allocations: 6.636 MB / 0.6715 GB, free: 14.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005683/1.131, allocations: 65.7 kB / 0.6716 GB, free: 14.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004924/1.136, allocations: 5.529 MB / 0.677 GB, free: 9.148 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001474/1.138, allocations: 1.011 MB / 0.678 GB, free: 8.125 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002924/1.141, allocations: 1.841 MB / 0.6798 GB, free: 6.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/1.141, allocations: 301.1 kB / 0.68 GB, free: 5.973 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004669/1.146, allocations: 2.653 MB / 0.6826 GB, free: 3.312 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009215/1.155, allocations: 8.377 MB / 0.6908 GB, free: 8.094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01639/1.171, allocations: 12 MB / 0.7025 GB, free: 9.258 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002914/1.172, allocations: 63.94 kB / 0.7026 GB, free: 9.195 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.0244/1.196, allocations: 10.72 MB / 0.7131 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/1.196, allocations: 88 kB / 0.7131 GB, free: 14.38 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002811/1.197, allocations: 204 kB / 0.7133 GB, free: 14.18 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002544/1.197, allocations: 268 kB / 0.7136 GB, free: 13.92 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007451/1.204, allocations: 2.141 MB / 0.7157 GB, free: 11.77 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003585/1.205, allocations: 398.5 kB / 0.7161 GB, free: 11.38 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007969/1.213, allocations: 459.3 kB / 0.7165 GB, free: 10.93 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001721/1.214, allocations: 0.5586 MB / 0.7171 GB, free: 10.38 MB / 0.5138 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.009386/1.224, allocations: 3.625 MB / 0.7206 GB, free: 6.734 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002536/1.226, allocations: 0.5629 MB / 0.7211 GB, free: 6.164 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00745/1.234, allocations: 2.794 MB / 0.7239 GB, free: 3.352 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.004e-05/1.234, allocations: 28 kB / 0.7239 GB, free: 3.324 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/1.234, allocations: 8.172 kB / 0.7239 GB, free: 3.316 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-05/1.234, allocations: 11.95 kB / 0.7239 GB, free: 3.305 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3297/1.564, allocations: 26.56 MB / 0.7499 GB, free: 160.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.416e-05/1.564, allocations: 54.5 kB / 0.7499 GB, free: 160.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/1.566, allocations: 0.5185 MB / 0.7504 GB, free: 160.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.319e-05/1.566, allocations: 70.78 kB / 0.7505 GB, free: 160.6 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/1.566, allocations: 120.8 kB / 0.7506 GB, free: 160.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.176e-05/1.566, allocations: 104.8 kB / 0.7507 GB, free: 160.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-05/1.566, allocations: 86.97 kB / 0.7508 GB, free: 160.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005593/1.572, allocations: 5.237 MB / 0.7559 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.573, allocations: 0.6741 MB / 0.7566 GB, free: 156.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006453/1.574, allocations: 125.2 kB / 0.7567 GB, free: 156.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/1.576, allocations: 137.7 kB / 0.7568 GB, free: 156.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004722/1.577, allocations: 362.8 kB / 0.7571 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/1.577, allocations: 147.2 kB / 0.7573 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00575/1.583, allocations: 4.155 MB / 0.7613 GB, free: 155.2 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.41e-07/1.583, allocations: 0 / 0.7613 GB, free: 155.2 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008204/1.591, allocations: 1.506 MB / 0.7628 GB, free: 155 MB / 0.5138 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.0006334/1.592, allocations: 290.5 kB / 0.7631 GB, free: 154.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.009658/1.601, allocations: 6.361 MB / 0.7693 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.402e-05/1.601, allocations: 8 kB / 0.7693 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00204/1.603, allocations: 1.496 MB / 0.7708 GB, free: 151.1 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007225/1.611, allocations: 0.9393 MB / 0.7717 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02744/1.638, allocations: 17.17 MB / 0.7885 GB, free: 133.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006581/1.645, allocations: 5.572 MB / 0.7939 GB, free: 127.9 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006904/1.652, allocations: 2.779 MB / 0.7966 GB, free: 125.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/1.653, allocations: 403.2 kB / 0.797 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of SimCode: time 9.11e-07/1.653, allocations: 0 / 0.797 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of Templates: time 0.09338/1.746, allocations: 48.99 MB / 0.8448 GB, free: 75.9 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile (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) 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) Reference file matches