Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.9 MB, free: 9.016 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.11 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 78.5 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.125, allocations: 62.44 MB / 479.9 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.02663/0.1517, allocations: 30.3 MB / 0.4983 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.1651, allocations: 6.329 MB / 0.5045 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005054/0.1702, allocations: 127.7 kB / 0.5046 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.235/0.4052, allocations: 1.988 MB / 0.5065 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.4084, allocations: 1.041 MB / 0.5075 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008206/0.4092, allocations: 265.3 kB / 0.5078 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004893/0.4142, allocations: 3.37 MB / 0.5111 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003196/0.4174, allocations: 2.285 MB / 0.5133 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.4188, allocations: 0.7792 MB / 0.5141 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.4206, allocations: 1.223 MB / 0.5153 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000414/0.421, allocations: 147.4 kB / 0.5154 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.4227, allocations: 0.6946 MB / 0.5161 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.424, allocations: 1.073 MB / 0.5171 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.4253, allocations: 1.268 MB / 0.5184 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00365/0.4289, allocations: 3.395 MB / 0.5217 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4289, allocations: 1.312 kB / 0.5217 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.4289, allocations: 0 / 0.5217 GB, free: 9.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.014e-05/0.429, allocations: 0 / 0.5217 GB, free: 9.207 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.005277/0.4343, allocations: 2.868 MB / 0.5245 GB, free: 7.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.4344, allocations: 13.34 kB / 0.5245 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00458/0.439, allocations: 1.555 MB / 0.526 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.4411, allocations: 1.322 MB / 0.5273 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.4413, allocations: 152 kB / 0.5275 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003044/0.4416, allocations: 183.8 kB / 0.5276 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008125/0.4497, allocations: 6.25 MB / 0.5337 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.4498, allocations: 11.03 kB / 0.5337 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002325/0.45, allocations: 86.7 kB / 0.5338 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001634/0.4516, allocations: 1.348 MB / 0.5351 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008656/0.4603, allocations: 5.333 MB / 0.5403 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02707/0.4874, allocations: 20.13 MB / 0.56 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004523/0.492, allocations: 2.079 MB / 0.562 GB, free: 7.656 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.4931, allocations: 0.6862 MB / 0.5627 GB, free: 6.969 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00672/0.4998, allocations: 3.489 MB / 0.5661 GB, free: 3.355 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.4999, allocations: 42.98 kB / 0.5662 GB, free: 3.305 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.187e-06/0.4999, allocations: 4 kB / 0.5662 GB, free: 3.301 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005445/0.5053, allocations: 1.976 MB / 0.5681 GB, free: 1.316 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.5055, allocations: 55.84 kB / 0.5681 GB, free: 1.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/0.5091, allocations: 1.93 MB / 0.57 GB, free: 15.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/0.5092, allocations: 41.14 kB / 0.5701 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001385/0.5106, allocations: 1.837 MB / 0.5719 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003943/0.511, allocations: 313.2 kB / 0.5722 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009535/0.512, allocations: 0.6181 MB / 0.5728 GB, free: 12.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.5122, allocations: 361.9 kB / 0.5731 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.5136, allocations: 0.8842 MB / 0.574 GB, free: 11.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/0.5163, allocations: 2.754 MB / 0.5767 GB, free: 7.602 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004564/0.5209, allocations: 3.974 MB / 0.5805 GB, free: 2.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-05/0.521, allocations: 20 kB / 0.5806 GB, free: 2.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006178/0.5272, allocations: 3.512 MB / 0.584 GB, free: 15.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/0.5273, allocations: 32 kB / 0.584 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/0.5274, allocations: 68.09 kB / 0.5841 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.84e-05/0.5275, allocations: 92 kB / 0.5842 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/0.5296, allocations: 0.6629 MB / 0.5848 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001134/0.5297, allocations: 131.8 kB / 0.5849 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/0.5319, allocations: 411.5 kB / 0.5853 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003692/0.5323, allocations: 191.1 kB / 0.5855 GB, free: 14.36 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.002456/0.5348, allocations: 1.347 MB / 0.5868 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.5351, allocations: 153.9 kB / 0.587 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004291/0.5355, allocations: 200.8 kB / 0.5872 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.5355, allocations: 12 kB / 0.5872 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.5356, allocations: 0 / 0.5872 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.5356, allocations: 3.984 kB / 0.5872 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008216/0.5438, allocations: 4.068 MB / 0.5912 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.5438, allocations: 8 kB / 0.5912 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/0.5443, allocations: 95.83 kB / 0.5913 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/0.5443, allocations: 8 kB / 0.5913 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/0.5443, allocations: 23.98 kB / 0.5913 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-05/0.5444, allocations: 15.88 kB / 0.5913 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/0.5444, allocations: 8 kB / 0.5913 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.546, allocations: 1.239 MB / 0.5925 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005027/0.5465, allocations: 250.7 kB / 0.5928 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003146/0.5468, allocations: 16 kB / 0.5928 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005857/0.5474, allocations: 31.91 kB / 0.5928 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.655e-05/0.5475, allocations: 47.83 kB / 0.5929 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/0.5476, allocations: 28 kB / 0.5929 GB, free: 6.637 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002203/0.5498, allocations: 1.275 MB / 0.5941 GB, free: 5.371 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5498, allocations: 0 / 0.5941 GB, free: 5.371 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002967/0.5528, allocations: 0.6826 MB / 0.5948 GB, free: 4.688 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.0003832/0.5532, allocations: 141.6 kB / 0.5949 GB, free: 4.543 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003125/0.5563, allocations: 2.023 MB / 0.5969 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.5564, allocations: 0 / 0.5969 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005747/0.5569, allocations: 463.5 kB / 0.5973 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.5583, allocations: 224.3 kB / 0.5976 GB, free: 1.871 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.5695, allocations: 6.658 MB / 0.6041 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003135/0.5727, allocations: 2.279 MB / 0.6063 GB, free: 8.793 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005193/0.5732, allocations: 143.4 kB / 0.6064 GB, free: 8.652 MB / 462.1 MB Notification: Performance of SimCode: time 1.413e-06/0.5732, allocations: 0 / 0.6064 GB, free: 8.652 MB / 462.1 MB Notification: Performance of Templates: time 0.04452/0.6177, allocations: 29.81 MB / 0.6355 GB, free: 10.91 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches