Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001428/0.001428, 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.001425/0.001425, allocations: 208.7 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.406/1.406, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2464/0.2464, allocations: 46.97 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.89 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3156, allocations: 66.03 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01211/0.3277, allocations: 8.41 MB / 0.5688 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00653/0.3343, allocations: 2.783 MB / 0.5715 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.3355, allocations: 59.81 kB / 0.5716 GB, free: 8.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004013/0.3395, allocations: 1.932 MB / 0.5735 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002943/0.3424, allocations: 1.14 MB / 0.5746 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009348/0.3433, allocations: 299.4 kB / 0.5749 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0037/0.347, allocations: 2.325 MB / 0.5771 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002227/0.3493, allocations: 1.734 MB / 0.5788 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.3507, allocations: 0.884 MB / 0.5797 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.3526, allocations: 1.172 MB / 0.5808 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003655/0.3529, allocations: 196 kB / 0.581 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.3541, allocations: 0.6084 MB / 0.5816 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.3552, allocations: 1.133 MB / 0.5827 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.3562, allocations: 0.9509 MB / 0.5836 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00497/0.3612, allocations: 4.342 MB / 0.5879 GB, free: 8.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3612, allocations: 0 / 0.5879 GB, free: 8.121 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3612, allocations: 0 / 0.5879 GB, free: 8.121 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.942e-05/0.3613, allocations: 0 / 0.5879 GB, free: 8.121 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.005274/0.3666, allocations: 2.87 MB / 0.5907 GB, free: 5.207 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3666, allocations: 12.03 kB / 0.5907 GB, free: 5.195 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006209/0.3672, allocations: 479.1 kB / 0.5912 GB, free: 4.719 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005184/0.3724, allocations: 1.582 MB / 0.5927 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003394/0.3758, allocations: 1.282 MB / 0.594 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.3759, allocations: 143.8 kB / 0.5941 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004648/0.3764, allocations: 191.9 kB / 0.5943 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.3876, allocations: 6.246 MB / 0.6004 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.562e-05/0.3876, allocations: 15.88 kB / 0.6004 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/0.3879, allocations: 83.91 kB / 0.6005 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002364/0.3902, allocations: 1.348 MB / 0.6018 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.4014, allocations: 5.326 MB / 0.607 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03045/0.4319, allocations: 19.05 MB / 0.6256 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004081/0.436, allocations: 1.489 MB / 0.627 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009896/0.437, allocations: 0.6394 MB / 0.6277 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006787/0.4437, allocations: 3.02 MB / 0.6306 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.4438, allocations: 39 kB / 0.6307 GB, free: 11.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.408e-06/0.4438, allocations: 0 / 0.6307 GB, free: 11.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005501/0.4493, allocations: 1.994 MB / 0.6326 GB, free: 9.312 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.4493, allocations: 55.84 kB / 0.6327 GB, free: 9.246 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/0.4523, allocations: 2.05 MB / 0.6347 GB, free: 7.191 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.724e-05/0.4524, allocations: 41.69 kB / 0.6347 GB, free: 7.145 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001589/0.454, allocations: 1.907 MB / 0.6366 GB, free: 5.215 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/0.4544, allocations: 333.5 kB / 0.6369 GB, free: 4.887 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008441/0.4552, allocations: 0.6195 MB / 0.6375 GB, free: 4.258 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.4554, allocations: 357.9 kB / 0.6378 GB, free: 3.902 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.4568, allocations: 0.8881 MB / 0.6387 GB, free: 3.012 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00301/0.4599, allocations: 2.747 MB / 0.6414 GB, free: 15.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004843/0.4647, allocations: 3.966 MB / 0.6452 GB, free: 10.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.44e-05/0.4647, allocations: 20 kB / 0.6453 GB, free: 10.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006378/0.4711, allocations: 3.531 MB / 0.6487 GB, free: 6.883 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.718e-05/0.4712, allocations: 36 kB / 0.6487 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.403e-05/0.4713, allocations: 64 kB / 0.6488 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001097/0.4714, allocations: 91.94 kB / 0.6489 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/0.4734, allocations: 0.6589 MB / 0.6495 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000123/0.4735, allocations: 128.1 kB / 0.6497 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.4753, allocations: 432.8 kB / 0.6501 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/0.4756, allocations: 188 kB / 0.6503 GB, free: 5.301 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.002192/0.4778, allocations: 1.346 MB / 0.6516 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/0.4781, allocations: 166.8 kB / 0.6517 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.4784, allocations: 200.8 kB / 0.6519 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/0.4784, allocations: 19.98 kB / 0.6519 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.4784, allocations: 0 / 0.6519 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4784, allocations: 0 / 0.6519 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006945/0.4854, allocations: 3.907 MB / 0.6557 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.4854, allocations: 8 kB / 0.6558 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.4858, allocations: 103.8 kB / 0.6559 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/0.4858, allocations: 8 kB / 0.6559 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/0.4859, allocations: 16.69 kB / 0.6559 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.447e-05/0.4859, allocations: 11.94 kB / 0.6559 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-05/0.4859, allocations: 19.92 kB / 0.6559 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.4875, allocations: 1.259 MB / 0.6571 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.4879, allocations: 186.5 kB / 0.6573 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.488, allocations: 23.98 kB / 0.6573 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004659/0.4885, allocations: 27.97 kB / 0.6574 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.803e-05/0.4886, allocations: 55.75 kB / 0.6574 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/0.4886, allocations: 35.98 kB / 0.6575 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001832/0.4905, allocations: 1.275 MB / 0.6587 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4905, allocations: 0 / 0.6587 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002351/0.4928, allocations: 0.6851 MB / 0.6594 GB, free: 11.71 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.002044/0.4949, allocations: 1.876 MB / 0.6612 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003127/0.498, allocations: 1.952 MB / 0.6631 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.498, allocations: 4 kB / 0.6631 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005789/0.4986, allocations: 430.3 kB / 0.6635 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.4997, allocations: 242.9 kB / 0.6638 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03119/0.5309, allocations: 20.94 MB / 0.6842 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002329/0.5333, allocations: 1.708 MB / 0.6859 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002148/0.5354, allocations: 0.9558 MB / 0.6868 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/0.5368, allocations: 1.046 MB / 0.6878 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of SimCode: time 1.193e-06/0.5368, allocations: 0 / 0.6878 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07273/0.6095, allocations: 32.91 MB / 0.72 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.38, allocations: 6.75 kB / 0.72 GB, free: 11.36 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.742035712115467]