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.0009965/0.0009967, allocations: 88.19 kB / 15.7 MB, free: 460 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.001379/0.001379, allocations: 174.4 kB / 16.58 MB, free: 6.84 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.663/1.663, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.4134/0.4134, allocations: 43.58 MB / 314.6 MB, free: 9.008 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.0005583/0.0005587, allocations: 12 kB / 383.9 MB, free: 8.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1487, allocations: 58.87 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.3171/0.4658, allocations: 34.84 MB / 477.7 MB, free: 30.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02015/0.486, allocations: 7.262 MB / 484.9 MB, free: 25.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009931/0.496, allocations: 155.1 kB / 485.1 MB, free: 25.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005473/0.5015, allocations: 1.519 MB / 486.6 MB, free: 24.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01409/0.5156, allocations: 4.442 MB / 491 MB, free: 23.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.5174, allocations: 242.5 kB / 491.3 MB, free: 23.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003737/0.5212, allocations: 2.78 MB / 494 MB, free: 22.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005302/0.5265, allocations: 3.007 MB / 497.1 MB, free: 20.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002667/0.5292, allocations: 0.727 MB / 497.8 MB, free: 20.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002918/0.5321, allocations: 1.123 MB / 498.9 MB, free: 20.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008297/0.533, allocations: 94.62 kB / 499 MB, free: 20.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.5351, allocations: 0.5266 MB / 499.5 MB, free: 20.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002256/0.5374, allocations: 1.043 MB / 0.4888 GB, free: 19.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00157/0.539, allocations: 0.5499 MB / 0.4894 GB, free: 19.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006499/0.5455, allocations: 3.611 MB / 0.4929 GB, free: 18.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5455, allocations: 12.81 kB / 0.4929 GB, free: 18.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.5455, allocations: 0 / 0.4929 GB, free: 18.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002019/0.5457, allocations: 0 / 0.4929 GB, free: 18.71 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.006333/0.5521, allocations: 2.56 MB / 0.4954 GB, free: 17.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.5521, allocations: 10.16 kB / 0.4954 GB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005472/0.5576, allocations: 1.647 MB / 0.497 GB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003232/0.5609, allocations: 1.37 MB / 0.4984 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.561, allocations: 157.8 kB / 0.4985 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004906/0.5615, allocations: 197.1 kB / 0.4987 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01345/0.575, allocations: 6.773 MB / 0.5053 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.642e-05/0.5751, allocations: 13.69 kB / 0.5053 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002861/0.5754, allocations: 100 kB / 0.5054 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002841/0.5782, allocations: 1.473 MB / 0.5069 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.5899, allocations: 5.78 MB / 0.5125 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03206/0.622, allocations: 21.59 MB / 0.5336 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004911/0.627, allocations: 2.244 MB / 0.5358 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.6283, allocations: 0.7839 MB / 0.5365 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007179/0.6355, allocations: 3.749 MB / 0.5402 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.6355, allocations: 39.12 kB / 0.5402 GB, free: 11.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 2.805e-06/0.6356, allocations: 0 / 0.5402 GB, free: 11.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.006113/0.6417, allocations: 2.197 MB / 0.5424 GB, free: 9.043 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.6417, allocations: 55.97 kB / 0.5424 GB, free: 8.977 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003082/0.6448, allocations: 2.012 MB / 0.5444 GB, free: 6.965 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.6449, allocations: 41.7 kB / 0.5444 GB, free: 6.918 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.6462, allocations: 1.957 MB / 0.5464 GB, free: 4.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003327/0.6466, allocations: 363.3 kB / 0.5467 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.6467, allocations: 63.98 kB / 0.5468 GB, free: 4.508 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003338/0.6471, allocations: 0.4939 MB / 0.5472 GB, free: 4.004 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.6486, allocations: 0.9588 MB / 0.5482 GB, free: 3.043 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003422/0.6521, allocations: 2.91 MB / 0.551 GB, free: 15.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00237/0.6544, allocations: 1.673 MB / 0.5527 GB, free: 13.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.779e-05/0.6545, allocations: 20 kB / 0.5527 GB, free: 13.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006079/0.6606, allocations: 3.753 MB / 0.5563 GB, free: 9.715 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.949e-05/0.6606, allocations: 36 kB / 0.5564 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.343e-05/0.6607, allocations: 68 kB / 0.5564 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/0.6608, allocations: 104 kB / 0.5565 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/0.6628, allocations: 0.7142 MB / 0.5572 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001156/0.663, allocations: 135.5 kB / 0.5574 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.6651, allocations: 447.2 kB / 0.5578 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/0.6654, allocations: 200 kB / 0.558 GB, free: 8.027 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.002715/0.6681, allocations: 1.427 MB / 0.5594 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.6683, allocations: 169.8 kB / 0.5595 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.6703, allocations: 1.185 MB / 0.5607 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.6703, allocations: 15.95 kB / 0.5607 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.6703, allocations: 0 / 0.5607 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.6704, allocations: 3.984 kB / 0.5607 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008246/0.6786, allocations: 4.983 MB / 0.5656 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.6786, allocations: 12.03 kB / 0.5656 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004985/0.6792, allocations: 131.8 kB / 0.5657 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-05/0.6792, allocations: 12 kB / 0.5657 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.155e-05/0.6792, allocations: 31.98 kB / 0.5658 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-05/0.6793, allocations: 19.92 kB / 0.5658 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.22e-05/0.6793, allocations: 15.94 kB / 0.5658 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.6811, allocations: 1.501 MB / 0.5673 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/0.6816, allocations: 274.5 kB / 0.5675 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.6818, allocations: 23.98 kB / 0.5675 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00052/0.6823, allocations: 39.91 kB / 0.5676 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.6824, allocations: 75.72 kB / 0.5677 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.995e-05/0.6825, allocations: 36 kB / 0.5677 GB, free: 13.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001841/0.6844, allocations: 1.312 MB / 0.569 GB, free: 12.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6844, allocations: 0 / 0.569 GB, free: 12.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002888/0.6873, allocations: 0.7505 MB / 0.5697 GB, free: 11.61 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.0003368/0.6876, allocations: 150.9 kB / 0.5699 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003488/0.6911, allocations: 2.213 MB / 0.572 GB, free: 9.262 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6912, allocations: 8.062 kB / 0.572 GB, free: 9.254 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007056/0.6919, allocations: 0.5293 MB / 0.5725 GB, free: 8.727 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.6932, allocations: 242.8 kB / 0.5728 GB, free: 8.484 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.7049, allocations: 6.733 MB / 0.5793 GB, free: 1.609 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003799/0.7088, allocations: 2.409 MB / 0.5817 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00299/0.7118, allocations: 1.012 MB / 0.5827 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/0.7123, allocations: 135.4 kB / 0.5828 GB, free: 14.02 MB / 462.1 MB Notification: Performance of SimCode: time 1.593e-06/0.7123, allocations: 0 / 0.5828 GB, free: 14.02 MB / 462.1 MB Notification: Performance of Templates: time 0.03433/0.7467, allocations: 14.68 MB / 0.5972 GB, free: 15.37 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (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) 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