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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007843/0.0007843, allocations: 91.77 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.162/1.162, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1671/0.1671, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002052/0.0002052, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08558/0.0858, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.2249/0.3108, allocations: 82.4 MB / 0.5523 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02815/0.3389, allocations: 16.18 MB / 0.5681 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01024/0.3492, allocations: 382.5 kB / 0.5685 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.3506, allocations: 0.6382 MB / 0.5691 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004706/0.3553, allocations: 2.61 MB / 0.5717 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.3573, allocations: 1.252 MB / 0.5729 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01052/0.3678, allocations: 11.13 MB / 0.5838 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01138/0.3792, allocations: 10.35 MB / 0.5939 GB, free: 4.977 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002741/0.3819, allocations: 2.203 MB / 0.596 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004027/0.386, allocations: 3.453 MB / 0.5994 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005165/0.3865, allocations: 248 kB / 0.5996 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.3883, allocations: 1.127 MB / 0.6007 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00228/0.3906, allocations: 3.085 MB / 0.6037 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002664/0.3933, allocations: 3.378 MB / 0.607 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008579/0.4018, allocations: 10.78 MB / 0.6176 GB, free: 12.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.4019, allocations: 4 kB / 0.6176 GB, free: 12.6 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4019, allocations: 0 / 0.6176 GB, free: 12.6 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001248/0.402, allocations: 0 / 0.6176 GB, free: 12.6 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.01031/0.4123, allocations: 6.994 MB / 0.6244 GB, free: 5.527 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4124, allocations: 16.86 kB / 0.6244 GB, free: 5.512 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001268/0.4136, allocations: 1.173 MB / 0.6256 GB, free: 4.328 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008588/0.4222, allocations: 2.576 MB / 0.6281 GB, free: 1.738 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006947/0.4292, allocations: 5.286 MB / 0.6332 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/0.4295, allocations: 430.5 kB / 0.6336 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007733/0.4303, allocations: 0.5426 MB / 0.6342 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.022/0.4523, allocations: 16.73 MB / 0.6505 GB, free: 9.562 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.4524, allocations: 71.41 kB / 0.6506 GB, free: 9.492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005335/0.4529, allocations: 259.8 kB / 0.6508 GB, free: 9.238 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003821/0.4568, allocations: 2.924 MB / 0.6537 GB, free: 6.312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02129/0.4781, allocations: 12.84 MB / 0.6662 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3872/0.8653, allocations: 64.14 MB / 0.7289 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01378/0.8791, allocations: 5.385 MB / 0.7341 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002412/0.8816, allocations: 2.116 MB / 0.7362 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01192/0.8935, allocations: 9.929 MB / 0.7459 GB, free: 131 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.8935, allocations: 54.03 kB / 0.7459 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 3.266e-06/0.8936, allocations: 0 / 0.7459 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.02734/0.9209, allocations: 14.03 MB / 0.7596 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.921, allocations: 158.3 kB / 0.7598 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005894/0.9269, allocations: 6.321 MB / 0.766 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.927, allocations: 58.91 kB / 0.766 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001869/0.9289, allocations: 5.079 MB / 0.771 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004178/0.9293, allocations: 0.8166 MB / 0.7718 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005729/0.9299, allocations: 0.726 MB / 0.7725 GB, free: 115.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.395e-05/0.9299, allocations: 312 kB / 0.7728 GB, free: 115.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/0.9325, allocations: 2.291 MB / 0.775 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003878/0.9364, allocations: 7.645 MB / 0.7825 GB, free: 103.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006898/0.9433, allocations: 10.81 MB / 0.793 GB, free: 90.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.713e-05/0.9433, allocations: 56 kB / 0.7931 GB, free: 90.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01006/0.9534, allocations: 9.554 MB / 0.8024 GB, free: 80.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/0.9535, allocations: 88.94 kB / 0.8025 GB, free: 80.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/0.9536, allocations: 188 kB / 0.8027 GB, free: 80.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.9537, allocations: 252 kB / 0.8029 GB, free: 80.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004143/0.9579, allocations: 1.903 MB / 0.8048 GB, free: 78.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001686/0.9581, allocations: 370.5 kB / 0.8051 GB, free: 78.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003794/0.9619, allocations: 408.7 kB / 0.8055 GB, free: 77.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000399/0.9623, allocations: 0.5107 MB / 0.806 GB, free: 77.21 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 (1027): * Single equations (assignments): 1016 * 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.00308/0.9654, allocations: 3.29 MB / 0.8092 GB, free: 73.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/0.9658, allocations: 0.5282 MB / 0.8098 GB, free: 73.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008523/0.9667, allocations: 0.6322 MB / 0.8104 GB, free: 72.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.9667, allocations: 24 kB / 0.8104 GB, free: 72.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.9667, allocations: 0 / 0.8104 GB, free: 72.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.9667, allocations: 7.969 kB / 0.8104 GB, free: 72.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.9801, allocations: 14.99 MB / 0.825 GB, free: 57.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/0.9801, allocations: 48.19 kB / 0.8251 GB, free: 56.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009983/0.9811, allocations: 452 kB / 0.8255 GB, free: 56.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.4e-05/0.9812, allocations: 63.94 kB / 0.8256 GB, free: 56.49 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-05/0.9813, allocations: 96 kB / 0.8257 GB, free: 56.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.82e-05/0.9813, allocations: 95.58 kB / 0.8258 GB, free: 56.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-05/0.9814, allocations: 71.69 kB / 0.8258 GB, free: 56.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002568/0.9839, allocations: 4.306 MB / 0.83 GB, free: 51.22 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000602/0.9846, allocations: 0.6266 MB / 0.8307 GB, free: 50.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003972/0.985, allocations: 110.8 kB / 0.8308 GB, free: 50.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.9865, allocations: 116.6 kB / 0.8309 GB, free: 50.35 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.9867, allocations: 318.5 kB / 0.8312 GB, free: 50.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.9868, allocations: 128.5 kB / 0.8313 GB, free: 49.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003783/0.9906, allocations: 3.952 MB / 0.8352 GB, free: 45.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9906, allocations: 3.938 kB / 0.8352 GB, free: 45.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004668/0.9953, allocations: 1.305 MB / 0.8364 GB, free: 44.67 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.002921/0.9982, allocations: 5.035 MB / 0.8413 GB, free: 38.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005565/1.004, allocations: 5.3 MB / 0.8465 GB, free: 33.67 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/1.004, allocations: 8 kB / 0.8465 GB, free: 33.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/1.005, allocations: 1.205 MB / 0.8477 GB, free: 32.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03681/1.042, allocations: 0.8614 MB / 0.8486 GB, free: 31.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2511/1.293, allocations: 82.09 MB / 0.9287 GB, free: 203.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005252/1.298, allocations: 5.073 MB / 0.9337 GB, free: 202.5 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005411/1.303, allocations: 2.545 MB / 0.9362 GB, free: 202.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002473/1.306, allocations: 3.289 MB / 0.9394 GB, free: 199.7 MB / 0.5763 GB Notification: Performance of SimCode: time 7.01e-07/1.306, allocations: 3.938 kB / 0.9394 GB, free: 199.7 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08903/1.395, allocations: 95.71 MB / 1.033 GB, free: 116.8 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001206/1.395, allocations: 194.5 kB / 1.033 GB, free: 116.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.754/5.149, allocations: 3.938 kB / 1.033 GB, free: 116.5 MB / 0.5763 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > 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