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.0008437/0.0008436, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 201.5 kB / 18.93 MB, free: 4.719 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.7 MB / 247.5 MB, free: 9.473 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1944/0.1944, allocations: 46.19 MB / 345.9 MB, free: 11.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003718, allocations: 11.94 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1168, allocations: 63.57 MB / 483.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.2755/0.3924, allocations: 82.39 MB / 0.5529 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03605/0.4285, allocations: 16.18 MB / 0.5687 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01607/0.4446, allocations: 381.6 kB / 0.569 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002464/0.4471, allocations: 0.6468 MB / 0.5697 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007019/0.4542, allocations: 2.612 MB / 0.5722 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.457, allocations: 1.253 MB / 0.5734 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01447/0.4715, allocations: 11.11 MB / 0.5843 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01554/0.4871, allocations: 10.36 MB / 0.5944 GB, free: 5.105 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004196/0.4914, allocations: 2.199 MB / 0.5966 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005125/0.4965, allocations: 3.449 MB / 0.5999 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001346/0.4979, allocations: 244 kB / 0.6002 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003067/0.501, allocations: 1.139 MB / 0.6013 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003914/0.5049, allocations: 3.077 MB / 0.6043 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005273/0.5102, allocations: 3.374 MB / 0.6076 GB, free: 7.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009831/0.5201, allocations: 8.885 MB / 0.6162 GB, free: 14.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5201, allocations: 0 / 0.6162 GB, free: 14.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.5201, allocations: 4 kB / 0.6162 GB, free: 14.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003967/0.5205, allocations: 0 / 0.6162 GB, free: 14.66 MB / 462.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.01485/0.5354, allocations: 6.955 MB / 0.623 GB, free: 7.621 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.5355, allocations: 19.95 kB / 0.6231 GB, free: 7.602 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/0.5457, allocations: 2.526 MB / 0.6255 GB, free: 5.062 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00846/0.5542, allocations: 4.399 MB / 0.6298 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003835/0.5547, allocations: 431 kB / 0.6302 GB, free: 168 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001711/0.5564, allocations: 0.5426 MB / 0.6308 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0532/0.6096, allocations: 16.73 MB / 0.6471 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000396/0.6101, allocations: 75.31 kB / 0.6472 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002112/0.6122, allocations: 259.8 kB / 0.6474 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00482/0.617, allocations: 2.92 MB / 0.6503 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02959/0.6467, allocations: 12.84 MB / 0.6628 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5347/1.181, allocations: 64.14 MB / 0.7254 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01585/1.197, allocations: 5.382 MB / 0.7307 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003181/1.201, allocations: 2.121 MB / 0.7328 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01556/1.216, allocations: 9.941 MB / 0.7425 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/1.216, allocations: 55.44 kB / 0.7425 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 5.421e-06/1.216, allocations: 1.125 kB / 0.7425 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03469/1.251, allocations: 14.02 MB / 0.7562 GB, free: 125.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/1.251, allocations: 153.6 kB / 0.7564 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00765/1.259, allocations: 6.291 MB / 0.7625 GB, free: 122 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003481/1.259, allocations: 56.95 kB / 0.7626 GB, free: 122 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002743/1.262, allocations: 5.074 MB / 0.7675 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007919/1.263, allocations: 0.8234 MB / 0.7683 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007132/1.263, allocations: 0.7355 MB / 0.769 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.695e-05/1.263, allocations: 301.1 kB / 0.7693 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003014/1.266, allocations: 2.332 MB / 0.7716 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004831/1.271, allocations: 7.675 MB / 0.7791 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0089/1.28, allocations: 10.86 MB / 0.7897 GB, free: 91.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/1.28, allocations: 56 kB / 0.7898 GB, free: 91.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01455/1.295, allocations: 9.658 MB / 0.7992 GB, free: 81.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.455e-05/1.295, allocations: 84 kB / 0.7993 GB, free: 81.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000183/1.295, allocations: 192 kB / 0.7995 GB, free: 81.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/1.295, allocations: 248.2 kB / 0.7997 GB, free: 81.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005414/1.301, allocations: 1.927 MB / 0.8016 GB, free: 79.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001937/1.301, allocations: 374.5 kB / 0.8019 GB, free: 78.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005759/1.307, allocations: 405.7 kB / 0.8023 GB, free: 78.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008896/1.308, allocations: 0.5177 MB / 0.8028 GB, free: 78.01 MB / 0.5294 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.004945/1.313, allocations: 3.292 MB / 0.806 GB, free: 74.71 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/1.314, allocations: 0.5282 MB / 0.8066 GB, free: 74.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/1.315, allocations: 0.624 MB / 0.8072 GB, free: 73.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/1.315, allocations: 20 kB / 0.8072 GB, free: 73.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.118e-05/1.315, allocations: 4 kB / 0.8072 GB, free: 73.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/1.315, allocations: 11.97 kB / 0.8072 GB, free: 73.51 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/1.333, allocations: 14.99 MB / 0.8218 GB, free: 57.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.563e-05/1.333, allocations: 44.22 kB / 0.8219 GB, free: 57.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/1.334, allocations: 451.1 kB / 0.8223 GB, free: 57.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.23e-05/1.334, allocations: 63.98 kB / 0.8224 GB, free: 57.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/1.334, allocations: 100 kB / 0.8225 GB, free: 57.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.031e-05/1.334, allocations: 87.66 kB / 0.8225 GB, free: 57.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.9e-05/1.335, allocations: 71.69 kB / 0.8226 GB, free: 57.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003662/1.338, allocations: 4.303 MB / 0.8268 GB, free: 52.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/1.34, allocations: 0.6267 MB / 0.8274 GB, free: 51.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006182/1.34, allocations: 112 kB / 0.8275 GB, free: 51.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/1.342, allocations: 119.9 kB / 0.8277 GB, free: 51.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/1.343, allocations: 322.4 kB / 0.828 GB, free: 50.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/1.343, allocations: 122 kB / 0.8281 GB, free: 50.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005761/1.349, allocations: 3.935 MB / 0.8319 GB, free: 46.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/1.349, allocations: 0 / 0.8319 GB, free: 46.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007568/1.356, allocations: 1.324 MB / 0.8332 GB, free: 45.48 MB / 0.5294 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.0005186/1.357, allocations: 263.8 kB / 0.8335 GB, free: 45.22 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007355/1.364, allocations: 5.364 MB / 0.8387 GB, free: 39.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.209e-05/1.364, allocations: 8 kB / 0.8387 GB, free: 39.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/1.366, allocations: 1.199 MB / 0.8399 GB, free: 38.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04247/1.408, allocations: 0.871 MB / 0.8407 GB, free: 37.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/1.431, allocations: 19.37 MB / 0.8596 GB, free: 17.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005325/1.437, allocations: 5.06 MB / 0.8646 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/1.438, allocations: 419.3 kB / 0.865 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/1.438, allocations: 0 / 0.865 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.3955/1.833, allocations: 82.77 MB / 0.9458 GB, free: 174.6 MB / 0.5763 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