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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 113.3 kB / 18.45 MB, free: 4.598 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.00126/0.00126, allocations: 185.1 kB / 19.38 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.198/0.198, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3227, allocations: 60.82 MB / 0.5196 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.00974/0.3324, allocations: 9.734 MB / 0.5291 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006351/0.3388, allocations: 2.92 MB / 0.5319 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.3403, allocations: 53.41 kB / 0.532 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003571/0.3439, allocations: 1.992 MB / 0.5339 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002699/0.3467, allocations: 1.136 MB / 0.535 GB, free: 8.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000765/0.3474, allocations: 286.5 kB / 0.5353 GB, free: 8.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003038/0.3505, allocations: 2.326 MB / 0.5376 GB, free: 7.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002527/0.353, allocations: 2.335 MB / 0.5398 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.3542, allocations: 0.8962 MB / 0.5407 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.3556, allocations: 1.183 MB / 0.5419 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003621/0.356, allocations: 198 kB / 0.5421 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.3572, allocations: 0.6992 MB / 0.5427 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008841/0.3581, allocations: 1.161 MB / 0.5439 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.3592, allocations: 1.355 MB / 0.5452 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003869/0.363, allocations: 4.455 MB / 0.5496 GB, free: 13.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3631, allocations: 0 / 0.5496 GB, free: 13.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3631, allocations: 0 / 0.5496 GB, free: 13.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.888e-05/0.3632, allocations: 0 / 0.5496 GB, free: 13.22 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004215/0.3674, allocations: 2.942 MB / 0.5524 GB, free: 10.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3674, allocations: 12.03 kB / 0.5524 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004925/0.3724, allocations: 1.58 MB / 0.554 GB, free: 8.629 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.3744, allocations: 1.363 MB / 0.5553 GB, free: 7.219 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.589e-05/0.3745, allocations: 148.1 kB / 0.5555 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003074/0.3748, allocations: 191.8 kB / 0.5556 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007981/0.3828, allocations: 6.444 MB / 0.5619 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.3828, allocations: 11.88 kB / 0.5619 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002161/0.3831, allocations: 91.89 kB / 0.562 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001939/0.385, allocations: 1.399 MB / 0.5634 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008096/0.3931, allocations: 5.492 MB / 0.5688 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02244/0.4156, allocations: 20.42 MB / 0.5887 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003998/0.4196, allocations: 2.081 MB / 0.5907 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000879/0.4205, allocations: 0.6914 MB / 0.5914 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005328/0.4258, allocations: 3.491 MB / 0.5948 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.4259, allocations: 46.98 kB / 0.5949 GB, free: 13.55 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.976e-06/0.4259, allocations: 3.938 kB / 0.5949 GB, free: 13.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.004966/0.4309, allocations: 1.974 MB / 0.5968 GB, free: 11.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.4309, allocations: 59.84 kB / 0.5968 GB, free: 11.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00289/0.4338, allocations: 1.962 MB / 0.5988 GB, free: 9.535 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-05/0.434, allocations: 37.7 kB / 0.5988 GB, free: 9.492 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001897/0.4359, allocations: 1.883 MB / 0.6006 GB, free: 7.578 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004052/0.4363, allocations: 312.1 kB / 0.6009 GB, free: 7.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.4375, allocations: 0.623 MB / 0.6015 GB, free: 6.637 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.4378, allocations: 361.9 kB / 0.6019 GB, free: 6.277 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/0.4398, allocations: 0.8842 MB / 0.6027 GB, free: 5.391 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003628/0.4434, allocations: 2.778 MB / 0.6055 GB, free: 1.672 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006023/0.4495, allocations: 3.999 MB / 0.6094 GB, free: 12.74 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.336e-05/0.4495, allocations: 20 kB / 0.6094 GB, free: 12.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.007977/0.4575, allocations: 3.553 MB / 0.6129 GB, free: 9.156 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.592e-05/0.4576, allocations: 36.94 kB / 0.6129 GB, free: 9.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/0.4577, allocations: 68 kB / 0.613 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/0.4579, allocations: 87.94 kB / 0.613 GB, free: 8.969 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002868/0.4607, allocations: 0.6667 MB / 0.6137 GB, free: 8.301 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000153/0.4609, allocations: 131.5 kB / 0.6138 GB, free: 8.172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/0.4639, allocations: 419.5 kB / 0.6142 GB, free: 7.758 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003519/0.4642, allocations: 188 kB / 0.6144 GB, free: 7.574 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.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 (365): * Single equations (assignments): 360 * 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.002743/0.467, allocations: 1.377 MB / 0.6157 GB, free: 6.188 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003557/0.4673, allocations: 161.8 kB / 0.6159 GB, free: 6.027 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005132/0.4679, allocations: 197.2 kB / 0.6161 GB, free: 5.832 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/0.4679, allocations: 8 kB / 0.6161 GB, free: 5.824 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.4679, allocations: 3.984 kB / 0.6161 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4679, allocations: 0 / 0.6161 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008309/0.4763, allocations: 4.137 MB / 0.6201 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.4763, allocations: 4 kB / 0.6201 GB, free: 1.543 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.4767, allocations: 99.81 kB / 0.6202 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.4767, allocations: 12 kB / 0.6202 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.4767, allocations: 15.98 kB / 0.6203 GB, free: 1.418 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.4768, allocations: 15.92 kB / 0.6203 GB, free: 1.402 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-05/0.4768, allocations: 11.94 kB / 0.6203 GB, free: 1.391 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.4781, allocations: 1.238 MB / 0.6215 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.4785, allocations: 250.7 kB / 0.6217 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.4787, allocations: 20 kB / 0.6218 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005019/0.4792, allocations: 27.97 kB / 0.6218 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/0.4793, allocations: 55.83 kB / 0.6218 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.093e-05/0.4794, allocations: 27.94 kB / 0.6219 GB, free: 15.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001649/0.481, allocations: 1.287 MB / 0.6231 GB, free: 14.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.481, allocations: 4 kB / 0.6231 GB, free: 14.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00228/0.4833, allocations: 0.7115 MB / 0.6238 GB, free: 13.66 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.0002803/0.4836, allocations: 143 kB / 0.624 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002829/0.4865, allocations: 2.053 MB / 0.626 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4865, allocations: 0 / 0.626 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005128/0.487, allocations: 461 kB / 0.6264 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.4882, allocations: 252.8 kB / 0.6266 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008619/0.4969, allocations: 5.432 MB / 0.6319 GB, free: 5.242 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002504/0.4994, allocations: 2.323 MB / 0.6342 GB, free: 2.887 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.4998, allocations: 143.4 kB / 0.6343 GB, free: 2.746 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4998, allocations: 0 / 0.6343 GB, free: 2.746 MB / 494.1 MB Notification: Performance of Templates: time 0.04143/0.5413, allocations: 30.82 MB / 0.6644 GB, free: 3.977 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches