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.001419/0.001419, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.205/0.205, allocations: 46.1 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 72.98 kB / 418.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1076, allocations: 62.45 MB / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01656/0.1242, allocations: 14.99 MB / 495.7 MB, free: 6.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.1354, allocations: 5.05 MB / 0.489 GB, free: 1.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003136/0.1386, allocations: 119.7 kB / 0.4891 GB, free: 1.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01151/0.1501, allocations: 5.966 MB / 0.4949 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007237/0.1575, allocations: 2.743 MB / 0.4976 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003844/0.1613, allocations: 1.571 MB / 0.4992 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2426/0.4039, allocations: 7.774 MB / 0.5067 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01457/0.4186, allocations: 7.405 MB / 0.514 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007209/0.4258, allocations: 2.965 MB / 0.5169 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00766/0.4335, allocations: 3.779 MB / 0.5206 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003191/0.4368, allocations: 0.5738 MB / 0.5211 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005414/0.4422, allocations: 1.386 MB / 0.5225 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006125/0.4484, allocations: 3.461 MB / 0.5259 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008731/0.4572, allocations: 3.832 MB / 0.5296 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01408/0.4713, allocations: 11.23 MB / 0.5406 GB, free: 2.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.4713, allocations: 3.938 kB / 0.5406 GB, free: 2.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4713, allocations: 0 / 0.5406 GB, free: 2.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005414/0.4719, allocations: 0 / 0.5406 GB, free: 2.562 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.02208/0.494, allocations: 8.455 MB / 0.5488 GB, free: 12.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.4941, allocations: 8.031 kB / 0.5488 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.5056, allocations: 2.474 MB / 0.5512 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00955/0.5152, allocations: 4.398 MB / 0.5555 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004711/0.5157, allocations: 435.2 kB / 0.556 GB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002237/0.5179, allocations: 0.5375 MB / 0.5565 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03544/0.5534, allocations: 16.68 MB / 0.5728 GB, free: 3.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002401/0.5537, allocations: 78.58 kB / 0.5728 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001458/0.5552, allocations: 264.8 kB / 0.5731 GB, free: 3.477 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004426/0.5596, allocations: 2.919 MB / 0.5759 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02853/0.5881, allocations: 12.79 MB / 0.5884 GB, free: 4.098 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09495/0.6831, allocations: 64.29 MB / 0.6512 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01619/0.6994, allocations: 5.373 MB / 0.6565 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003545/0.703, allocations: 2.118 MB / 0.6585 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01822/0.7212, allocations: 9.93 MB / 0.6682 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.7213, allocations: 50.67 kB / 0.6683 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.819e-06/0.7213, allocations: 5.594 kB / 0.6683 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.04151/0.7628, allocations: 13.95 MB / 0.6819 GB, free: 2.945 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.763, allocations: 153.4 kB / 0.6821 GB, free: 2.766 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01203/0.775, allocations: 6.282 MB / 0.6882 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003669/0.7755, allocations: 68.45 kB / 0.6883 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004639/0.7801, allocations: 5.074 MB / 0.6932 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00123/0.7814, allocations: 0.8221 MB / 0.694 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003479/0.7849, allocations: 1.672 MB / 0.6956 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.785, allocations: 301.1 kB / 0.6959 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003798/0.7888, allocations: 2.324 MB / 0.6982 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008085/0.7969, allocations: 7.679 MB / 0.7057 GB, free: 7.949 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2141/1.011, allocations: 10.87 MB / 0.7163 GB, free: 175.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001772/1.011, allocations: 55.19 kB / 0.7164 GB, free: 175.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01902/1.03, allocations: 9.65 MB / 0.7258 GB, free: 173.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/1.03, allocations: 94.58 kB / 0.7259 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003684/1.031, allocations: 189.9 kB / 0.7261 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003912/1.031, allocations: 249.8 kB / 0.7263 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006557/1.038, allocations: 1.926 MB / 0.7282 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004675/1.038, allocations: 372.4 kB / 0.7285 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006337/1.045, allocations: 413.1 kB / 0.7289 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/1.046, allocations: 0.5104 MB / 0.7294 GB, free: 172.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.006393/1.053, allocations: 3.292 MB / 0.7326 GB, free: 171.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/1.054, allocations: 0.5338 MB / 0.7332 GB, free: 171.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/1.055, allocations: 0.6193 MB / 0.7338 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.296e-05/1.055, allocations: 22.33 kB / 0.7338 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/1.055, allocations: 2.219 kB / 0.7338 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.286e-05/1.055, allocations: 8.625 kB / 0.7338 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02307/1.078, allocations: 14.99 MB / 0.7484 GB, free: 164.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.917e-05/1.078, allocations: 47.5 kB / 0.7485 GB, free: 164.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.08, allocations: 444.5 kB / 0.7489 GB, free: 164.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.577e-05/1.08, allocations: 65 kB / 0.749 GB, free: 164.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/1.08, allocations: 104.5 kB / 0.7491 GB, free: 164.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.738e-05/1.08, allocations: 92.59 kB / 0.7492 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.232e-05/1.08, allocations: 70.62 kB / 0.7492 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004093/1.084, allocations: 4.304 MB / 0.7534 GB, free: 161.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001697/1.086, allocations: 0.6287 MB / 0.754 GB, free: 161.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001292/1.087, allocations: 109.9 kB / 0.7541 GB, free: 161.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002818/1.09, allocations: 114.2 kB / 0.7543 GB, free: 161.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005128/1.091, allocations: 313.4 kB / 0.7546 GB, free: 161.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001746/1.091, allocations: 128.3 kB / 0.7547 GB, free: 161.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007393/1.098, allocations: 3.931 MB / 0.7585 GB, free: 159.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.31e-07/1.098, allocations: 0 / 0.7585 GB, free: 159.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009464/1.108, allocations: 1.315 MB / 0.7598 GB, free: 159 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.0009052/1.109, allocations: 271.4 kB / 0.7601 GB, free: 158.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008777/1.118, allocations: 5.551 MB / 0.7655 GB, free: 153.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.964e-05/1.118, allocations: 9.938 kB / 0.7655 GB, free: 153.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/1.119, allocations: 1.194 MB / 0.7667 GB, free: 152.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006242/1.126, allocations: 0.8852 MB / 0.7675 GB, free: 152.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02529/1.151, allocations: 15.97 MB / 0.7831 GB, free: 136.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007553/1.159, allocations: 5.061 MB / 0.7881 GB, free: 132.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/1.16, allocations: 419.4 kB / 0.7885 GB, free: 131.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.163e-06/1.16, allocations: 4 kB / 0.7885 GB, free: 131.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1057/1.266, allocations: 84.15 MB / 0.8706 GB, free: 47.64 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 -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