Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 106 kB / 16.46 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 189.4 kB / 17.39 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 207.6 MB / 225.8 MB, free: 11.53 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2174/0.2174, allocations: 44.24 MB / 319.9 MB, free: 12.86 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 71.89 kB / 453.5 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1048, allocations: 61 MB / 0.5025 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.02001/0.1249, allocations: 18.07 MB / 0.5201 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.1367, allocations: 5.436 MB / 0.5254 GB, free: 4.449 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002691/0.1394, allocations: 135.6 kB / 0.5255 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2074/0.3468, allocations: 6.168 MB / 0.5316 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008288/0.355, allocations: 3.265 MB / 0.5348 GB, free: 6.652 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003653/0.3587, allocations: 1.588 MB / 0.5363 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01375/0.3725, allocations: 8.389 MB / 0.5445 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009947/0.3824, allocations: 6.43 MB / 0.5508 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005812/0.3882, allocations: 3.268 MB / 0.554 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0065/0.3947, allocations: 4.681 MB / 0.5585 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002185/0.3969, allocations: 0.6665 MB / 0.5592 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003792/0.4007, allocations: 1.513 MB / 0.5607 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004299/0.405, allocations: 4.142 MB / 0.5647 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007034/0.412, allocations: 4.474 MB / 0.5691 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01852/0.4305, allocations: 13.73 MB / 0.5825 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4306, allocations: 0 / 0.5825 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4306, allocations: 0 / 0.5825 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004645/0.431, allocations: 0 / 0.5825 GB, free: 0.5938 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.02138/0.4524, allocations: 9.862 MB / 0.5921 GB, free: 6.812 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.4525, allocations: 15.89 kB / 0.5921 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003952/0.4564, allocations: 1.374 MB / 0.5935 GB, free: 5.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/0.4692, allocations: 2.81 MB / 0.5962 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01345/0.4826, allocations: 6.779 MB / 0.6028 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004529/0.4831, allocations: 479.9 kB / 0.6033 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001883/0.485, allocations: 0.6065 MB / 0.6039 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03707/0.522, allocations: 19.5 MB / 0.6229 GB, free: 6.492 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002562/0.5223, allocations: 75.41 kB / 0.623 GB, free: 6.418 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001335/0.5236, allocations: 295.7 kB / 0.6233 GB, free: 6.199 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005832/0.5295, allocations: 3.642 MB / 0.6268 GB, free: 2.574 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03321/0.5627, allocations: 15.18 MB / 0.6417 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1033/0.6659, allocations: 72.9 MB / 0.7129 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01762/0.6835, allocations: 5.895 MB / 0.7186 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004235/0.6878, allocations: 2.38 MB / 0.7209 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0215/0.7093, allocations: 11.19 MB / 0.7319 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.569e-05/0.7093, allocations: 56.56 kB / 0.7319 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=250): time 6.021e-06/0.7093, allocations: 0 / 0.7319 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=274): time 0.04818/0.7575, allocations: 16.94 MB / 0.7485 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.7576, allocations: 158.5 kB / 0.7486 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.39/1.148, allocations: 6.831 MB / 0.7553 GB, free: 188 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004791/1.148, allocations: 69.27 kB / 0.7554 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003953/1.152, allocations: 5.972 MB / 0.7612 GB, free: 186 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00133/1.153, allocations: 1.101 MB / 0.7623 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002944/1.156, allocations: 1.886 MB / 0.7641 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.835e-05/1.156, allocations: 304.8 kB / 0.7644 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004632/1.161, allocations: 2.739 MB / 0.7671 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007224/1.168, allocations: 8.621 MB / 0.7755 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/1.181, allocations: 12.39 MB / 0.7876 GB, free: 163.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003052/1.181, allocations: 59.66 kB / 0.7876 GB, free: 163.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.02032/1.201, allocations: 11.07 MB / 0.7984 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001711/1.201, allocations: 94.75 kB / 0.7985 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000295/1.202, allocations: 208.8 kB / 0.7987 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002754/1.202, allocations: 276.7 kB / 0.799 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006958/1.209, allocations: 2.183 MB / 0.8011 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003413/1.209, allocations: 419.1 kB / 0.8015 GB, free: 159 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006917/1.216, allocations: 454.5 kB / 0.802 GB, free: 158.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001312/1.217, allocations: 0.572 MB / 0.8025 GB, free: 158.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (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 (1179): * Single equations (assignments): 1168 * 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.005902/1.223, allocations: 3.77 MB / 0.8062 GB, free: 157.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/1.225, allocations: 0.6194 MB / 0.8068 GB, free: 156.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005338/1.23, allocations: 2.994 MB / 0.8097 GB, free: 155.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/1.23, allocations: 33.41 kB / 0.8098 GB, free: 155.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/1.23, allocations: 0 / 0.8098 GB, free: 155.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/1.23, allocations: 15 kB / 0.8098 GB, free: 155.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02995/1.26, allocations: 25.17 MB / 0.8344 GB, free: 136.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-05/1.26, allocations: 64 kB / 0.8344 GB, free: 136.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/1.262, allocations: 0.6121 MB / 0.835 GB, free: 135.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.154e-05/1.262, allocations: 80.72 kB / 0.8351 GB, free: 135.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002164/1.262, allocations: 136 kB / 0.8352 GB, free: 135.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.227e-05/1.262, allocations: 131.5 kB / 0.8354 GB, free: 135.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.482e-05/1.262, allocations: 99.56 kB / 0.8354 GB, free: 135.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004778/1.267, allocations: 5.918 MB / 0.8412 GB, free: 128.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.269, allocations: 0.7427 MB / 0.842 GB, free: 127.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007537/1.269, allocations: 147.9 kB / 0.8421 GB, free: 127.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002506/1.272, allocations: 151.8 kB / 0.8422 GB, free: 127.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003653/1.272, allocations: 426 kB / 0.8426 GB, free: 126.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/1.272, allocations: 172.9 kB / 0.8428 GB, free: 126.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005429/1.278, allocations: 4.261 MB / 0.847 GB, free: 122.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/1.278, allocations: 4 kB / 0.847 GB, free: 122.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008555/1.286, allocations: 1.551 MB / 0.8485 GB, free: 121 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.005459/1.292, allocations: 6.695 MB / 0.855 GB, free: 113.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008727/1.301, allocations: 6.286 MB / 0.8612 GB, free: 107 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.082e-05/1.301, allocations: 12 kB / 0.8612 GB, free: 107 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/1.303, allocations: 1.59 MB / 0.8627 GB, free: 105.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006607/1.309, allocations: 0.9792 MB / 0.8637 GB, free: 104.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08845/1.398, allocations: 77.14 MB / 0.939 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00715/1.405, allocations: 5.795 MB / 0.9447 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00624/1.411, allocations: 2.887 MB / 0.9475 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004183/1.415, allocations: 3.815 MB / 0.9512 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of SimCode: time 9.22e-07/1.415, allocations: 0 / 0.9512 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3617/1.777, allocations: 106.2 MB / 1.055 GB, free: 165.1 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 60.92/62.7, allocations: 3.938 kB / 1.055 GB, free: 165.1 MB / 0.6232 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches