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.001601/0.001601, allocations: 121.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.001714/0.001714, allocations: 204.7 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.427/1.427, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 75.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4259, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.03201/0.4579, allocations: 15 MB / 0.5456 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02007/0.478, allocations: 5.043 MB / 0.5506 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004862/0.483, allocations: 123.6 kB / 0.5507 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01515/0.4981, allocations: 5.974 MB / 0.5565 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007447/0.5057, allocations: 2.805 MB / 0.5593 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.5092, allocations: 1.583 MB / 0.5608 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01212/0.5214, allocations: 7.788 MB / 0.5684 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01094/0.5323, allocations: 7.382 MB / 0.5756 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005934/0.5383, allocations: 2.933 MB / 0.5785 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006137/0.5445, allocations: 3.793 MB / 0.5822 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001795/0.5463, allocations: 0.5703 MB / 0.5827 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003503/0.5498, allocations: 1.397 MB / 0.5841 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00413/0.5539, allocations: 3.523 MB / 0.5875 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005741/0.5597, allocations: 3.837 MB / 0.5913 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.5725, allocations: 11.6 MB / 0.6026 GB, free: 8.109 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5725, allocations: 0 / 0.6026 GB, free: 8.109 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.5725, allocations: 0 / 0.6026 GB, free: 8.109 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002712/0.5728, allocations: 0 / 0.6026 GB, free: 8.109 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.01588/0.5887, allocations: 8.452 MB / 0.6109 GB, free: 15.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5887, allocations: 8.031 kB / 0.6109 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009281/0.598, allocations: 2.475 MB / 0.6133 GB, free: 13.08 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008193/0.6062, allocations: 4.512 MB / 0.6177 GB, free: 8.488 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003311/0.6066, allocations: 426.5 kB / 0.6181 GB, free: 8.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001336/0.6079, allocations: 0.5464 MB / 0.6186 GB, free: 7.523 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02937/0.6373, allocations: 16.69 MB / 0.6349 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001604/0.6375, allocations: 71.39 kB / 0.635 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006678/0.6382, allocations: 263.8 kB / 0.6353 GB, free: 5.391 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004091/0.6423, allocations: 2.924 MB / 0.6381 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02621/0.6685, allocations: 12.78 MB / 0.6506 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08964/0.7582, allocations: 63.98 MB / 0.7131 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5268/1.285, allocations: 5.372 MB / 0.7183 GB, free: 160.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003901/1.289, allocations: 2.117 MB / 0.7204 GB, free: 159.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0157/1.305, allocations: 9.922 MB / 0.7301 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.305, allocations: 56.97 kB / 0.7301 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 4.618e-06/1.305, allocations: 0 / 0.7301 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.0338/1.339, allocations: 13.97 MB / 0.7438 GB, free: 149.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/1.339, allocations: 152.7 kB / 0.7439 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008279/1.347, allocations: 6.287 MB / 0.7501 GB, free: 145.5 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004007/1.347, allocations: 57.7 kB / 0.7501 GB, free: 145.4 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002465/1.35, allocations: 5.084 MB / 0.7551 GB, free: 140.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008159/1.351, allocations: 0.8123 MB / 0.7559 GB, free: 139.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001715/1.353, allocations: 1.681 MB / 0.7575 GB, free: 137.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.856e-05/1.353, allocations: 301.1 kB / 0.7578 GB, free: 137.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002975/1.356, allocations: 2.323 MB / 0.7601 GB, free: 135.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00495/1.361, allocations: 7.674 MB / 0.7676 GB, free: 125 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00873/1.369, allocations: 10.88 MB / 0.7782 GB, free: 111.5 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001581/1.369, allocations: 52 kB / 0.7782 GB, free: 111.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01488/1.384, allocations: 9.652 MB / 0.7877 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.62e-05/1.384, allocations: 88 kB / 0.7877 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/1.385, allocations: 188 kB / 0.7879 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/1.385, allocations: 256.7 kB / 0.7882 GB, free: 101.2 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005027/1.39, allocations: 1.926 MB / 0.7901 GB, free: 99.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001804/1.39, allocations: 374.5 kB / 0.7904 GB, free: 98.93 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00544/1.395, allocations: 407.5 kB / 0.7908 GB, free: 98.53 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006229/1.396, allocations: 0.5155 MB / 0.7913 GB, free: 98.02 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.005497/1.402, allocations: 3.284 MB / 0.7945 GB, free: 94.72 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009128/1.403, allocations: 0.5288 MB / 0.795 GB, free: 94.18 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/1.404, allocations: 0.6201 MB / 0.7956 GB, free: 93.55 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.01e-05/1.404, allocations: 28 kB / 0.7957 GB, free: 93.53 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.522e-05/1.404, allocations: 3.984 kB / 0.7957 GB, free: 93.52 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/1.404, allocations: 7.969 kB / 0.7957 GB, free: 93.52 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/1.42, allocations: 14.99 MB / 0.8103 GB, free: 77.85 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.126e-05/1.42, allocations: 49.23 kB / 0.8104 GB, free: 77.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/1.421, allocations: 439.2 kB / 0.8108 GB, free: 77.38 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.549e-05/1.421, allocations: 60 kB / 0.8108 GB, free: 77.32 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.421, allocations: 111.9 kB / 0.8109 GB, free: 77.21 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.283e-05/1.421, allocations: 87.66 kB / 0.811 GB, free: 77.12 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.088e-05/1.421, allocations: 71.69 kB / 0.8111 GB, free: 77.05 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/1.425, allocations: 4.297 MB / 0.8153 GB, free: 72.05 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/1.426, allocations: 0.6228 MB / 0.8159 GB, free: 71.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004738/1.427, allocations: 112 kB / 0.816 GB, free: 71.29 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/1.428, allocations: 111.9 kB / 0.8161 GB, free: 71.18 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/1.429, allocations: 310.5 kB / 0.8164 GB, free: 70.88 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/1.429, allocations: 132 kB / 0.8165 GB, free: 70.75 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005597/1.434, allocations: 3.927 MB / 0.8204 GB, free: 66.83 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.31e-07/1.434, allocations: 4 kB / 0.8204 GB, free: 66.83 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007639/1.442, allocations: 1.321 MB / 0.8217 GB, free: 65.52 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.0006293/1.443, allocations: 276.4 kB / 0.8219 GB, free: 65.24 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007796/1.45, allocations: 5.481 MB / 0.8273 GB, free: 59.83 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.143e-05/1.451, allocations: 8.188 kB / 0.8273 GB, free: 59.82 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/1.452, allocations: 1.201 MB / 0.8285 GB, free: 58.63 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005147/1.457, allocations: 0.878 MB / 0.8293 GB, free: 57.76 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/1.479, allocations: 15.03 MB / 0.844 GB, free: 42.04 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005934/1.485, allocations: 5.084 MB / 0.849 GB, free: 36.92 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005423/1.491, allocations: 2.542 MB / 0.8514 GB, free: 34.38 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008346/1.492, allocations: 359.4 kB / 0.8518 GB, free: 34.02 MB / 0.5607 GB Notification: Performance of SimCode: time 1.753e-06/1.492, allocations: 0 / 0.8518 GB, free: 34.02 MB / 0.5607 GB Notification: Performance of Templates: time 0.07288/1.564, allocations: 38.9 MB / 0.8898 GB, free: 11.41 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