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.001439/0.001439, allocations: 117.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002127/0.002127, allocations: 199.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 79.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.361, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01544/0.3765, allocations: 14.99 MB / 0.5456 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.388, allocations: 5.046 MB / 0.5506 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/0.3908, allocations: 123.6 kB / 0.5507 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009881/0.4007, allocations: 5.958 MB / 0.5565 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006915/0.4077, allocations: 2.743 MB / 0.5592 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.411, allocations: 1.571 MB / 0.5607 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01042/0.4215, allocations: 7.782 MB / 0.5683 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007611/0.4291, allocations: 7.39 MB / 0.5755 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003832/0.433, allocations: 2.933 MB / 0.5784 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004714/0.4377, allocations: 3.797 MB / 0.5821 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.4389, allocations: 0.5703 MB / 0.5827 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.4417, allocations: 1.393 MB / 0.584 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003011/0.4447, allocations: 3.519 MB / 0.5875 GB, free: 7.652 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004348/0.4491, allocations: 3.837 MB / 0.5912 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.4612, allocations: 11.59 MB / 0.6025 GB, free: 8.156 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4613, allocations: 0 / 0.6025 GB, free: 8.156 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4613, allocations: 4 kB / 0.6025 GB, free: 8.152 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003814/0.4617, allocations: 4 kB / 0.6025 GB, free: 8.148 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.01837/0.48, allocations: 8.448 MB / 0.6108 GB, free: 15.62 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4801, allocations: 12.03 kB / 0.6108 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009509/0.4896, allocations: 2.471 MB / 0.6132 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007922/0.4976, allocations: 4.512 MB / 0.6176 GB, free: 8.531 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/0.4979, allocations: 434.5 kB / 0.618 GB, free: 8.105 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001075/0.499, allocations: 0.5349 MB / 0.6186 GB, free: 7.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02859/0.5276, allocations: 16.69 MB / 0.6349 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/0.5278, allocations: 71.39 kB / 0.6349 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006399/0.5284, allocations: 267.8 kB / 0.6352 GB, free: 5.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00415/0.5326, allocations: 2.92 MB / 0.638 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03243/0.565, allocations: 12.78 MB / 0.6505 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08632/0.6514, allocations: 63.98 MB / 0.713 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5646/1.216, allocations: 5.373 MB / 0.7182 GB, free: 160.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003298/1.219, allocations: 2.122 MB / 0.7203 GB, free: 159.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01442/1.234, allocations: 9.928 MB / 0.73 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/1.234, allocations: 54.5 kB / 0.7301 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.42e-06/1.234, allocations: 0 / 0.7301 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03415/1.268, allocations: 13.96 MB / 0.7437 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/1.268, allocations: 151.4 kB / 0.7438 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006925/1.275, allocations: 6.283 MB / 0.75 GB, free: 145.5 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003123/1.275, allocations: 61.14 kB / 0.75 GB, free: 145.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001929/1.277, allocations: 5.084 MB / 0.755 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005256/1.278, allocations: 0.8232 MB / 0.7558 GB, free: 139.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001479/1.279, allocations: 1.67 MB / 0.7574 GB, free: 137.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.805e-05/1.279, allocations: 301.1 kB / 0.7577 GB, free: 137.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002744/1.282, allocations: 2.327 MB / 0.76 GB, free: 135.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004248/1.286, allocations: 7.678 MB / 0.7675 GB, free: 125 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007727/1.294, allocations: 10.87 MB / 0.7781 GB, free: 111.5 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-05/1.294, allocations: 53.59 kB / 0.7782 GB, free: 111.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.0122/1.307, allocations: 9.653 MB / 0.7876 GB, free: 101.8 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.231e-05/1.307, allocations: 88 kB / 0.7877 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001726/1.307, allocations: 188 kB / 0.7878 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001653/1.307, allocations: 255.9 kB / 0.7881 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005038/1.312, allocations: 1.923 MB / 0.79 GB, free: 99.34 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002081/1.312, allocations: 376.3 kB / 0.7903 GB, free: 98.97 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005473/1.318, allocations: 406.6 kB / 0.7907 GB, free: 98.57 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00075/1.319, allocations: 0.5195 MB / 0.7912 GB, free: 98.05 MB / 0.5607 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.004446/1.323, allocations: 3.288 MB / 0.7944 GB, free: 94.75 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009652/1.324, allocations: 0.5282 MB / 0.7949 GB, free: 94.22 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/1.325, allocations: 0.6239 MB / 0.7956 GB, free: 93.59 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.881e-05/1.325, allocations: 28 kB / 0.7956 GB, free: 93.56 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.298e-05/1.325, allocations: 0 / 0.7956 GB, free: 93.56 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/1.325, allocations: 7.969 kB / 0.7956 GB, free: 93.55 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02364/1.349, allocations: 14.99 MB / 0.8102 GB, free: 77.89 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001222/1.349, allocations: 47.94 kB / 0.8103 GB, free: 77.84 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/1.351, allocations: 447.2 kB / 0.8107 GB, free: 77.41 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.247e-05/1.351, allocations: 60 kB / 0.8108 GB, free: 77.35 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002152/1.351, allocations: 101.8 kB / 0.8109 GB, free: 77.25 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-05/1.351, allocations: 95.58 kB / 0.8109 GB, free: 77.16 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.099e-05/1.351, allocations: 71.69 kB / 0.811 GB, free: 77.09 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004528/1.355, allocations: 4.296 MB / 0.8152 GB, free: 72.09 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/1.357, allocations: 0.6228 MB / 0.8158 GB, free: 71.44 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009627/1.358, allocations: 116 kB / 0.8159 GB, free: 71.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/1.36, allocations: 104 kB / 0.816 GB, free: 71.22 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/1.361, allocations: 310.5 kB / 0.8163 GB, free: 70.92 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.361, allocations: 132 kB / 0.8164 GB, free: 70.79 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005646/1.366, allocations: 3.931 MB / 0.8203 GB, free: 66.87 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.6e-07/1.366, allocations: 0 / 0.8203 GB, free: 66.87 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006576/1.373, allocations: 1.321 MB / 0.8216 GB, free: 65.55 MB / 0.5607 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.000424/1.373, allocations: 272.7 kB / 0.8218 GB, free: 65.28 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007046/1.381, allocations: 5.489 MB / 0.8272 GB, free: 59.86 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.373e-05/1.381, allocations: 8 kB / 0.8272 GB, free: 59.86 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/1.382, allocations: 1.198 MB / 0.8284 GB, free: 58.67 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005089/1.387, allocations: 0.8875 MB / 0.8292 GB, free: 57.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/1.408, allocations: 15.04 MB / 0.8439 GB, free: 42.08 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005912/1.414, allocations: 5.076 MB / 0.8489 GB, free: 36.96 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005297/1.419, allocations: 2.546 MB / 0.8514 GB, free: 34.41 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008641/1.42, allocations: 355.4 kB / 0.8517 GB, free: 34.07 MB / 0.5607 GB Notification: Performance of SimCode: time 1.152e-06/1.42, allocations: 4 kB / 0.8517 GB, free: 34.06 MB / 0.5607 GB Notification: Performance of Templates: time 0.07105/1.491, allocations: 38.89 MB / 0.8897 GB, free: 11.45 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/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