Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 119 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2209/0.2209, allocations: 44.92 MB / 349.6 MB, free: 1.734 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 64.11 kB / 491.8 MB, free: 29.85 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1046, allocations: 64.26 MB / 0.543 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.0128/0.1173, allocations: 9.786 MB / 0.5526 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006257/0.1236, allocations: 2.94 MB / 0.5554 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.1248, allocations: 55.88 kB / 0.5555 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004039/0.1289, allocations: 2.009 MB / 0.5574 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.1318, allocations: 1.16 MB / 0.5586 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007689/0.1326, allocations: 291.4 kB / 0.5588 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003134/0.1357, allocations: 2.322 MB / 0.5611 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00234/0.138, allocations: 1.934 MB / 0.563 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.1392, allocations: 0.8994 MB / 0.5639 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/0.1409, allocations: 1.285 MB / 0.5651 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003549/0.1412, allocations: 196 kB / 0.5653 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.1425, allocations: 0.7255 MB / 0.566 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.1436, allocations: 1.176 MB / 0.5672 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.1451, allocations: 1.351 MB / 0.5685 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005079/0.1501, allocations: 4.47 MB / 0.5729 GB, free: 5.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.1501, allocations: 7.984 kB / 0.5729 GB, free: 5.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1501, allocations: 0 / 0.5729 GB, free: 5.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.846e-05/0.1502, allocations: 0 / 0.5729 GB, free: 5.371 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005335/0.1556, allocations: 3.012 MB / 0.5758 GB, free: 2.297 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1556, allocations: 8.031 kB / 0.5758 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000714/0.1563, allocations: 0.4919 MB / 0.5763 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005121/0.1614, allocations: 1.602 MB / 0.5779 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.1647, allocations: 1.364 MB / 0.5792 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.1649, allocations: 151.8 kB / 0.5793 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006031/0.1655, allocations: 187.9 kB / 0.5795 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/0.1772, allocations: 6.428 MB / 0.5858 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.103e-05/0.1773, allocations: 11.88 kB / 0.5858 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000309/0.1776, allocations: 95.89 kB / 0.5859 GB, free: 7.641 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002245/0.1798, allocations: 1.407 MB / 0.5873 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/0.1906, allocations: 5.484 MB / 0.5926 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2594/0.4499, allocations: 20.5 MB / 0.6127 GB, free: 46.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004485/0.4544, allocations: 1.937 MB / 0.6145 GB, free: 45.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.4555, allocations: 0.6425 MB / 0.6152 GB, free: 45.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007448/0.4629, allocations: 3.639 MB / 0.6187 GB, free: 44.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.463, allocations: 37.09 kB / 0.6188 GB, free: 44.69 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.757e-06/0.463, allocations: 1.125 kB / 0.6188 GB, free: 44.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005683/0.4687, allocations: 1.993 MB / 0.6207 GB, free: 44.42 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.4687, allocations: 62.72 kB / 0.6208 GB, free: 44.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/0.4718, allocations: 1.971 MB / 0.6227 GB, free: 43.65 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.95e-05/0.4719, allocations: 40.36 kB / 0.6227 GB, free: 43.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.4732, allocations: 1.958 MB / 0.6246 GB, free: 42.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/0.4736, allocations: 326 kB / 0.625 GB, free: 42.14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009247/0.4745, allocations: 0.6284 MB / 0.6256 GB, free: 41.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4746, allocations: 355.4 kB / 0.6259 GB, free: 41.51 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.4761, allocations: 0.8918 MB / 0.6268 GB, free: 41.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002151/0.4783, allocations: 2.772 MB / 0.6295 GB, free: 38.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/0.4817, allocations: 4.001 MB / 0.6334 GB, free: 35 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.509e-05/0.4818, allocations: 23.88 kB / 0.6334 GB, free: 35 MB / 462.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.00553/0.4873, allocations: 3.562 MB / 0.6369 GB, free: 33.63 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.4874, allocations: 37.34 kB / 0.6369 GB, free: 33.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.622e-05/0.4875, allocations: 66.53 kB / 0.637 GB, free: 33.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.611e-05/0.4876, allocations: 86.56 kB / 0.6371 GB, free: 33.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.4893, allocations: 0.6665 MB / 0.6377 GB, free: 33.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.017e-05/0.4894, allocations: 131.6 kB / 0.6379 GB, free: 33.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/0.4915, allocations: 430.5 kB / 0.6383 GB, free: 33.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003679/0.4918, allocations: 190.3 kB / 0.6384 GB, free: 33.22 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.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 (365): * Single equations (assignments): 360 * 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.001912/0.4937, allocations: 1.368 MB / 0.6398 GB, free: 32.58 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.494, allocations: 169.5 kB / 0.6399 GB, free: 32.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.4943, allocations: 198.2 kB / 0.6401 GB, free: 32.38 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/0.4943, allocations: 10.75 kB / 0.6401 GB, free: 32.38 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.4943, allocations: 7.547 kB / 0.6401 GB, free: 32.38 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4943, allocations: 0 / 0.6401 GB, free: 32.38 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005859/0.5002, allocations: 4.1 MB / 0.6442 GB, free: 30.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.5002, allocations: 11.12 kB / 0.6442 GB, free: 30.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.5006, allocations: 102.8 kB / 0.6443 GB, free: 30.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/0.5006, allocations: 10.02 kB / 0.6443 GB, free: 30.67 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.5006, allocations: 21.91 kB / 0.6443 GB, free: 30.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.5006, allocations: 12.88 kB / 0.6443 GB, free: 30.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5007, allocations: 7.406 kB / 0.6443 GB, free: 30.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.5018, allocations: 1.264 MB / 0.6455 GB, free: 29.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003971/0.5022, allocations: 261.5 kB / 0.6458 GB, free: 29.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.5024, allocations: 27.89 kB / 0.6458 GB, free: 29.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/0.5028, allocations: 31.22 kB / 0.6458 GB, free: 29.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/0.5029, allocations: 58.34 kB / 0.6459 GB, free: 29.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.503, allocations: 33.97 kB / 0.6459 GB, free: 29.63 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001493/0.5044, allocations: 1.28 MB / 0.6472 GB, free: 28.97 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5044, allocations: 0 / 0.6472 GB, free: 28.97 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002696/0.5071, allocations: 0.7075 MB / 0.6479 GB, free: 28.51 MB / 462.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.001567/0.5087, allocations: 1.892 MB / 0.6497 GB, free: 26.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002553/0.5113, allocations: 1.967 MB / 0.6516 GB, free: 24.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.5113, allocations: 0 / 0.6516 GB, free: 24.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.5117, allocations: 438.2 kB / 0.6521 GB, free: 24.13 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.5129, allocations: 259.4 kB / 0.6523 GB, free: 23.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02197/0.5349, allocations: 21.2 MB / 0.673 GB, free: 136 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00325/0.5381, allocations: 2.321 MB / 0.6753 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002314/0.5405, allocations: 0.9646 MB / 0.6762 GB, free: 12.83 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/0.5421, allocations: 1.073 MB / 0.6773 GB, free: 11.75 MB / 478.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5421, allocations: 0 / 0.6773 GB, free: 11.75 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07262/0.6147, allocations: 33.31 MB / 0.7098 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.76, allocations: 3.984 kB / 0.7098 GB, free: 10.63 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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: 16.01030781539157]