Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 96.2 kB / 15.69 MB, free: 484 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 174.9 kB / 16.56 MB, free: 6.848 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.413/1.413, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3587/0.3587, allocations: 43.55 MB / 314.5 MB, free: 8.777 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.000471/0.0004711, allocations: 12 kB / 383.9 MB, free: 8.051 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1219, allocations: 58.86 MB / 442.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2341/0.3561, allocations: 32.98 MB / 475.7 MB, free: 31.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01679/0.3729, allocations: 7.578 MB / 483.3 MB, free: 26.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00671/0.3797, allocations: 153 kB / 483.5 MB, free: 26.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004953/0.3847, allocations: 1.673 MB / 485.1 MB, free: 25.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01446/0.3991, allocations: 4.78 MB / 489.9 MB, free: 23.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.4007, allocations: 222.9 kB / 490.1 MB, free: 23.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002492/0.4032, allocations: 1.346 MB / 491.5 MB, free: 22.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00316/0.4064, allocations: 2.991 MB / 494.5 MB, free: 21.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006338/0.407, allocations: 0.5918 MB / 495.1 MB, free: 21.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007451/0.4078, allocations: 0.7643 MB / 495.8 MB, free: 20.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.408, allocations: 94.31 kB / 495.9 MB, free: 20.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.409, allocations: 0.5133 MB / 496.4 MB, free: 20.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008335/0.4099, allocations: 0.9731 MB / 497.4 MB, free: 20.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000428/0.4103, allocations: 0.5508 MB / 498 MB, free: 20.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004426/0.4147, allocations: 3.618 MB / 0.4898 GB, free: 19.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4148, allocations: 0.9375 kB / 0.4898 GB, free: 19.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4148, allocations: 0 / 0.4898 GB, free: 19.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001149/0.4149, allocations: 0 / 0.4898 GB, free: 19.42 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.005333/0.4202, allocations: 2.618 MB / 0.4924 GB, free: 17.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.4203, allocations: 10.42 kB / 0.4924 GB, free: 17.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006495/0.4268, allocations: 1.932 MB / 0.4943 GB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003347/0.4301, allocations: 1.368 MB / 0.4956 GB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.4303, allocations: 149.4 kB / 0.4957 GB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003742/0.4307, allocations: 205.2 kB / 0.4959 GB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.4424, allocations: 6.813 MB / 0.5026 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.525e-05/0.4425, allocations: 13.38 kB / 0.5026 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002818/0.4428, allocations: 96.06 kB / 0.5027 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002331/0.4451, allocations: 1.473 MB / 0.5041 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/0.456, allocations: 5.839 MB / 0.5098 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02511/0.4811, allocations: 21.63 MB / 0.531 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004218/0.4854, allocations: 2.248 MB / 0.5332 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006474/0.4919, allocations: 3.768 MB / 0.5368 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.492, allocations: 39.34 kB / 0.5369 GB, free: 14.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 4.969e-06/0.492, allocations: 3.984 kB / 0.5369 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005703/0.4977, allocations: 2.457 MB / 0.5393 GB, free: 11.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.4978, allocations: 59.97 kB / 0.5393 GB, free: 11.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003092/0.5009, allocations: 2.008 MB / 0.5413 GB, free: 9.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/0.5009, allocations: 37.7 kB / 0.5413 GB, free: 9.703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00135/0.5023, allocations: 1.964 MB / 0.5433 GB, free: 7.707 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.5026, allocations: 363.3 kB / 0.5436 GB, free: 7.348 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.5027, allocations: 64 kB / 0.5437 GB, free: 7.285 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002989/0.503, allocations: 0.49 MB / 0.5441 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.5046, allocations: 0.9588 MB / 0.5451 GB, free: 5.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002839/0.5074, allocations: 2.887 MB / 0.5479 GB, free: 1.965 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/0.5098, allocations: 1.676 MB / 0.5495 GB, free: 300 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.245e-05/0.5098, allocations: 20 kB / 0.5496 GB, free: 280 kB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.005354/0.5152, allocations: 3.757 MB / 0.5532 GB, free: 12.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/0.5152, allocations: 36 kB / 0.5533 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.995e-05/0.5153, allocations: 71.94 kB / 0.5533 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.379e-05/0.5154, allocations: 108 kB / 0.5534 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.5174, allocations: 0.7103 MB / 0.5541 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001138/0.5175, allocations: 139.5 kB / 0.5543 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.5196, allocations: 443.2 kB / 0.5547 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/0.5199, allocations: 200 kB / 0.5549 GB, free: 10.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002642/0.5225, allocations: 1.423 MB / 0.5563 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.5228, allocations: 169.8 kB / 0.5564 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.5245, allocations: 1.189 MB / 0.5576 GB, free: 8.016 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/0.5246, allocations: 12 kB / 0.5576 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5246, allocations: 3.953 kB / 0.5576 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.5246, allocations: 3.984 kB / 0.5576 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007598/0.5322, allocations: 4.983 MB / 0.5625 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.5322, allocations: 8 kB / 0.5625 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.5327, allocations: 131.8 kB / 0.5626 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.5327, allocations: 12 kB / 0.5626 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.103e-05/0.5328, allocations: 24 kB / 0.5626 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-05/0.5328, allocations: 19.92 kB / 0.5627 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/0.5328, allocations: 19.94 kB / 0.5627 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.5348, allocations: 2.188 MB / 0.5648 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/0.5352, allocations: 278.5 kB / 0.5651 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.5354, allocations: 27.98 kB / 0.5651 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.536, allocations: 31.97 kB / 0.5651 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.5361, allocations: 75.72 kB / 0.5652 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/0.5361, allocations: 36 kB / 0.5652 GB, free: 15.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001702/0.5378, allocations: 1.312 MB / 0.5665 GB, free: 14.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5379, allocations: 3.938 kB / 0.5665 GB, free: 14.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002578/0.5404, allocations: 0.7504 MB / 0.5673 GB, free: 13.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002861/0.5407, allocations: 159 kB / 0.5674 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002991/0.5437, allocations: 2.208 MB / 0.5696 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5437, allocations: 0 / 0.5696 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006732/0.5444, allocations: 0.5417 MB / 0.5701 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008746/0.5453, allocations: 232 kB / 0.5703 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009076/0.5544, allocations: 6.714 MB / 0.5769 GB, free: 3.438 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002413/0.5568, allocations: 2.463 MB / 0.5793 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002341/0.5592, allocations: 1.012 MB / 0.5803 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.5595, allocations: 131.4 kB / 0.5804 GB, free: 15.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.442e-06/0.5595, allocations: 0 / 0.5804 GB, free: 15.8 MB / 462.1 MB Notification: Performance of Templates: time 0.02835/0.5879, allocations: 14.67 MB / 0.5947 GB, free: 1.16 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches