Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1954/0.1954, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 75.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1057, allocations: 62.44 MB / 481.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01506/0.1208, allocations: 15 MB / 496.5 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009744/0.1305, allocations: 5.038 MB / 0.4897 GB, free: 424 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.1326, allocations: 115.7 kB / 0.4898 GB, free: 308 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009848/0.1425, allocations: 5.978 MB / 0.4957 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00653/0.1491, allocations: 2.735 MB / 0.4984 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.1522, allocations: 1.583 MB / 0.4999 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1963/0.3485, allocations: 7.771 MB / 0.5075 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007734/0.3563, allocations: 7.385 MB / 0.5147 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004403/0.3607, allocations: 2.973 MB / 0.5176 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005164/0.3659, allocations: 3.775 MB / 0.5213 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001562/0.3675, allocations: 0.57 MB / 0.5218 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.3702, allocations: 1.397 MB / 0.5232 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002599/0.3728, allocations: 3.462 MB / 0.5266 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0027/0.3755, allocations: 3.831 MB / 0.5303 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007372/0.3829, allocations: 11.59 MB / 0.5417 GB, free: 2.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.383, allocations: 0 / 0.5417 GB, free: 2.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.383, allocations: 0 / 0.5417 GB, free: 2.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002168/0.3832, allocations: 3.219 kB / 0.5417 GB, free: 2.688 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: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01266/0.3958, allocations: 8.447 MB / 0.5499 GB, free: 12.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3959, allocations: 12.03 kB / 0.5499 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008467/0.4044, allocations: 2.478 MB / 0.5523 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007365/0.4117, allocations: 4.51 MB / 0.5567 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002754/0.412, allocations: 431.5 kB / 0.5572 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008375/0.4129, allocations: 0.5452 MB / 0.5577 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02724/0.4401, allocations: 16.67 MB / 0.574 GB, free: 3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002293/0.4404, allocations: 82.39 kB / 0.574 GB, free: 2.953 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001228/0.4416, allocations: 258.1 kB / 0.5743 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004047/0.4457, allocations: 2.923 MB / 0.5771 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02481/0.4705, allocations: 12.78 MB / 0.5896 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07253/0.5431, allocations: 63.96 MB / 0.6521 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/0.5577, allocations: 5.374 MB / 0.6573 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002846/0.5605, allocations: 2.114 MB / 0.6594 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01561/0.5762, allocations: 9.929 MB / 0.6691 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.5762, allocations: 55.52 kB / 0.6692 GB, free: 488 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.418e-06/0.5763, allocations: 4 kB / 0.6692 GB, free: 484 kB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.03506/0.6113, allocations: 13.95 MB / 0.6828 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/0.6114, allocations: 157.5 kB / 0.6829 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00816/0.6196, allocations: 6.284 MB / 0.6891 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002968/0.6199, allocations: 57.7 kB / 0.6891 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003305/0.6232, allocations: 5.073 MB / 0.6941 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007908/0.624, allocations: 0.8245 MB / 0.6949 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001853/0.6259, allocations: 1.674 MB / 0.6965 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.626, allocations: 303.3 kB / 0.6968 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003344/0.6294, allocations: 2.327 MB / 0.6991 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006642/0.636, allocations: 7.674 MB / 0.7066 GB, free: 7.547 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2164/0.8524, allocations: 10.87 MB / 0.7172 GB, free: 174.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001595/0.8526, allocations: 53.97 kB / 0.7172 GB, free: 174.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01686/0.8695, allocations: 9.645 MB / 0.7267 GB, free: 172.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.8697, allocations: 90.91 kB / 0.7267 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002692/0.8699, allocations: 189.8 kB / 0.7269 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000327/0.8703, allocations: 250.6 kB / 0.7272 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005918/0.8762, allocations: 1.926 MB / 0.729 GB, free: 172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003305/0.8765, allocations: 372.3 kB / 0.7294 GB, free: 171.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005345/0.8819, allocations: 416.7 kB / 0.7298 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007897/0.8827, allocations: 0.5202 MB / 0.7303 GB, free: 171.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.004526/0.8872, allocations: 3.285 MB / 0.7335 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000756/0.888, allocations: 0.524 MB / 0.734 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009675/0.889, allocations: 0.6216 MB / 0.7346 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.889, allocations: 31.33 kB / 0.7347 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.889, allocations: 0.5625 kB / 0.7347 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.889, allocations: 8.391 kB / 0.7347 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01857/0.9076, allocations: 14.99 MB / 0.7493 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.134e-05/0.9077, allocations: 46.62 kB / 0.7494 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.9089, allocations: 451.5 kB / 0.7498 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.269e-05/0.909, allocations: 66.8 kB / 0.7498 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/0.9091, allocations: 101.5 kB / 0.7499 GB, free: 163.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.556e-05/0.9091, allocations: 89.08 kB / 0.75 GB, free: 163.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-05/0.9092, allocations: 74.5 kB / 0.7501 GB, free: 163.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.9126, allocations: 4.294 MB / 0.7543 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.9137, allocations: 0.6268 MB / 0.7549 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000466/0.9142, allocations: 116.9 kB / 0.755 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/0.9159, allocations: 109.1 kB / 0.7551 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/0.9162, allocations: 317.8 kB / 0.7554 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.9163, allocations: 120 kB / 0.7555 GB, free: 160.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005226/0.9215, allocations: 3.936 MB / 0.7594 GB, free: 158.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.5e-07/0.9216, allocations: 0 / 0.7594 GB, free: 158.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007808/0.9294, allocations: 1.317 MB / 0.7607 GB, free: 158.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.0005473/0.9299, allocations: 266.1 kB / 0.7609 GB, free: 158.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007208/0.9372, allocations: 5.482 MB / 0.7663 GB, free: 153.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.583e-05/0.9372, allocations: 8 kB / 0.7663 GB, free: 153.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.9385, allocations: 1.201 MB / 0.7675 GB, free: 152.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/0.9431, allocations: 0.8855 MB / 0.7683 GB, free: 151.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/0.9628, allocations: 15.03 MB / 0.783 GB, free: 137.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005303/0.9681, allocations: 5.082 MB / 0.788 GB, free: 132.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005172/0.9733, allocations: 2.542 MB / 0.7904 GB, free: 129.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009087/0.9742, allocations: 359.4 kB / 0.7908 GB, free: 129.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/0.9742, allocations: 2.953 kB / 0.7908 GB, free: 129.5 MB / 0.545 GB Notification: Performance of Templates: time 0.0664/1.041, allocations: 36.22 MB / 0.8262 GB, free: 93.68 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches