Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",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.001432/0.001432, allocations: 102.7 kB / 16.27 MB, free: 5.93 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.001601/0.001601, allocations: 192.3 kB / 17.2 MB, free: 5.574 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.435/1.435, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2144/0.2144, allocations: 43.53 MB / 314 MB, free: 0.5273 MB / 254.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.00157/0.001571, allocations: 72.23 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1051, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01068/0.1158, allocations: 11.02 MB / 451.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005766/0.1216, allocations: 3.065 MB / 454.7 MB, free: 8.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009122/0.1225, allocations: 55.88 kB / 454.8 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003419/0.1259, allocations: 2.005 MB / 456.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.1283, allocations: 1.214 MB / 458 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.1289, allocations: 291.4 kB / 458.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.1315, allocations: 2.492 MB / 460.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002341/0.1338, allocations: 2.406 MB / 463.2 MB, free: 156 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009904/0.1348, allocations: 0.9774 MB / 464.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.1362, allocations: 1.289 MB / 465.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003258/0.1365, allocations: 220 kB / 465.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.1376, allocations: 0.7059 MB / 466.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009513/0.1386, allocations: 1.235 MB / 467.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.1398, allocations: 1.479 MB / 469.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00401/0.1438, allocations: 4.657 MB / 473.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1439, allocations: 0 / 473.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1439, allocations: 0 / 473.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.357e-05/0.1439, allocations: 0 / 473.7 MB, free: 5.559 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.004877/0.1488, allocations: 3.143 MB / 476.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1489, allocations: 19.88 kB / 476.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005445/0.1494, allocations: 0.5177 MB / 477.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005386/0.1548, allocations: 1.623 MB / 479 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.1571, allocations: 1.414 MB / 480.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.1572, allocations: 164.1 kB / 480.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003361/0.1575, allocations: 203.9 kB / 480.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009758/0.1673, allocations: 6.973 MB / 487.8 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.007e-05/0.1674, allocations: 15.88 kB / 487.8 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003317/0.1678, allocations: 95.89 kB / 487.9 MB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002316/0.1701, allocations: 1.525 MB / 489.4 MB, free: 5.406 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.1804, allocations: 5.952 MB / 495.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02863/0.2091, allocations: 22.24 MB / 0.5055 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004294/0.2134, allocations: 2.2 MB / 0.5076 GB, free: 6.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.2145, allocations: 0.8069 MB / 0.5084 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006469/0.221, allocations: 3.961 MB / 0.5123 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.2211, allocations: 39.22 kB / 0.5123 GB, free: 1.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 4.328e-06/0.2211, allocations: 3.984 kB / 0.5123 GB, free: 1.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.005679/0.2268, allocations: 2.256 MB / 0.5145 GB, free: 15.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.2268, allocations: 60.06 kB / 0.5146 GB, free: 14.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/0.2295, allocations: 2.056 MB / 0.5166 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.2295, allocations: 37.7 kB / 0.5166 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001223/0.2308, allocations: 2.019 MB / 0.5186 GB, free: 10.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/0.2311, allocations: 379.2 kB / 0.5189 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008378/0.2319, allocations: 0.6746 MB / 0.5196 GB, free: 9.723 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2321, allocations: 357.9 kB / 0.5199 GB, free: 9.367 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.2335, allocations: 0.998 MB / 0.5209 GB, free: 8.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002698/0.2363, allocations: 2.992 MB / 0.5238 GB, free: 4.379 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1867/0.423, allocations: 4.361 MB / 0.5281 GB, free: 84.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.673e-05/0.4231, allocations: 20.75 kB / 0.5281 GB, free: 84.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.007438/0.4306, allocations: 3.878 MB / 0.5319 GB, free: 84.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/0.4306, allocations: 36 kB / 0.5319 GB, free: 84.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.715e-05/0.4307, allocations: 70.72 kB / 0.532 GB, free: 84.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001086/0.4309, allocations: 94.77 kB / 0.5321 GB, free: 84.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/0.4332, allocations: 0.7282 MB / 0.5328 GB, free: 84.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001519/0.4333, allocations: 136.5 kB / 0.5329 GB, free: 84.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.4356, allocations: 450.6 kB / 0.5334 GB, free: 84.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004744/0.4361, allocations: 210.2 kB / 0.5336 GB, free: 84.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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 (401): * Single equations (assignments): 396 * 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.002255/0.4383, allocations: 1.472 MB / 0.535 GB, free: 84.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/0.4387, allocations: 173.8 kB / 0.5352 GB, free: 84.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.4407, allocations: 1.238 MB / 0.5364 GB, free: 83.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.4408, allocations: 12.16 kB / 0.5364 GB, free: 83.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4408, allocations: 0 / 0.5364 GB, free: 83.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.4408, allocations: 7.719 kB / 0.5364 GB, free: 83.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009633/0.4505, allocations: 5.028 MB / 0.5413 GB, free: 81.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/0.4505, allocations: 11.03 kB / 0.5413 GB, free: 81.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006709/0.4512, allocations: 144.7 kB / 0.5415 GB, free: 81.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.705e-05/0.4512, allocations: 13.84 kB / 0.5415 GB, free: 81.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.539e-05/0.4513, allocations: 32.08 kB / 0.5415 GB, free: 81.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/0.4513, allocations: 16.25 kB / 0.5415 GB, free: 81.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.4513, allocations: 19.75 kB / 0.5415 GB, free: 81.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.453, allocations: 1.578 MB / 0.5431 GB, free: 80.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/0.4534, allocations: 273.2 kB / 0.5433 GB, free: 80.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/0.4538, allocations: 26.66 kB / 0.5434 GB, free: 80.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000721/0.4545, allocations: 43.91 kB / 0.5434 GB, free: 80.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.4546, allocations: 91.75 kB / 0.5435 GB, free: 80.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.516e-05/0.4547, allocations: 39.48 kB / 0.5435 GB, free: 80.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002008/0.4567, allocations: 1.339 MB / 0.5448 GB, free: 80.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4567, allocations: 0 / 0.5448 GB, free: 80.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00281/0.4595, allocations: 0.7718 MB / 0.5456 GB, free: 79.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.002037/0.4616, allocations: 2.2 MB / 0.5477 GB, free: 78.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003775/0.4654, allocations: 2.566 MB / 0.5503 GB, free: 77.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.4654, allocations: 3.781 kB / 0.5503 GB, free: 77.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006928/0.4661, allocations: 0.5565 MB / 0.5508 GB, free: 77.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.4679, allocations: 265.4 kB / 0.5511 GB, free: 77.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02609/0.494, allocations: 24.62 MB / 0.5751 GB, free: 50.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/0.4959, allocations: 2.469 MB / 0.5775 GB, free: 48.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002151/0.4981, allocations: 1.043 MB / 0.5785 GB, free: 47.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/0.4991, allocations: 1.163 MB / 0.5797 GB, free: 46.01 MB / 414.1 MB Notification: Performance of SimCode: time 9.41e-07/0.4991, allocations: 0 / 0.5797 GB, free: 46.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.049/0.5481, allocations: 35.15 MB / 0.614 GB, free: 10.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.253/8.801, allocations: 8.062 kB / 0.614 GB, free: 10.86 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches