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.001765/0.001765, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.002418/0.002418, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.2228/0.2228, allocations: 44.91 MB / 359.6 MB, free: 6.312 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.002792/0.002792, allocations: 63.91 kB / 0.4938 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3124, allocations: 65.48 MB / 0.5578 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01288/0.3253, allocations: 10.19 MB / 0.5677 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007352/0.3327, allocations: 3.103 MB / 0.5708 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.3344, allocations: 63.81 kB / 0.5708 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005531/0.3399, allocations: 2.648 MB / 0.5734 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003557/0.3434, allocations: 1.218 MB / 0.5746 GB, free: 6.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.3445, allocations: 347.3 kB / 0.5749 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004347/0.3489, allocations: 2.543 MB / 0.5774 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003457/0.3523, allocations: 2.261 MB / 0.5796 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.3543, allocations: 1.063 MB / 0.5807 GB, free: 276 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00261/0.3569, allocations: 1.492 MB / 0.5821 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006632/0.3576, allocations: 252 kB / 0.5824 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.3592, allocations: 0.784 MB / 0.5831 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00158/0.3608, allocations: 1.36 MB / 0.5845 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002014/0.3628, allocations: 1.561 MB / 0.586 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006525/0.3693, allocations: 5.132 MB / 0.591 GB, free: 5.656 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3693, allocations: 0 / 0.591 GB, free: 5.656 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3693, allocations: 0 / 0.591 GB, free: 5.656 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001781/0.3695, allocations: 0 / 0.591 GB, free: 5.656 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.007287/0.3768, allocations: 3.27 MB / 0.5942 GB, free: 2.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.3769, allocations: 12.02 kB / 0.5942 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001079/0.377, allocations: 80.86 kB / 0.5943 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00105/0.378, allocations: 0.5497 MB / 0.5948 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005579/0.3836, allocations: 1.625 MB / 0.5964 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.387, allocations: 1.435 MB / 0.5978 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.3872, allocations: 188.5 kB / 0.598 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006408/0.3879, allocations: 223.9 kB / 0.5982 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/0.401, allocations: 7.114 MB / 0.6051 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.407e-05/0.401, allocations: 15.88 kB / 0.6052 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004132/0.4015, allocations: 107.9 kB / 0.6053 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002431/0.4039, allocations: 1.447 MB / 0.6067 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.4166, allocations: 5.941 MB / 0.6125 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04041/0.457, allocations: 22.25 MB / 0.6342 GB, free: 8.379 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005218/0.4622, allocations: 1.675 MB / 0.6358 GB, free: 6.688 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.4635, allocations: 0.7034 MB / 0.6365 GB, free: 5.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007902/0.4714, allocations: 3.397 MB / 0.6398 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.4714, allocations: 35.22 kB / 0.6399 GB, free: 2.512 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 4.468e-06/0.4714, allocations: 4 kB / 0.6399 GB, free: 2.508 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006736/0.4781, allocations: 2.261 MB / 0.6421 GB, free: 248 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.4782, allocations: 60.06 kB / 0.6421 GB, free: 176 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003882/0.4821, allocations: 2.056 MB / 0.6442 GB, free: 14.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.4822, allocations: 45.64 kB / 0.6442 GB, free: 14.06 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001926/0.4841, allocations: 2.106 MB / 0.6463 GB, free: 11.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005242/0.4847, allocations: 361.3 kB / 0.6466 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001235/0.4859, allocations: 0.6512 MB / 0.6472 GB, free: 10.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002553/0.4862, allocations: 365.9 kB / 0.6476 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.4878, allocations: 0.9391 MB / 0.6485 GB, free: 9.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003524/0.4913, allocations: 2.868 MB / 0.6513 GB, free: 5.785 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005803/0.4971, allocations: 4.158 MB / 0.6554 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.617e-05/0.4972, allocations: 20 kB / 0.6554 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007643/0.5048, allocations: 3.703 MB / 0.659 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.593e-05/0.5049, allocations: 38.66 kB / 0.659 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001275/0.505, allocations: 68 kB / 0.6591 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.5052, allocations: 88 kB / 0.6592 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/0.5077, allocations: 0.6901 MB / 0.6599 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001484/0.5079, allocations: 132 kB / 0.66 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/0.5104, allocations: 448.7 kB / 0.6604 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005617/0.511, allocations: 200 kB / 0.6606 GB, free: 11.3 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.003014/0.514, allocations: 1.507 MB / 0.6621 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/0.5144, allocations: 178.8 kB / 0.6622 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005895/0.515, allocations: 214.2 kB / 0.6624 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.26e-05/0.5151, allocations: 12 kB / 0.6625 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.5151, allocations: 3.938 kB / 0.6625 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.5151, allocations: 7.984 kB / 0.6625 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.5265, allocations: 4.911 MB / 0.6673 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/0.5265, allocations: 8 kB / 0.6673 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/0.527, allocations: 115.8 kB / 0.6674 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.823e-05/0.5271, allocations: 12.81 kB / 0.6674 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.878e-05/0.5271, allocations: 23.98 kB / 0.6674 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-05/0.5272, allocations: 19.94 kB / 0.6674 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/0.5272, allocations: 11.94 kB / 0.6675 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.5293, allocations: 1.426 MB / 0.6688 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005842/0.5299, allocations: 218.3 kB / 0.6691 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003532/0.5302, allocations: 23.98 kB / 0.6691 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007136/0.5309, allocations: 31.94 kB / 0.6691 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.5311, allocations: 79.66 kB / 0.6692 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.987e-05/0.5312, allocations: 32 kB / 0.6692 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002931/0.5341, allocations: 1.448 MB / 0.6706 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5341, allocations: 0 / 0.6706 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003368/0.5375, allocations: 0.7826 MB / 0.6714 GB, free: 15.91 MB / 0.5137 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.002816/0.5403, allocations: 2.028 MB / 0.6734 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003807/0.5441, allocations: 2.078 MB / 0.6754 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/0.5441, allocations: 4 kB / 0.6754 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007744/0.5449, allocations: 478.9 kB / 0.6759 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.5468, allocations: 273.9 kB / 0.6761 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04181/0.5886, allocations: 23.22 MB / 0.6988 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004122/0.5927, allocations: 2.506 MB / 0.7012 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002674/0.5954, allocations: 1.024 MB / 0.7022 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002232/0.5977, allocations: 1.206 MB / 0.7034 GB, free: 12.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.543e-06/0.5977, allocations: 0 / 0.7034 GB, free: 12.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3893/0.9869, allocations: 39.58 MB / 0.7421 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.27/18.25, allocations: 7.062 kB / 0.7421 GB, free: 161.3 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: 22.015582196996547]