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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 110.2 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 224.5 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2189/0.2189, allocations: 44.24 MB / 330.3 MB, free: 9.504 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 70.88 kB / 467.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1086, allocations: 61.04 MB / 0.5161 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01328/0.1219, allocations: 11.11 MB / 0.527 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006434/0.1283, allocations: 3.1 MB / 0.53 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.1296, allocations: 59.81 kB / 0.5301 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004158/0.1338, allocations: 2.044 MB / 0.5321 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002948/0.1367, allocations: 1.245 MB / 0.5333 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008113/0.1375, allocations: 295.4 kB / 0.5336 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003534/0.1411, allocations: 2.493 MB / 0.536 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002691/0.1438, allocations: 1.84 MB / 0.5378 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.1453, allocations: 0.9812 MB / 0.5388 GB, free: 32 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2027/0.348, allocations: 1.399 MB / 0.5401 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004949/0.3485, allocations: 220.7 kB / 0.5403 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.3498, allocations: 0.7303 MB / 0.5411 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.351, allocations: 1.278 MB / 0.5423 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.3523, allocations: 1.467 MB / 0.5437 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005581/0.3579, allocations: 4.866 MB / 0.5485 GB, free: 10.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3579, allocations: 4.812 kB / 0.5485 GB, free: 10.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3579, allocations: 0 / 0.5485 GB, free: 10.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001385/0.358, allocations: 0 / 0.5485 GB, free: 10.29 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: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.006308/0.3643, allocations: 3.153 MB / 0.5516 GB, free: 8.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3644, allocations: 9.188 kB / 0.5516 GB, free: 8.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007844/0.3652, allocations: 0.523 MB / 0.5521 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005511/0.3707, allocations: 1.637 MB / 0.5537 GB, free: 8.637 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003422/0.3741, allocations: 1.368 MB / 0.555 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.3742, allocations: 155.4 kB / 0.5552 GB, free: 8.145 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004937/0.3747, allocations: 210.3 kB / 0.5554 GB, free: 8.098 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.3856, allocations: 6.978 MB / 0.5622 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.673e-05/0.3856, allocations: 18.56 kB / 0.5622 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002654/0.3859, allocations: 97.28 kB / 0.5623 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002082/0.388, allocations: 1.525 MB / 0.5638 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.3986, allocations: 5.946 MB / 0.5696 GB, free: 3.047 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02942/0.428, allocations: 22.04 MB / 0.5911 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004161/0.4322, allocations: 1.66 MB / 0.5927 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.4333, allocations: 0.7424 MB / 0.5935 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007317/0.4407, allocations: 3.495 MB / 0.5969 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.4407, allocations: 42.58 kB / 0.5969 GB, free: 13.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.126e-06/0.4407, allocations: 4 kB / 0.5969 GB, free: 13.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.005967/0.4467, allocations: 2.268 MB / 0.5991 GB, free: 10.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.4467, allocations: 61.75 kB / 0.5992 GB, free: 10.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003327/0.4501, allocations: 2.065 MB / 0.6012 GB, free: 8.754 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-05/0.4502, allocations: 41.7 kB / 0.6013 GB, free: 8.707 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001672/0.4518, allocations: 2.09 MB / 0.6033 GB, free: 6.621 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003945/0.4522, allocations: 392.1 kB / 0.6037 GB, free: 6.242 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009577/0.4532, allocations: 0.6782 MB / 0.6043 GB, free: 5.559 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.4534, allocations: 353.9 kB / 0.6047 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.4549, allocations: 0.9941 MB / 0.6056 GB, free: 4.211 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003267/0.4582, allocations: 3.002 MB / 0.6086 GB, free: 256 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004956/0.4631, allocations: 4.355 MB / 0.6128 GB, free: 11.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.299e-05/0.4632, allocations: 24 kB / 0.6128 GB, free: 11.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005865/0.469, allocations: 3.889 MB / 0.6166 GB, free: 7.703 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.4691, allocations: 44.05 kB / 0.6167 GB, free: 7.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.41e-05/0.4692, allocations: 71.62 kB / 0.6168 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.9e-05/0.4693, allocations: 96 kB / 0.6168 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/0.4713, allocations: 0.7252 MB / 0.6176 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001152/0.4714, allocations: 139.4 kB / 0.6177 GB, free: 6.637 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.4734, allocations: 464.5 kB / 0.6181 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/0.4736, allocations: 208 kB / 0.6183 GB, free: 5.977 MB / 462.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.002392/0.476, allocations: 1.465 MB / 0.6198 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/0.4763, allocations: 178.8 kB / 0.6199 GB, free: 4.328 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.4783, allocations: 1.251 MB / 0.6212 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.4783, allocations: 12 kB / 0.6212 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4784, allocations: 0 / 0.6212 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.4784, allocations: 7.922 kB / 0.6212 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008712/0.4871, allocations: 5.006 MB / 0.6261 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.4871, allocations: 8 kB / 0.6261 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/0.4877, allocations: 147.7 kB / 0.6262 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.647e-05/0.4877, allocations: 12 kB / 0.6262 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.4877, allocations: 27.98 kB / 0.6262 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.888e-05/0.4878, allocations: 20.47 kB / 0.6263 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-05/0.4878, allocations: 11.94 kB / 0.6263 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.4898, allocations: 1.594 MB / 0.6278 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/0.4902, allocations: 210.5 kB / 0.628 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.4904, allocations: 24 kB / 0.6281 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005828/0.491, allocations: 35.97 kB / 0.6281 GB, free: 11.63 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.4911, allocations: 79.66 kB / 0.6282 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.259e-05/0.4912, allocations: 40 kB / 0.6282 GB, free: 11.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001891/0.4931, allocations: 1.344 MB / 0.6295 GB, free: 10.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4931, allocations: 0 / 0.6295 GB, free: 10.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002716/0.4958, allocations: 0.7856 MB / 0.6303 GB, free: 9.363 MB / 478.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.002535/0.4983, allocations: 2.216 MB / 0.6324 GB, free: 7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003525/0.5019, allocations: 2.214 MB / 0.6346 GB, free: 4.805 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5019, allocations: 4.188 kB / 0.6346 GB, free: 4.801 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007536/0.5026, allocations: 0.5255 MB / 0.6351 GB, free: 4.277 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.504, allocations: 267 kB / 0.6354 GB, free: 4.031 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03445/0.5384, allocations: 23.24 MB / 0.6581 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003069/0.5415, allocations: 2.465 MB / 0.6605 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002401/0.5439, allocations: 1.049 MB / 0.6615 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/0.5455, allocations: 1.163 MB / 0.6626 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of SimCode: time 1.223e-06/0.5455, allocations: 0 / 0.6626 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08153/0.627, allocations: 38.78 MB / 0.7005 GB, free: 14.47 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/16.25, allocations: 19.19 kB / 0.7005 GB, free: 14.46 MB / 0.545 GB " [Timeout remaining time 644] (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 --stepSize=0.000219912 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.322878879960626]