Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009886/0.0009886, allocations: 112.9 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00101/0.00101, allocations: 208.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1939/0.1939, allocations: 46.09 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 79.88 kB / 482 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2806, allocations: 62.43 MB / 0.5316 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.009878/0.2905, allocations: 9.53 MB / 0.5409 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005765/0.2963, allocations: 2.919 MB / 0.5438 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.2978, allocations: 52.16 kB / 0.5438 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003856/0.3016, allocations: 2.002 MB / 0.5458 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003103/0.3048, allocations: 1.118 MB / 0.5469 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008943/0.3057, allocations: 294.2 kB / 0.5472 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00328/0.309, allocations: 2.333 MB / 0.5495 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002837/0.3119, allocations: 2.308 MB / 0.5517 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.3133, allocations: 0.8723 MB / 0.5526 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.3149, allocations: 1.156 MB / 0.5537 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005332/0.3155, allocations: 196 kB / 0.5539 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.317, allocations: 0.6982 MB / 0.5546 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.3183, allocations: 1.11 MB / 0.5556 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.32, allocations: 1.308 MB / 0.5569 GB, free: 7.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004644/0.3247, allocations: 4.315 MB / 0.5611 GB, free: 3.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.3247, allocations: 4 kB / 0.5611 GB, free: 3.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3247, allocations: 0 / 0.5611 GB, free: 3.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000125/0.3248, allocations: 4 kB / 0.5611 GB, free: 3.453 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.00583/0.3307, allocations: 2.857 MB / 0.5639 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3307, allocations: 12.03 kB / 0.5639 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004874/0.3356, allocations: 1.557 MB / 0.5655 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002983/0.3386, allocations: 1.34 MB / 0.5668 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.3388, allocations: 148 kB / 0.5669 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007051/0.3395, allocations: 187.8 kB / 0.5671 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.3499, allocations: 6.246 MB / 0.5732 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.422e-05/0.35, allocations: 11.88 kB / 0.5732 GB, free: 6.723 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005347/0.3505, allocations: 91.91 kB / 0.5733 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0019/0.3525, allocations: 1.34 MB / 0.5746 GB, free: 5.289 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009524/0.362, allocations: 5.331 MB / 0.5798 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02655/0.3886, allocations: 20.04 MB / 0.5994 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003957/0.3926, allocations: 2.01 MB / 0.6013 GB, free: 9.195 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009536/0.3936, allocations: 0.6953 MB / 0.602 GB, free: 8.496 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006289/0.3999, allocations: 3.6 MB / 0.6055 GB, free: 4.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.4, allocations: 39 kB / 0.6056 GB, free: 4.703 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.097e-06/0.4, allocations: 0 / 0.6056 GB, free: 4.703 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005041/0.405, allocations: 1.977 MB / 0.6075 GB, free: 2.715 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.4051, allocations: 71.66 kB / 0.6076 GB, free: 2.633 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/0.408, allocations: 1.945 MB / 0.6095 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.4081, allocations: 33.69 kB / 0.6095 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.4093, allocations: 1.836 MB / 0.6113 GB, free: 14.78 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/0.4097, allocations: 316.1 kB / 0.6116 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000826/0.4105, allocations: 0.6151 MB / 0.6122 GB, free: 13.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4106, allocations: 349.9 kB / 0.6125 GB, free: 13.49 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.4118, allocations: 0.892 MB / 0.6134 GB, free: 12.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002329/0.4142, allocations: 2.751 MB / 0.6161 GB, free: 8.914 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003844/0.418, allocations: 3.962 MB / 0.62 GB, free: 4.027 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.54e-05/0.4181, allocations: 20 kB / 0.62 GB, free: 4.008 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005573/0.4237, allocations: 3.521 MB / 0.6234 GB, free: 492 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.878e-05/0.4238, allocations: 38.19 kB / 0.6234 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.096e-05/0.4239, allocations: 72.11 kB / 0.6235 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-05/0.424, allocations: 91.94 kB / 0.6236 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.4258, allocations: 0.655 MB / 0.6242 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001147/0.4259, allocations: 127.5 kB / 0.6244 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.4278, allocations: 411.6 kB / 0.6248 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/0.4281, allocations: 188 kB / 0.6249 GB, free: 14.91 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 5 * 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.001839/0.4299, allocations: 1.346 MB / 0.6263 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/0.4302, allocations: 161.8 kB / 0.6264 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.4306, allocations: 192.9 kB / 0.6266 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/0.4307, allocations: 15.94 kB / 0.6266 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.4307, allocations: 0 / 0.6266 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4307, allocations: 0 / 0.6266 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00661/0.4373, allocations: 4.032 MB / 0.6305 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.4374, allocations: 8 kB / 0.6306 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.4378, allocations: 103.8 kB / 0.6306 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/0.4378, allocations: 8 kB / 0.6307 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/0.4378, allocations: 20 kB / 0.6307 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/0.4379, allocations: 15.94 kB / 0.6307 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.4379, allocations: 4.5 kB / 0.6307 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.4393, allocations: 1.27 MB / 0.6319 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/0.4397, allocations: 246.8 kB / 0.6322 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/0.4399, allocations: 20 kB / 0.6322 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/0.4405, allocations: 31.88 kB / 0.6322 GB, free: 7.164 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.4406, allocations: 59.81 kB / 0.6323 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.86e-05/0.4406, allocations: 32 kB / 0.6323 GB, free: 7.074 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002366/0.443, allocations: 1.267 MB / 0.6335 GB, free: 5.816 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.443, allocations: 0 / 0.6335 GB, free: 5.816 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002492/0.4455, allocations: 0.6766 MB / 0.6342 GB, free: 5.137 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0003488/0.4459, allocations: 158.9 kB / 0.6344 GB, free: 4.973 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003085/0.449, allocations: 2.038 MB / 0.6363 GB, free: 2.949 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.449, allocations: 0 / 0.6363 GB, free: 2.949 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005365/0.4495, allocations: 466.2 kB / 0.6368 GB, free: 2.496 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.4509, allocations: 249.4 kB / 0.637 GB, free: 2.258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008576/0.4595, allocations: 5.363 MB / 0.6423 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002392/0.4619, allocations: 2.275 MB / 0.6445 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/0.4623, allocations: 147.4 kB / 0.6446 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/0.4623, allocations: 0 / 0.6446 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.04162/0.504, allocations: 30.17 MB / 0.6741 GB, free: 12.21 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches