Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 109.7 kB / 21.1 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 190.2 kB / 24.36 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 225.6 MB / 253.1 MB, free: 13.06 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.2156/0.2156, allocations: 44.91 MB / 353.2 MB, free: 11.86 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.89 kB / 496.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3009, allocations: 64.29 MB / 0.5479 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01148/0.3123, allocations: 9.762 MB / 0.5575 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006473/0.3188, allocations: 2.943 MB / 0.5603 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.3204, allocations: 55.81 kB / 0.5604 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004048/0.3244, allocations: 2.029 MB / 0.5624 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003094/0.3275, allocations: 1.168 MB / 0.5635 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008935/0.3284, allocations: 283.4 kB / 0.5638 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003332/0.3318, allocations: 2.329 MB / 0.5661 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002269/0.334, allocations: 1.642 MB / 0.5677 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.3354, allocations: 0.9112 MB / 0.5686 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.3373, allocations: 1.285 MB / 0.5698 GB, free: 9.023 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005156/0.3378, allocations: 200 kB / 0.57 GB, free: 8.828 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.3391, allocations: 0.6124 MB / 0.5706 GB, free: 8.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00135/0.3405, allocations: 1.188 MB / 0.5718 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001681/0.3422, allocations: 1.343 MB / 0.5731 GB, free: 5.672 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005395/0.3476, allocations: 4.447 MB / 0.5774 GB, free: 1.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3476, allocations: 4 kB / 0.5774 GB, free: 1.203 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3476, allocations: 4 kB / 0.5774 GB, free: 1.199 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001128/0.3477, allocations: 3.938 kB / 0.5774 GB, free: 1.195 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.006031/0.3537, allocations: 2.94 MB / 0.5803 GB, free: 14.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.3538, allocations: 16.91 kB / 0.5803 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009132/0.3547, allocations: 491.8 kB / 0.5808 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004932/0.3596, allocations: 1.613 MB / 0.5824 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/0.3625, allocations: 1.29 MB / 0.5836 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.3626, allocations: 150.9 kB / 0.5838 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005179/0.3631, allocations: 187.9 kB / 0.5839 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.3736, allocations: 6.425 MB / 0.5902 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.3736, allocations: 15.88 kB / 0.5902 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002509/0.3739, allocations: 91.89 kB / 0.5903 GB, free: 3.641 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002105/0.376, allocations: 1.407 MB / 0.5917 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.3861, allocations: 5.491 MB / 0.5971 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02891/0.4151, allocations: 20.32 MB / 0.6169 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004635/0.4197, allocations: 1.49 MB / 0.6183 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.4208, allocations: 0.6367 MB / 0.619 GB, free: 5.668 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00663/0.4274, allocations: 3.184 MB / 0.6221 GB, free: 2.457 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.4274, allocations: 43 kB / 0.6221 GB, free: 2.406 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.076e-06/0.4274, allocations: 0 / 0.6221 GB, free: 2.406 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005414/0.4328, allocations: 1.986 MB / 0.6241 GB, free: 428 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.4329, allocations: 59.84 kB / 0.6241 GB, free: 356 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/0.4357, allocations: 1.967 MB / 0.626 GB, free: 14.38 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.633e-05/0.4358, allocations: 33.7 kB / 0.6261 GB, free: 14.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001554/0.4374, allocations: 1.962 MB / 0.628 GB, free: 12.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003798/0.4378, allocations: 333.5 kB / 0.6283 GB, free: 12.03 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008373/0.4386, allocations: 0.6235 MB / 0.6289 GB, free: 11.39 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.4388, allocations: 361.9 kB / 0.6293 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.4402, allocations: 0.8881 MB / 0.6301 GB, free: 10.14 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002975/0.4432, allocations: 2.774 MB / 0.6328 GB, free: 6.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005029/0.4482, allocations: 4.006 MB / 0.6367 GB, free: 1.484 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-05/0.4483, allocations: 23.94 kB / 0.6368 GB, free: 1.461 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006626/0.4549, allocations: 3.543 MB / 0.6402 GB, free: 13.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.174e-05/0.455, allocations: 44 kB / 0.6403 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/0.4551, allocations: 64 kB / 0.6403 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001068/0.4552, allocations: 88 kB / 0.6404 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/0.4573, allocations: 0.6628 MB / 0.6411 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001355/0.4574, allocations: 127.5 kB / 0.6412 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.4597, allocations: 436.8 kB / 0.6416 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000439/0.4601, allocations: 180 kB / 0.6418 GB, free: 12.32 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.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 (365): * Single equations (assignments): 360 * 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.002344/0.4625, allocations: 1.381 MB / 0.6431 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/0.4628, allocations: 170.8 kB / 0.6433 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.4633, allocations: 197.2 kB / 0.6435 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.491e-05/0.4633, allocations: 12 kB / 0.6435 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.4633, allocations: 0 / 0.6435 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.4633, allocations: 3.984 kB / 0.6435 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008066/0.4714, allocations: 4.068 MB / 0.6475 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/0.4714, allocations: 8 kB / 0.6475 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.4718, allocations: 103.8 kB / 0.6476 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/0.4719, allocations: 12 kB / 0.6476 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-05/0.4719, allocations: 16.69 kB / 0.6476 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.766e-05/0.4719, allocations: 19.86 kB / 0.6476 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.4719, allocations: 12 kB / 0.6476 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.4736, allocations: 1.267 MB / 0.6489 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005042/0.4741, allocations: 186.5 kB / 0.649 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002818/0.4744, allocations: 20 kB / 0.6491 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/0.475, allocations: 35.89 kB / 0.6491 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4751, allocations: 63.69 kB / 0.6492 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.292e-05/0.4752, allocations: 35.98 kB / 0.6492 GB, free: 4.465 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00215/0.4773, allocations: 1.283 MB / 0.6504 GB, free: 3.191 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4773, allocations: 0 / 0.6504 GB, free: 3.191 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002612/0.4799, allocations: 0.7086 MB / 0.6511 GB, free: 2.48 MB / 494.1 MB 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.002194/0.4821, allocations: 1.873 MB / 0.653 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003369/0.4855, allocations: 1.971 MB / 0.6549 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.4855, allocations: 8.75 kB / 0.6549 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000617/0.4861, allocations: 432.2 kB / 0.6553 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.4877, allocations: 257.6 kB / 0.6556 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03563/0.5234, allocations: 21.21 MB / 0.6763 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003274/0.5266, allocations: 2.331 MB / 0.6785 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002452/0.5291, allocations: 0.9523 MB / 0.6795 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001801/0.5309, allocations: 1.073 MB / 0.6805 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.5309, allocations: 0 / 0.6805 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07902/0.6099, allocations: 35.81 MB / 0.7155 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/15.62, allocations: 4.062 kB / 0.7155 GB, free: 14.1 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_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_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cutTorque.torque[3] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.63435422605835]