Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001879/0.001879, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002323/0.002323, allocations: 211.5 kB / 23.73 MB, free: 4.387 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.478/1.478, allocations: 230.6 MB / 257.5 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.221/0.221, allocations: 44.94 MB / 358.8 MB, free: 6.062 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.CutTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",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.002126/0.002126, allocations: 64.19 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3206, allocations: 65.47 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01109/0.3317, allocations: 8.41 MB / 0.5652 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005808/0.3375, allocations: 2.78 MB / 0.5679 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009759/0.3385, allocations: 59.81 kB / 0.5679 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003803/0.3423, allocations: 1.935 MB / 0.5698 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002638/0.345, allocations: 1.144 MB / 0.571 GB, free: 9.156 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006988/0.3456, allocations: 283.5 kB / 0.5712 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003362/0.349, allocations: 2.322 MB / 0.5735 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002406/0.3514, allocations: 1.734 MB / 0.5752 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.3526, allocations: 0.8917 MB / 0.5761 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/0.3542, allocations: 1.164 MB / 0.5772 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000379/0.3546, allocations: 196 kB / 0.5774 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.3558, allocations: 0.6084 MB / 0.578 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.3569, allocations: 1.137 MB / 0.5791 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.358, allocations: 0.9509 MB / 0.58 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005068/0.3631, allocations: 4.342 MB / 0.5843 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3631, allocations: 0 / 0.5843 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3631, allocations: 0 / 0.5843 GB, free: 11.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.227e-05/0.3632, allocations: 4 kB / 0.5843 GB, free: 11.45 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005246/0.3684, allocations: 2.869 MB / 0.5871 GB, free: 8.535 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.3685, allocations: 8.031 kB / 0.5871 GB, free: 8.527 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006398/0.3691, allocations: 483.1 kB / 0.5875 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005207/0.3743, allocations: 1.578 MB / 0.5891 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003083/0.3774, allocations: 1.286 MB / 0.5903 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.3775, allocations: 147.8 kB / 0.5905 GB, free: 5.004 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003447/0.3779, allocations: 187.9 kB / 0.5906 GB, free: 4.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009705/0.3876, allocations: 6.25 MB / 0.5967 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.822e-05/0.3876, allocations: 19.81 kB / 0.5968 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/0.3879, allocations: 91.89 kB / 0.5969 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002254/0.3901, allocations: 1.34 MB / 0.5982 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/0.4002, allocations: 5.318 MB / 0.6034 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02872/0.4289, allocations: 19.06 MB / 0.622 GB, free: 3.879 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004281/0.4332, allocations: 1.492 MB / 0.6234 GB, free: 2.375 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.4343, allocations: 0.6328 MB / 0.624 GB, free: 1.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007103/0.4414, allocations: 3.02 MB / 0.627 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.4414, allocations: 39 kB / 0.627 GB, free: 14.64 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.446e-06/0.4414, allocations: 0 / 0.627 GB, free: 14.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005569/0.447, allocations: 1.994 MB / 0.629 GB, free: 12.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.447, allocations: 59.78 kB / 0.629 GB, free: 12.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002776/0.4498, allocations: 2.05 MB / 0.631 GB, free: 10.51 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/0.4499, allocations: 37.7 kB / 0.6311 GB, free: 10.47 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001481/0.4513, allocations: 1.907 MB / 0.6329 GB, free: 8.539 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.4516, allocations: 333.5 kB / 0.6332 GB, free: 8.211 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008799/0.4525, allocations: 0.6156 MB / 0.6338 GB, free: 7.586 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4527, allocations: 357.9 kB / 0.6342 GB, free: 7.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.4541, allocations: 0.8881 MB / 0.6351 GB, free: 6.34 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003138/0.4572, allocations: 2.751 MB / 0.6377 GB, free: 2.656 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004975/0.4622, allocations: 3.966 MB / 0.6416 GB, free: 13.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.291e-05/0.4622, allocations: 20 kB / 0.6416 GB, free: 13.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005807/0.468, allocations: 3.538 MB / 0.6451 GB, free: 10.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.743e-05/0.4681, allocations: 36 kB / 0.6451 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.667e-05/0.4682, allocations: 67.94 kB / 0.6452 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001089/0.4683, allocations: 95.92 kB / 0.6453 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.4701, allocations: 0.655 MB / 0.6459 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001136/0.4703, allocations: 127.5 kB / 0.646 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.472, allocations: 429.1 kB / 0.6465 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/0.4723, allocations: 184 kB / 0.6466 GB, free: 8.625 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.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 (362): * Single equations (assignments): 357 * 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.001898/0.4742, allocations: 1.346 MB / 0.6479 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.4744, allocations: 162.9 kB / 0.6481 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.4747, allocations: 200.9 kB / 0.6483 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.4748, allocations: 11.94 kB / 0.6483 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4748, allocations: 0 / 0.6483 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4748, allocations: 0 / 0.6483 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006842/0.4816, allocations: 3.915 MB / 0.6521 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.4816, allocations: 8 kB / 0.6521 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/0.482, allocations: 103.8 kB / 0.6522 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.482, allocations: 8 kB / 0.6522 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-05/0.4821, allocations: 20 kB / 0.6523 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.394e-05/0.4821, allocations: 15.92 kB / 0.6523 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.4821, allocations: 8 kB / 0.6523 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.4838, allocations: 1.271 MB / 0.6535 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/0.4842, allocations: 186.5 kB / 0.6537 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.4843, allocations: 20 kB / 0.6537 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004569/0.4848, allocations: 27.97 kB / 0.6537 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.959e-05/0.4849, allocations: 51.81 kB / 0.6538 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/0.485, allocations: 31.98 kB / 0.6538 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002004/0.487, allocations: 1.275 MB / 0.6551 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.487, allocations: 0 / 0.6551 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002598/0.4896, allocations: 0.6929 MB / 0.6557 GB, free: 15.03 MB / 0.4981 GB 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.002371/0.4919, allocations: 1.869 MB / 0.6576 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003431/0.4954, allocations: 1.956 MB / 0.6595 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/0.4954, allocations: 8.062 kB / 0.6595 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006224/0.496, allocations: 433.5 kB / 0.6599 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.4973, allocations: 237.6 kB / 0.6601 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03178/0.5291, allocations: 20.94 MB / 0.6806 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002625/0.5317, allocations: 1.708 MB / 0.6822 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002293/0.534, allocations: 0.9597 MB / 0.6832 GB, free: 252 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/0.5356, allocations: 1.046 MB / 0.6842 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of SimCode: time 8.52e-07/0.5356, allocations: 0 / 0.6842 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07356/0.6091, allocations: 32.92 MB / 0.7164 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.17, allocations: 4 kB / 0.7164 GB, free: 14.68 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 16.36896489886567]