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.001849/0.001849, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001997/0.001997, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.247/0.247, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 74.84 kB / 417.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1281, allocations: 62.45 MB / 480.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01819/0.1464, allocations: 15 MB / 495.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.1582, allocations: 5.046 MB / 0.4884 GB, free: 1.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002924/0.1611, allocations: 119.6 kB / 0.4885 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01258/0.1737, allocations: 5.974 MB / 0.4944 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008679/0.1826, allocations: 2.731 MB / 0.497 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004779/0.1874, allocations: 1.587 MB / 0.4986 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2504/0.4378, allocations: 7.773 MB / 0.5062 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01127/0.4491, allocations: 7.405 MB / 0.5134 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006985/0.4561, allocations: 2.965 MB / 0.5163 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007434/0.4636, allocations: 3.778 MB / 0.52 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003673/0.4673, allocations: 0.57 MB / 0.5206 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006192/0.4735, allocations: 1.386 MB / 0.5219 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006642/0.4802, allocations: 3.464 MB / 0.5253 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008299/0.4885, allocations: 3.831 MB / 0.529 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01404/0.5026, allocations: 11.23 MB / 0.54 GB, free: 2.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.5026, allocations: 0 / 0.54 GB, free: 2.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5026, allocations: 0 / 0.54 GB, free: 2.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005199/0.5032, allocations: 0 / 0.54 GB, free: 2.559 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.02342/0.5266, allocations: 8.455 MB / 0.5483 GB, free: 12.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.5267, allocations: 12.03 kB / 0.5483 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/0.5384, allocations: 2.47 MB / 0.5507 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/0.55, allocations: 4.398 MB / 0.555 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004881/0.5505, allocations: 435.4 kB / 0.5554 GB, free: 5.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002402/0.5529, allocations: 0.5434 MB / 0.5559 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04066/0.5936, allocations: 16.67 MB / 0.5722 GB, free: 3.645 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005117/0.5942, allocations: 75.41 kB / 0.5723 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003088/0.5973, allocations: 267.9 kB / 0.5725 GB, free: 3.395 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006585/0.6039, allocations: 2.924 MB / 0.5754 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03348/0.6374, allocations: 12.78 MB / 0.5879 GB, free: 4.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1067/0.7441, allocations: 64.29 MB / 0.6506 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01741/0.7616, allocations: 5.387 MB / 0.6559 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004183/0.7658, allocations: 2.11 MB / 0.658 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01959/0.7855, allocations: 9.929 MB / 0.6677 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/0.7856, allocations: 55.53 kB / 0.6677 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 5.43e-06/0.7856, allocations: 0 / 0.6677 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.04142/0.827, allocations: 13.96 MB / 0.6814 GB, free: 2.859 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.8271, allocations: 150.8 kB / 0.6815 GB, free: 2.68 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/0.8378, allocations: 6.284 MB / 0.6876 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003853/0.8382, allocations: 56.67 kB / 0.6877 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004542/0.8427, allocations: 5.08 MB / 0.6926 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00111/0.8439, allocations: 0.8215 MB / 0.6934 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002256/0.8461, allocations: 1.674 MB / 0.6951 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.8463, allocations: 305.1 kB / 0.6954 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003869/0.8501, allocations: 2.325 MB / 0.6976 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008627/0.8588, allocations: 7.678 MB / 0.7051 GB, free: 7.863 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2886/1.147, allocations: 10.87 MB / 0.7158 GB, free: 175.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001773/1.148, allocations: 53.5 kB / 0.7158 GB, free: 175.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01845/1.166, allocations: 9.65 MB / 0.7252 GB, free: 173 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.166, allocations: 89.41 kB / 0.7253 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003098/1.167, allocations: 190 kB / 0.7255 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003715/1.167, allocations: 251.2 kB / 0.7257 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006513/1.173, allocations: 1.92 MB / 0.7276 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006035/1.174, allocations: 376.3 kB / 0.728 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008382/1.182, allocations: 412.3 kB / 0.7284 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/1.184, allocations: 0.5127 MB / 0.7289 GB, free: 172.5 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.009573/1.194, allocations: 3.293 MB / 0.7321 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001513/1.195, allocations: 0.5228 MB / 0.7326 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/1.198, allocations: 0.6213 MB / 0.7332 GB, free: 170.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.195e-05/1.198, allocations: 21.41 kB / 0.7332 GB, free: 170.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/1.198, allocations: 1.844 kB / 0.7332 GB, free: 170.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.369e-05/1.198, allocations: 11.78 kB / 0.7332 GB, free: 170.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02865/1.226, allocations: 14.99 MB / 0.7479 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-05/1.226, allocations: 49.44 kB / 0.7479 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/1.228, allocations: 451.1 kB / 0.7483 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.799e-05/1.228, allocations: 69.62 kB / 0.7484 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000191/1.229, allocations: 100.5 kB / 0.7485 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.668e-05/1.229, allocations: 85.67 kB / 0.7486 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-05/1.229, allocations: 78.45 kB / 0.7487 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005662/1.234, allocations: 4.289 MB / 0.7529 GB, free: 161.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/1.237, allocations: 0.635 MB / 0.7535 GB, free: 161.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.238, allocations: 109.8 kB / 0.7536 GB, free: 161.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003268/1.241, allocations: 122.4 kB / 0.7537 GB, free: 161 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005637/1.242, allocations: 308.8 kB / 0.754 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/1.242, allocations: 131.2 kB / 0.7541 GB, free: 160.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01042/1.252, allocations: 3.93 MB / 0.758 GB, free: 159.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.71e-07/1.252, allocations: 0 / 0.758 GB, free: 159.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01048/1.263, allocations: 1.313 MB / 0.7592 GB, free: 158.9 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.0007205/1.263, allocations: 270.2 kB / 0.7595 GB, free: 158.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008537/1.272, allocations: 5.556 MB / 0.7649 GB, free: 153.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.7e-05/1.272, allocations: 4.375 kB / 0.7649 GB, free: 153.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001703/1.274, allocations: 1.2 MB / 0.7661 GB, free: 152.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008089/1.282, allocations: 0.8734 MB / 0.7669 GB, free: 152 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02329/1.305, allocations: 15.24 MB / 0.7818 GB, free: 137.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006065/1.311, allocations: 5.079 MB / 0.7868 GB, free: 132.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006225/1.318, allocations: 2.55 MB / 0.7893 GB, free: 130.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.319, allocations: 351.4 kB / 0.7896 GB, free: 129.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/1.319, allocations: 0 / 0.7896 GB, free: 129.8 MB / 0.545 GB Notification: Performance of Templates: time 0.07776/1.396, allocations: 43.7 MB / 0.8323 GB, free: 86.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches