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.001529/0.001529, allocations: 117 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001834/0.001834, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.4 MB, free: 10.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 46.09 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.45 kB / 417 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1226, allocations: 62.45 MB / 479.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.02942/0.1521, allocations: 30.31 MB / 0.4978 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.1657, allocations: 6.267 MB / 0.504 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005721/0.1715, allocations: 119.8 kB / 0.5041 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2282/0.3997, allocations: 1.928 MB / 0.506 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002802/0.4026, allocations: 1.034 MB / 0.507 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007846/0.4034, allocations: 268.6 kB / 0.5072 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003272/0.4067, allocations: 2.353 MB / 0.5095 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003084/0.4098, allocations: 2.412 MB / 0.5119 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.4111, allocations: 0.895 MB / 0.5128 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.4126, allocations: 1.255 MB / 0.514 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003321/0.413, allocations: 196.8 kB / 0.5142 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.4143, allocations: 0.708 MB / 0.5149 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.4157, allocations: 1.128 MB / 0.516 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.4172, allocations: 1.313 MB / 0.5172 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005285/0.4225, allocations: 4.182 MB / 0.5213 GB, free: 8.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.4225, allocations: 0 / 0.5213 GB, free: 8.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.4225, allocations: 0 / 0.5213 GB, free: 8.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001225/0.4226, allocations: 3.938 kB / 0.5213 GB, free: 8.758 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.007513/0.4302, allocations: 2.863 MB / 0.5241 GB, free: 7.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.4302, allocations: 9.438 kB / 0.5241 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005156/0.4354, allocations: 1.558 MB / 0.5257 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003252/0.4387, allocations: 1.32 MB / 0.527 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.4388, allocations: 143.7 kB / 0.5271 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004256/0.4392, allocations: 188.3 kB / 0.5273 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/0.4501, allocations: 6.249 MB / 0.5334 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/0.4502, allocations: 10.91 kB / 0.5334 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.4505, allocations: 90.05 kB / 0.5335 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001865/0.4523, allocations: 1.346 MB / 0.5348 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.4628, allocations: 5.333 MB / 0.54 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02777/0.4906, allocations: 20.13 MB / 0.5596 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004298/0.495, allocations: 2.077 MB / 0.5617 GB, free: 7.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009288/0.4959, allocations: 0.6875 MB / 0.5623 GB, free: 6.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005754/0.5017, allocations: 3.492 MB / 0.5658 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.5018, allocations: 35 kB / 0.5658 GB, free: 3.199 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.755e-06/0.5018, allocations: 8 kB / 0.5658 GB, free: 3.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.004972/0.5068, allocations: 1.968 MB / 0.5677 GB, free: 1.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.5068, allocations: 58.47 kB / 0.5678 GB, free: 1.148 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.5095, allocations: 1.936 MB / 0.5697 GB, free: 15.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/0.5096, allocations: 37.7 kB / 0.5697 GB, free: 15.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.5108, allocations: 1.836 MB / 0.5715 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.511, allocations: 316.1 kB / 0.5718 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007597/0.5118, allocations: 0.6177 MB / 0.5724 GB, free: 12.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.512, allocations: 361.9 kB / 0.5727 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.5131, allocations: 0.8842 MB / 0.5736 GB, free: 11.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002607/0.5158, allocations: 2.75 MB / 0.5763 GB, free: 7.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004268/0.52, allocations: 3.966 MB / 0.5802 GB, free: 2.879 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-05/0.5201, allocations: 22.91 kB / 0.5802 GB, free: 2.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005453/0.5256, allocations: 3.513 MB / 0.5836 GB, free: 15.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.5256, allocations: 38.28 kB / 0.5837 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.266e-05/0.5257, allocations: 68.66 kB / 0.5837 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-05/0.5258, allocations: 88 kB / 0.5838 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.5275, allocations: 0.6642 MB / 0.5845 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.879e-05/0.5276, allocations: 128.1 kB / 0.5846 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.5295, allocations: 418.2 kB / 0.585 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/0.5297, allocations: 188 kB / 0.5852 GB, free: 14.25 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.00212/0.5318, allocations: 1.352 MB / 0.5865 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.5321, allocations: 161.3 kB / 0.5866 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.5324, allocations: 192.9 kB / 0.5868 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.5325, allocations: 15.98 kB / 0.5868 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5325, allocations: 0 / 0.5868 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5325, allocations: 0 / 0.5868 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006158/0.5386, allocations: 4.072 MB / 0.5908 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.5387, allocations: 8 kB / 0.5908 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.5391, allocations: 99.81 kB / 0.5909 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.5391, allocations: 8 kB / 0.5909 GB, free: 8.281 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.5391, allocations: 20 kB / 0.5909 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.5392, allocations: 16.52 kB / 0.591 GB, free: 8.246 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.5392, allocations: 11.94 kB / 0.591 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.5406, allocations: 1.233 MB / 0.5922 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.5409, allocations: 250.8 kB / 0.5924 GB, free: 6.645 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.5411, allocations: 15.98 kB / 0.5924 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004685/0.5416, allocations: 27.92 kB / 0.5924 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/0.5417, allocations: 51.81 kB / 0.5925 GB, free: 6.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/0.5417, allocations: 35.36 kB / 0.5925 GB, free: 6.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001666/0.5434, allocations: 1.267 MB / 0.5938 GB, free: 5.262 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5434, allocations: 0 / 0.5938 GB, free: 5.262 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00266/0.5461, allocations: 0.6804 MB / 0.5944 GB, free: 4.578 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.0003019/0.5464, allocations: 147 kB / 0.5946 GB, free: 4.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003012/0.5494, allocations: 2.244 MB / 0.5968 GB, free: 2.203 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.5494, allocations: 64 / 0.5968 GB, free: 2.203 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005201/0.55, allocations: 463.8 kB / 0.5972 GB, free: 1.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.5512, allocations: 242.8 kB / 0.5974 GB, free: 1.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009227/0.5604, allocations: 6.342 MB / 0.6036 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002452/0.5629, allocations: 2.271 MB / 0.6058 GB, free: 8.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002161/0.5651, allocations: 0.948 MB / 0.6068 GB, free: 7.816 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.5654, allocations: 123.4 kB / 0.6069 GB, free: 7.695 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5654, allocations: 0 / 0.6069 GB, free: 7.695 MB / 462.1 MB Notification: Performance of Templates: time 0.02787/0.5933, allocations: 14.12 MB / 0.6207 GB, free: 9.664 MB / 478.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches