Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001131/0.001131, allocations: 117 kB / 18.39 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 204.5 kB / 19.34 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2055/0.2055, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 76.44 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1149, allocations: 62.45 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01059/0.1255, allocations: 9.514 MB / 491 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005906/0.1315, allocations: 2.928 MB / 493.9 MB, free: 8.039 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.1328, allocations: 51.94 kB / 493.9 MB, free: 7.988 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003456/0.1363, allocations: 1.994 MB / 495.9 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.1387, allocations: 1.109 MB / 497 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.1393, allocations: 295.4 kB / 497.3 MB, free: 4.586 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002564/0.1419, allocations: 2.325 MB / 499.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002371/0.1443, allocations: 2.305 MB / 0.4902 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009956/0.1453, allocations: 0.8839 MB / 0.4911 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.1465, allocations: 1.149 MB / 0.4922 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002553/0.1468, allocations: 195.9 kB / 0.4924 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.1478, allocations: 0.6944 MB / 0.493 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008596/0.1487, allocations: 1.11 MB / 0.4941 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.1498, allocations: 1.301 MB / 0.4954 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003677/0.1535, allocations: 4.317 MB / 0.4996 GB, free: 6.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1535, allocations: 0 / 0.4996 GB, free: 6.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1535, allocations: 0 / 0.4996 GB, free: 6.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.423e-05/0.1536, allocations: 0 / 0.4996 GB, free: 6.23 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.004454/0.158, allocations: 2.865 MB / 0.5024 GB, free: 3.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1581, allocations: 8.031 kB / 0.5024 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00437/0.1625, allocations: 1.557 MB / 0.5039 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/0.1652, allocations: 1.34 MB / 0.5053 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.1653, allocations: 140 kB / 0.5054 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/0.1656, allocations: 199.8 kB / 0.5056 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1986/0.3642, allocations: 6.235 MB / 0.5117 GB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.978e-05/0.3643, allocations: 13.53 kB / 0.5117 GB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/0.3645, allocations: 92.06 kB / 0.5118 GB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002105/0.3666, allocations: 1.351 MB / 0.5131 GB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009547/0.3762, allocations: 5.32 MB / 0.5183 GB, free: 35.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02193/0.3982, allocations: 20.03 MB / 0.5378 GB, free: 21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.4014, allocations: 2.009 MB / 0.5398 GB, free: 18.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000677/0.4021, allocations: 0.6952 MB / 0.5405 GB, free: 18.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005377/0.4075, allocations: 3.599 MB / 0.544 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.4075, allocations: 42.98 kB / 0.544 GB, free: 14.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.996e-06/0.4075, allocations: 0 / 0.544 GB, free: 14.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004325/0.4119, allocations: 1.981 MB / 0.546 GB, free: 12.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.4119, allocations: 55.84 kB / 0.546 GB, free: 12.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.4137, allocations: 1.941 MB / 0.5479 GB, free: 10.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.4138, allocations: 37.7 kB / 0.548 GB, free: 10.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006256/0.4144, allocations: 1.833 MB / 0.5497 GB, free: 8.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.4146, allocations: 312 kB / 0.55 GB, free: 8.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005166/0.4151, allocations: 0.6185 MB / 0.5507 GB, free: 7.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.4152, allocations: 361.9 kB / 0.551 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008905/0.4161, allocations: 0.8881 MB / 0.5519 GB, free: 6.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.4175, allocations: 2.744 MB / 0.5545 GB, free: 2.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003313/0.4209, allocations: 3.975 MB / 0.5584 GB, free: 13.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.401e-05/0.4209, allocations: 20 kB / 0.5584 GB, free: 13.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005162/0.4261, allocations: 3.518 MB / 0.5619 GB, free: 10.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.4262, allocations: 32 kB / 0.5619 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.985e-05/0.4262, allocations: 68 kB / 0.562 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.364e-05/0.4263, allocations: 97.61 kB / 0.5621 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.428, allocations: 0.6511 MB / 0.5627 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001106/0.4282, allocations: 139.4 kB / 0.5628 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.43, allocations: 411.5 kB / 0.5632 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/0.4303, allocations: 192 kB / 0.5634 GB, free: 8.578 MB / 398.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 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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.001979/0.4323, allocations: 1.334 MB / 0.5647 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.4325, allocations: 153.9 kB / 0.5649 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.4328, allocations: 200.9 kB / 0.5651 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.4329, allocations: 16.38 kB / 0.5651 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.4329, allocations: 0 / 0.5651 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.4329, allocations: 7.984 kB / 0.5651 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006418/0.4393, allocations: 4.021 MB / 0.569 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.4394, allocations: 11.06 kB / 0.569 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.4398, allocations: 107.8 kB / 0.5691 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.4398, allocations: 8 kB / 0.5691 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/0.4398, allocations: 20 kB / 0.5691 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/0.4398, allocations: 11.94 kB / 0.5692 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.4399, allocations: 11.94 kB / 0.5692 GB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.4413, allocations: 1.253 MB / 0.5704 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004433/0.4418, allocations: 258.7 kB / 0.5706 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.4419, allocations: 16 kB / 0.5707 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/0.4424, allocations: 31.95 kB / 0.5707 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.204e-05/0.4425, allocations: 59.77 kB / 0.5707 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.4426, allocations: 28 kB / 0.5708 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001592/0.4442, allocations: 1.271 MB / 0.572 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4442, allocations: 0 / 0.572 GB, free: 15.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002701/0.4469, allocations: 0.679 MB / 0.5727 GB, free: 14.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0003267/0.4472, allocations: 140.3 kB / 0.5728 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002939/0.4502, allocations: 2.059 MB / 0.5748 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4502, allocations: 0 / 0.5748 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005596/0.4507, allocations: 465.7 kB / 0.5753 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.452, allocations: 239.2 kB / 0.5755 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008051/0.46, allocations: 5.047 MB / 0.5804 GB, free: 6.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/0.4624, allocations: 2.271 MB / 0.5826 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002009/0.4644, allocations: 0.9559 MB / 0.5836 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.4647, allocations: 123.4 kB / 0.5837 GB, free: 3.41 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4647, allocations: 0 / 0.5837 GB, free: 3.41 MB / 414.1 MB Notification: Performance of Templates: time 0.02935/0.494, allocations: 14.11 MB / 0.5975 GB, free: 5.336 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches