Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001176/0.001176, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 8.973 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2214/0.2214, allocations: 46.11 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 71.86 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1181, allocations: 62.45 MB / 479.9 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.02698/0.1451, allocations: 30.3 MB / 0.4983 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01758/0.1627, allocations: 6.321 MB / 0.5045 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006122/0.1689, allocations: 131.7 kB / 0.5046 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2367/0.4056, allocations: 1.985 MB / 0.5065 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003171/0.4089, allocations: 1.045 MB / 0.5075 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008236/0.4097, allocations: 263 kB / 0.5078 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004899/0.4146, allocations: 3.367 MB / 0.5111 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003496/0.4182, allocations: 2.289 MB / 0.5133 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.4197, allocations: 0.7776 MB / 0.5141 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/0.4218, allocations: 1.227 MB / 0.5153 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000463/0.4223, allocations: 147 kB / 0.5154 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.424, allocations: 0.6916 MB / 0.5161 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.4253, allocations: 1.073 MB / 0.5171 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.4266, allocations: 1.276 MB / 0.5184 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004077/0.4307, allocations: 3.391 MB / 0.5217 GB, free: 9.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.4308, allocations: 0 / 0.5217 GB, free: 9.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4308, allocations: 4 kB / 0.5217 GB, free: 9.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001244/0.4309, allocations: 1.469 kB / 0.5217 GB, free: 9.199 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.007501/0.4384, allocations: 2.865 MB / 0.5245 GB, free: 7.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.4385, allocations: 8.875 kB / 0.5245 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00483/0.4433, allocations: 1.556 MB / 0.526 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/0.4462, allocations: 1.318 MB / 0.5273 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.465e-05/0.4463, allocations: 144 kB / 0.5274 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004186/0.4467, allocations: 186.6 kB / 0.5276 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009721/0.4564, allocations: 6.253 MB / 0.5337 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.963e-05/0.4565, allocations: 14.41 kB / 0.5337 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002491/0.4568, allocations: 94.64 kB / 0.5338 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001664/0.4584, allocations: 1.343 MB / 0.5351 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009738/0.4682, allocations: 5.325 MB / 0.5403 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03124/0.4995, allocations: 20.13 MB / 0.56 GB, free: 9.887 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004716/0.5042, allocations: 2.083 MB / 0.562 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.5054, allocations: 0.6885 MB / 0.5627 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006818/0.5122, allocations: 3.49 MB / 0.5661 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.5123, allocations: 39 kB / 0.5662 GB, free: 3.332 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.998e-06/0.5123, allocations: 0 / 0.5662 GB, free: 3.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005647/0.518, allocations: 1.982 MB / 0.5681 GB, free: 1.344 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.5181, allocations: 59.84 kB / 0.5682 GB, free: 1.273 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00403/0.5221, allocations: 1.93 MB / 0.57 GB, free: 15.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.586e-05/0.5222, allocations: 33.7 kB / 0.5701 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001512/0.5237, allocations: 1.843 MB / 0.5719 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003882/0.5241, allocations: 310.3 kB / 0.5722 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/0.5253, allocations: 0.6178 MB / 0.5728 GB, free: 12.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.5255, allocations: 365 kB / 0.5731 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.527, allocations: 0.8842 MB / 0.574 GB, free: 11.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/0.5297, allocations: 2.75 MB / 0.5767 GB, free: 7.633 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004415/0.5341, allocations: 3.969 MB / 0.5805 GB, free: 3.012 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.265e-05/0.5342, allocations: 20 kB / 0.5806 GB, free: 2.992 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006111/0.5403, allocations: 3.52 MB / 0.584 GB, free: 15.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.1e-05/0.5404, allocations: 36 kB / 0.584 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/0.5405, allocations: 64 kB / 0.5841 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.991e-05/0.5406, allocations: 88.81 kB / 0.5842 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.5425, allocations: 0.6586 MB / 0.5848 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001172/0.5427, allocations: 131.2 kB / 0.5849 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.5448, allocations: 419.5 kB / 0.5853 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003041/0.5451, allocations: 191.2 kB / 0.5855 GB, free: 14.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.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 (362): * Single equations (assignments): 357 * 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.002443/0.5475, allocations: 1.349 MB / 0.5868 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.5479, allocations: 153.9 kB / 0.587 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.5483, allocations: 196.9 kB / 0.5872 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.5483, allocations: 8 kB / 0.5872 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.5483, allocations: 0 / 0.5872 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.5484, allocations: 0 / 0.5872 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008148/0.5565, allocations: 4.081 MB / 0.5912 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.5565, allocations: 4 kB / 0.5912 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.557, allocations: 99.81 kB / 0.5913 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.557, allocations: 8 kB / 0.5913 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/0.557, allocations: 19.67 kB / 0.5913 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.496e-05/0.5571, allocations: 19.86 kB / 0.5913 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.5571, allocations: 8 kB / 0.5913 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.5586, allocations: 1.236 MB / 0.5925 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004943/0.5591, allocations: 246.7 kB / 0.5928 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003351/0.5595, allocations: 12 kB / 0.5928 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006312/0.5601, allocations: 39.91 kB / 0.5928 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.5603, allocations: 51.83 kB / 0.5929 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/0.5603, allocations: 24 kB / 0.5929 GB, free: 6.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002349/0.5627, allocations: 1.271 MB / 0.5941 GB, free: 5.398 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5627, allocations: 0 / 0.5941 GB, free: 5.398 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003129/0.5658, allocations: 0.6908 MB / 0.5948 GB, free: 4.707 MB / 446.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.0004001/0.5662, allocations: 143.4 kB / 0.5949 GB, free: 4.562 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003262/0.5695, allocations: 2.019 MB / 0.5969 GB, free: 2.559 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.5695, allocations: 3.938 kB / 0.5969 GB, free: 2.555 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005921/0.5701, allocations: 461 kB / 0.5974 GB, free: 2.105 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.5717, allocations: 215.9 kB / 0.5976 GB, free: 1.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.5841, allocations: 6.664 MB / 0.6041 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003439/0.5876, allocations: 2.275 MB / 0.6063 GB, free: 8.816 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005257/0.5881, allocations: 143.4 kB / 0.6064 GB, free: 8.676 MB / 462.1 MB Notification: Performance of SimCode: time 1.293e-06/0.5882, allocations: 4 kB / 0.6064 GB, free: 8.672 MB / 462.1 MB Notification: Performance of Templates: time 0.04839/0.6366, allocations: 29.81 MB / 0.6355 GB, free: 10.93 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches