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.001422/0.001422, allocations: 111.1 kB / 20.44 MB, free: 1.332 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.001508/0.001508, allocations: 210.5 kB / 23.73 MB, free: 4.512 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2457/0.2457, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] 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.002163/0.002163, allocations: 63.91 kB / 0.4961 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3311, allocations: 66.03 MB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01092/0.342, allocations: 8.41 MB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006454/0.3484, allocations: 2.784 MB / 0.5715 GB, free: 9.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.3496, allocations: 51.88 kB / 0.5716 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003742/0.3533, allocations: 1.943 MB / 0.5735 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.3558, allocations: 1.133 MB / 0.5746 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006878/0.3565, allocations: 291.4 kB / 0.5748 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002938/0.3595, allocations: 2.325 MB / 0.5771 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00211/0.3616, allocations: 1.738 MB / 0.5788 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.3628, allocations: 0.8879 MB / 0.5797 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.3644, allocations: 1.176 MB / 0.5808 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003433/0.3648, allocations: 192 kB / 0.581 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.3659, allocations: 0.6085 MB / 0.5816 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.3669, allocations: 1.137 MB / 0.5827 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.3679, allocations: 0.9471 MB / 0.5836 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006424/0.3744, allocations: 4.338 MB / 0.5879 GB, free: 8.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.3744, allocations: 8 kB / 0.5879 GB, free: 8.148 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3744, allocations: 0 / 0.5879 GB, free: 8.148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001394/0.3745, allocations: 3.938 kB / 0.5879 GB, free: 8.145 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.006058/0.3806, allocations: 2.866 MB / 0.5907 GB, free: 5.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3806, allocations: 8.031 kB / 0.5907 GB, free: 5.227 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006327/0.3813, allocations: 479.1 kB / 0.5911 GB, free: 4.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005119/0.3864, allocations: 1.582 MB / 0.5927 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/0.3897, allocations: 1.283 MB / 0.5939 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.3898, allocations: 147.8 kB / 0.5941 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005268/0.3903, allocations: 183.9 kB / 0.5943 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.4004, allocations: 6.25 MB / 0.6004 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.55e-05/0.4004, allocations: 11.88 kB / 0.6004 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.4007, allocations: 91.84 kB / 0.6005 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002067/0.4027, allocations: 1.344 MB / 0.6018 GB, free: 9.555 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009441/0.4122, allocations: 5.326 MB / 0.607 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02626/0.4384, allocations: 19.05 MB / 0.6256 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004018/0.4424, allocations: 1.488 MB / 0.627 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009417/0.4434, allocations: 0.6406 MB / 0.6277 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00669/0.4501, allocations: 3.024 MB / 0.6306 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.4501, allocations: 42.94 kB / 0.6307 GB, free: 11.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.877e-06/0.4501, allocations: 0 / 0.6307 GB, free: 11.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005713/0.4558, allocations: 1.986 MB / 0.6326 GB, free: 9.344 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.4559, allocations: 59.84 kB / 0.6326 GB, free: 9.273 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002851/0.4587, allocations: 2.05 MB / 0.6347 GB, free: 7.219 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.99e-05/0.4588, allocations: 37.7 kB / 0.6347 GB, free: 7.176 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.4602, allocations: 1.915 MB / 0.6366 GB, free: 5.238 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/0.4606, allocations: 321.5 kB / 0.6369 GB, free: 4.922 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008076/0.4614, allocations: 0.6273 MB / 0.6375 GB, free: 4.285 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.4616, allocations: 353.9 kB / 0.6378 GB, free: 3.934 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.4629, allocations: 0.8881 MB / 0.6387 GB, free: 3.043 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00297/0.4659, allocations: 2.747 MB / 0.6414 GB, free: 15.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004878/0.4707, allocations: 3.977 MB / 0.6452 GB, free: 10.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.544e-05/0.4708, allocations: 16 kB / 0.6453 GB, free: 10.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005927/0.4767, allocations: 3.535 MB / 0.6487 GB, free: 6.906 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.4768, allocations: 32 kB / 0.6487 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.501e-05/0.4768, allocations: 68.09 kB / 0.6488 GB, free: 6.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-05/0.4769, allocations: 91.94 kB / 0.6489 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.4788, allocations: 0.655 MB / 0.6495 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001063/0.4789, allocations: 131.5 kB / 0.6497 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.4807, allocations: 420.9 kB / 0.6501 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.481, allocations: 187.9 kB / 0.6502 GB, free: 5.336 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.001877/0.4828, allocations: 1.346 MB / 0.6516 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.4831, allocations: 166.9 kB / 0.6517 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.4834, allocations: 196.9 kB / 0.6519 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/0.4834, allocations: 15.92 kB / 0.6519 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.4835, allocations: 4 kB / 0.6519 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4835, allocations: 3.984 kB / 0.6519 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007243/0.4907, allocations: 3.907 MB / 0.6557 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.4907, allocations: 8.125 kB / 0.6558 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.4911, allocations: 103.8 kB / 0.6558 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.4911, allocations: 8 kB / 0.6559 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/0.4912, allocations: 23.97 kB / 0.6559 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.762e-05/0.4912, allocations: 15.94 kB / 0.6559 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.4912, allocations: 7.938 kB / 0.6559 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.4928, allocations: 1.267 MB / 0.6571 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004399/0.4933, allocations: 186.6 kB / 0.6573 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.4934, allocations: 23.98 kB / 0.6573 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.4939, allocations: 27.98 kB / 0.6574 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.976e-05/0.494, allocations: 51.8 kB / 0.6574 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.4941, allocations: 28 kB / 0.6574 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00172/0.4958, allocations: 1.275 MB / 0.6587 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4958, allocations: 0 / 0.6587 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002536/0.4983, allocations: 0.6928 MB / 0.6594 GB, free: 11.74 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.001927/0.5002, allocations: 1.873 MB / 0.6612 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003013/0.5032, allocations: 1.96 MB / 0.6631 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.5033, allocations: 0 / 0.6631 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005473/0.5038, allocations: 437 kB / 0.6635 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.505, allocations: 242.1 kB / 0.6638 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0282/0.5332, allocations: 20.94 MB / 0.6842 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.5355, allocations: 1.697 MB / 0.6859 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002073/0.5375, allocations: 0.9675 MB / 0.6868 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/0.5389, allocations: 1.042 MB / 0.6878 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.5389, allocations: 0 / 0.6878 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07019/0.6091, allocations: 32.9 MB / 0.72 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.24, allocations: 10.62 kB / 0.72 GB, free: 11.4 MB / 0.5606 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.csv","/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] "Error: Could not read variable cutTorque.torque[3] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.616850674152374]