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.001156/0.001156, allocations: 111 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 8.859 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 73.91 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1124, allocations: 62.45 MB / 479.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.2885/0.4009, allocations: 84.41 MB / 0.5511 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04538/0.4463, allocations: 16.25 MB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02129/0.4677, allocations: 385.3 kB / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0121/0.4798, allocations: 5.999 MB / 0.5732 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008468/0.4884, allocations: 2.593 MB / 0.5757 GB, free: 5.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004304/0.4927, allocations: 1.498 MB / 0.5772 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01481/0.5076, allocations: 11.12 MB / 0.5881 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01176/0.5194, allocations: 7.38 MB / 0.5953 GB, free: 1.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00588/0.5253, allocations: 2.706 MB / 0.5979 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006566/0.5319, allocations: 4.093 MB / 0.6019 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002013/0.534, allocations: 456 kB / 0.6023 GB, free: 9.785 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004475/0.5385, allocations: 1.342 MB / 0.6037 GB, free: 8.441 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005188/0.5437, allocations: 3.382 MB / 0.607 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007943/0.5517, allocations: 3.724 MB / 0.6106 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.5632, allocations: 9.094 MB / 0.6195 GB, free: 8.188 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.5632, allocations: 4 kB / 0.6195 GB, free: 8.184 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5632, allocations: 0 / 0.6195 GB, free: 8.184 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005118/0.5637, allocations: 0 / 0.6195 GB, free: 8.184 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.02149/0.5853, allocations: 8.452 MB / 0.6277 GB, free: 15.65 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.5853, allocations: 12.03 kB / 0.6277 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.5963, allocations: 2.475 MB / 0.6302 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/0.6065, allocations: 4.396 MB / 0.6345 GB, free: 8.676 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004581/0.607, allocations: 431 kB / 0.6349 GB, free: 8.254 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002281/0.6093, allocations: 0.5464 MB / 0.6354 GB, free: 7.707 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03526/0.6446, allocations: 16.68 MB / 0.6517 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003419/0.645, allocations: 79.25 kB / 0.6518 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002099/0.6471, allocations: 259.8 kB / 0.652 GB, free: 5.574 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004715/0.6518, allocations: 2.927 MB / 0.6549 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02836/0.6802, allocations: 12.78 MB / 0.6674 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5101/1.19, allocations: 64.28 MB / 0.7301 GB, free: 153.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01706/1.208, allocations: 5.374 MB / 0.7354 GB, free: 152.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003957/1.212, allocations: 2.124 MB / 0.7375 GB, free: 152.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01898/1.231, allocations: 9.929 MB / 0.7471 GB, free: 148.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/1.231, allocations: 60.06 kB / 0.7472 GB, free: 148.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=182): time 5.069e-06/1.231, allocations: 0 / 0.7472 GB, free: 148.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=206): time 0.0424/1.273, allocations: 13.95 MB / 0.7608 GB, free: 142.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/1.273, allocations: 155.5 kB / 0.761 GB, free: 142.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01233/1.286, allocations: 6.293 MB / 0.7671 GB, free: 139.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004271/1.286, allocations: 56.89 kB / 0.7672 GB, free: 139.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003989/1.29, allocations: 5.075 MB / 0.7721 GB, free: 135.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001195/1.291, allocations: 0.8186 MB / 0.7729 GB, free: 134.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004438/1.296, allocations: 1.675 MB / 0.7746 GB, free: 133.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.718e-05/1.296, allocations: 301.1 kB / 0.7748 GB, free: 133.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004082/1.3, allocations: 2.33 MB / 0.7771 GB, free: 132.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006658/1.307, allocations: 7.676 MB / 0.7846 GB, free: 122.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/1.317, allocations: 10.87 MB / 0.7952 GB, free: 109.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002294/1.317, allocations: 52 kB / 0.7953 GB, free: 109.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01763/1.335, allocations: 9.656 MB / 0.8047 GB, free: 100 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003046/1.335, allocations: 87.94 kB / 0.8048 GB, free: 99.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003627/1.336, allocations: 192 kB / 0.805 GB, free: 99.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/1.336, allocations: 249 kB / 0.8052 GB, free: 99.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006123/1.342, allocations: 1.922 MB / 0.8071 GB, free: 97.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003304/1.342, allocations: 378.5 kB / 0.8075 GB, free: 97.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006621/1.349, allocations: 418.6 kB / 0.8079 GB, free: 96.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001672/1.351, allocations: 0.5179 MB / 0.8084 GB, free: 96.29 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.005674/1.356, allocations: 3.28 MB / 0.8116 GB, free: 92.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001101/1.357, allocations: 0.5293 MB / 0.8121 GB, free: 92.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/1.359, allocations: 0.6201 MB / 0.8127 GB, free: 91.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.29e-05/1.359, allocations: 24 kB / 0.8127 GB, free: 91.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.782e-05/1.359, allocations: 0 / 0.8127 GB, free: 91.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/1.359, allocations: 15.95 kB / 0.8127 GB, free: 91.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02301/1.382, allocations: 14.98 MB / 0.8274 GB, free: 76.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001196/1.382, allocations: 48 kB / 0.8274 GB, free: 76.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/1.384, allocations: 447.1 kB / 0.8278 GB, free: 75.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.67e-05/1.384, allocations: 64 kB / 0.8279 GB, free: 75.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002464/1.384, allocations: 99.98 kB / 0.828 GB, free: 75.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.294e-05/1.384, allocations: 87.66 kB / 0.8281 GB, free: 75.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-05/1.384, allocations: 71.69 kB / 0.8281 GB, free: 75.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004352/1.389, allocations: 4.309 MB / 0.8323 GB, free: 70.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001674/1.39, allocations: 0.6339 MB / 0.833 GB, free: 69.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001203/1.392, allocations: 119.8 kB / 0.8331 GB, free: 69.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002807/1.394, allocations: 104 kB / 0.8332 GB, free: 69.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003568/1.395, allocations: 310.5 kB / 0.8335 GB, free: 69.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002374/1.395, allocations: 132 kB / 0.8336 GB, free: 69.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007182/1.402, allocations: 3.927 MB / 0.8374 GB, free: 65.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.01e-07/1.402, allocations: 0 / 0.8374 GB, free: 65.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008642/1.411, allocations: 1.322 MB / 0.8387 GB, free: 63.79 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.000774/1.412, allocations: 276.5 kB / 0.839 GB, free: 63.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008146/1.42, allocations: 5.363 MB / 0.8442 GB, free: 58.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.709e-05/1.42, allocations: 4 kB / 0.8442 GB, free: 58.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/1.421, allocations: 1.202 MB / 0.8454 GB, free: 57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008097/1.43, allocations: 0.8428 MB / 0.8462 GB, free: 56.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03035/1.46, allocations: 19.33 MB / 0.8651 GB, free: 36.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008949/1.469, allocations: 5.063 MB / 0.8701 GB, free: 31.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/1.47, allocations: 419.3 kB / 0.8705 GB, free: 30.63 MB / 0.545 GB Notification: Performance of SimCode: time 1.262e-06/1.47, allocations: 0 / 0.8705 GB, free: 30.63 MB / 0.545 GB Notification: Performance of Templates: time 0.3411/1.812, allocations: 84.14 MB / 0.9526 GB, free: 214.5 MB / 0.5919 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