Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001259/0.001259, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00146/0.00146, allocations: 213.4 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.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.2299/0.2299, allocations: 44.93 MB / 359.6 MB, free: 6.047 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002032/0.002032, allocations: 59.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3341, allocations: 65.46 MB / 0.5577 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01171/0.3458, allocations: 8.862 MB / 0.5664 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006789/0.3526, allocations: 2.917 MB / 0.5692 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.3542, allocations: 63.81 kB / 0.5693 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005257/0.3594, allocations: 2.524 MB / 0.5717 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003447/0.3629, allocations: 1.218 MB / 0.5729 GB, free: 7.906 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009583/0.3638, allocations: 355.4 kB / 0.5733 GB, free: 7.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003584/0.3674, allocations: 2.539 MB / 0.5757 GB, free: 5.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002853/0.3703, allocations: 2.261 MB / 0.578 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.3717, allocations: 1.063 MB / 0.579 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.3738, allocations: 1.491 MB / 0.5804 GB, free: 156 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005027/0.3743, allocations: 252 kB / 0.5807 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.3755, allocations: 0.6749 MB / 0.5813 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.3769, allocations: 1.367 MB / 0.5827 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001465/0.3783, allocations: 1.138 MB / 0.5838 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005928/0.3843, allocations: 5.144 MB / 0.5888 GB, free: 7.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3843, allocations: 0 / 0.5888 GB, free: 7.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3843, allocations: 0 / 0.5888 GB, free: 7.551 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000116/0.3844, allocations: 0 / 0.5888 GB, free: 7.551 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.00619/0.3906, allocations: 3.274 MB / 0.592 GB, free: 4.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.3906, allocations: 12.03 kB / 0.592 GB, free: 4.211 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001384/0.3908, allocations: 80.8 kB / 0.5921 GB, free: 4.129 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008229/0.3916, allocations: 0.542 MB / 0.5926 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005196/0.3968, allocations: 1.629 MB / 0.5942 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00313/0.3999, allocations: 1.447 MB / 0.5956 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.4001, allocations: 184.5 kB / 0.5958 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005978/0.4007, allocations: 227.9 kB / 0.596 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01212/0.4128, allocations: 7.11 MB / 0.603 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.493e-05/0.4129, allocations: 11.88 kB / 0.603 GB, free: 8.609 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003038/0.4132, allocations: 103.9 kB / 0.6031 GB, free: 8.508 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002263/0.4154, allocations: 1.447 MB / 0.6045 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.4272, allocations: 5.955 MB / 0.6103 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03442/0.4616, allocations: 21.15 MB / 0.631 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005073/0.4667, allocations: 1.67 MB / 0.6326 GB, free: 9.672 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.4678, allocations: 0.7034 MB / 0.6333 GB, free: 8.965 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007478/0.4753, allocations: 3.237 MB / 0.6364 GB, free: 5.703 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.4754, allocations: 39.22 kB / 0.6365 GB, free: 5.656 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 4.017e-06/0.4754, allocations: 0 / 0.6365 GB, free: 5.656 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006638/0.482, allocations: 2.253 MB / 0.6387 GB, free: 3.398 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.4821, allocations: 60.06 kB / 0.6387 GB, free: 3.328 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/0.4856, allocations: 2.064 MB / 0.6408 GB, free: 1.266 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.061e-05/0.4857, allocations: 33.7 kB / 0.6408 GB, free: 1.227 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001728/0.4874, allocations: 2.118 MB / 0.6429 GB, free: 15.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/0.4878, allocations: 361.3 kB / 0.6432 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.4888, allocations: 0.6552 MB / 0.6438 GB, free: 14.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.489, allocations: 365.7 kB / 0.6442 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.4905, allocations: 0.9313 MB / 0.6451 GB, free: 12.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003132/0.4937, allocations: 2.868 MB / 0.6479 GB, free: 8.938 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005056/0.4987, allocations: 4.16 MB / 0.652 GB, free: 3.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-05/0.4988, allocations: 20 kB / 0.652 GB, free: 3.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006372/0.5052, allocations: 3.71 MB / 0.6556 GB, free: 88 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.316e-05/0.5052, allocations: 32.94 kB / 0.6556 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/0.5054, allocations: 68.05 kB / 0.6557 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001151/0.5055, allocations: 92 kB / 0.6558 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/0.5077, allocations: 0.6978 MB / 0.6565 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001245/0.5078, allocations: 131.5 kB / 0.6566 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/0.5099, allocations: 444.6 kB / 0.657 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003551/0.5102, allocations: 196 kB / 0.6572 GB, free: 14.44 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (382): * Single equations (assignments): 377 * 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.002414/0.5127, allocations: 1.511 MB / 0.6587 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/0.513, allocations: 174.8 kB / 0.6588 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004507/0.5134, allocations: 210.2 kB / 0.659 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/0.5135, allocations: 8 kB / 0.6591 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5135, allocations: 4 kB / 0.6591 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.5135, allocations: 7.984 kB / 0.6591 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009017/0.5225, allocations: 4.822 MB / 0.6638 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.5225, allocations: 4 kB / 0.6638 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.523, allocations: 115.8 kB / 0.6639 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/0.523, allocations: 15.94 kB / 0.6639 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/0.5231, allocations: 23.98 kB / 0.6639 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.565e-05/0.5231, allocations: 15.94 kB / 0.6639 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/0.5231, allocations: 11.94 kB / 0.664 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.525, allocations: 1.427 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004929/0.5255, allocations: 218.3 kB / 0.6656 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003501/0.5258, allocations: 23.98 kB / 0.6656 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006634/0.5265, allocations: 39.92 kB / 0.6656 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.5266, allocations: 71.72 kB / 0.6657 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.61e-05/0.5267, allocations: 32 kB / 0.6657 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002506/0.5292, allocations: 1.448 MB / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5292, allocations: 0 / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003012/0.5322, allocations: 0.7902 MB / 0.6679 GB, free: 3.156 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.002479/0.5347, allocations: 2.028 MB / 0.6699 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003569/0.5383, allocations: 2.082 MB / 0.6719 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.5383, allocations: 0 / 0.6719 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006634/0.5389, allocations: 483 kB / 0.6724 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.5406, allocations: 273 kB / 0.6726 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03976/0.5804, allocations: 23.21 MB / 0.6953 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003542/0.5839, allocations: 1.946 MB / 0.6972 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002439/0.5864, allocations: 1.02 MB / 0.6982 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001834/0.5882, allocations: 1.214 MB / 0.6994 GB, free: 104 kB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.5882, allocations: 0 / 0.6994 GB, free: 104 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3222/0.9104, allocations: 38.32 MB / 0.7368 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/17.34, allocations: 14.41 kB / 0.7368 GB, free: 161.7 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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: 21.12507625296712]