Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.00121/0.00121, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001379/0.001379, allocations: 213.2 kB / 23.72 MB, free: 4.531 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.415/1.415, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.224/0.224, allocations: 46.95 MB / 360.9 MB, free: 4.055 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.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002819/0.002819, allocations: 63.91 kB / 0.4961 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3061, allocations: 66.04 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01093/0.317, allocations: 8.41 MB / 0.5688 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005667/0.3227, allocations: 2.78 MB / 0.5715 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008105/0.3235, allocations: 55.81 kB / 0.5716 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003652/0.3271, allocations: 1.943 MB / 0.5735 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002483/0.3296, allocations: 1.14 MB / 0.5746 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.3302, allocations: 283.5 kB / 0.5748 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002776/0.333, allocations: 2.325 MB / 0.5771 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002284/0.3353, allocations: 1.742 MB / 0.5788 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.3367, allocations: 0.8956 MB / 0.5797 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.3385, allocations: 1.25 MB / 0.5809 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004107/0.3389, allocations: 196 kB / 0.5811 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.34, allocations: 0.6161 MB / 0.5817 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.3411, allocations: 1.137 MB / 0.5828 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.3422, allocations: 0.9471 MB / 0.5837 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004826/0.3471, allocations: 4.342 MB / 0.588 GB, free: 8.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.3471, allocations: 0 / 0.588 GB, free: 8.035 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3471, allocations: 3.938 kB / 0.588 GB, free: 8.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001355/0.3472, allocations: 4 kB / 0.588 GB, free: 8.027 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.006371/0.3536, allocations: 2.859 MB / 0.5908 GB, free: 5.125 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3536, allocations: 8.031 kB / 0.5908 GB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006321/0.3542, allocations: 483.1 kB / 0.5912 GB, free: 4.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005144/0.3594, allocations: 1.578 MB / 0.5928 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003634/0.363, allocations: 1.294 MB / 0.594 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.3632, allocations: 147.8 kB / 0.5942 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005366/0.3637, allocations: 187.9 kB / 0.5944 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.3746, allocations: 6.246 MB / 0.6005 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.006e-05/0.3746, allocations: 15.88 kB / 0.6005 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002564/0.3749, allocations: 83.91 kB / 0.6006 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002109/0.377, allocations: 1.344 MB / 0.6019 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.3876, allocations: 5.326 MB / 0.6071 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0286/0.4162, allocations: 19.05 MB / 0.6257 GB, free: 476 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/0.42, allocations: 1.489 MB / 0.6271 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009542/0.421, allocations: 0.6367 MB / 0.6278 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006673/0.4276, allocations: 3.016 MB / 0.6307 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.4277, allocations: 39 kB / 0.6307 GB, free: 11.22 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.226e-06/0.4277, allocations: 0 / 0.6307 GB, free: 11.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005166/0.4328, allocations: 1.99 MB / 0.6327 GB, free: 9.223 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.4329, allocations: 63.72 kB / 0.6327 GB, free: 9.148 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/0.4356, allocations: 2.05 MB / 0.6347 GB, free: 7.094 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-05/0.4357, allocations: 37.7 kB / 0.6348 GB, free: 7.051 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.4371, allocations: 1.907 MB / 0.6366 GB, free: 5.121 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.4374, allocations: 333.5 kB / 0.637 GB, free: 4.793 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007894/0.4382, allocations: 0.6195 MB / 0.6376 GB, free: 4.164 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4384, allocations: 357.9 kB / 0.6379 GB, free: 3.809 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.4396, allocations: 0.8842 MB / 0.6388 GB, free: 2.922 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002786/0.4424, allocations: 2.747 MB / 0.6415 GB, free: 15.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004713/0.4471, allocations: 3.962 MB / 0.6453 GB, free: 10.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-05/0.4472, allocations: 20 kB / 0.6453 GB, free: 10.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00658/0.4538, allocations: 3.549 MB / 0.6488 GB, free: 6.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.4538, allocations: 36 kB / 0.6488 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.214e-05/0.4539, allocations: 64 kB / 0.6489 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.21e-05/0.454, allocations: 88.75 kB / 0.649 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.456, allocations: 0.6588 MB / 0.6496 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001228/0.4561, allocations: 139.4 kB / 0.6498 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.4581, allocations: 424.9 kB / 0.6502 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.4583, allocations: 180 kB / 0.6503 GB, free: 5.207 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.002006/0.4603, allocations: 1.346 MB / 0.6517 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.4606, allocations: 162.9 kB / 0.6518 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.4609, allocations: 200.9 kB / 0.652 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/0.4609, allocations: 11.94 kB / 0.652 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4609, allocations: 0 / 0.652 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.4609, allocations: 3.984 kB / 0.652 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006797/0.4677, allocations: 3.914 MB / 0.6558 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.4677, allocations: 8 kB / 0.6559 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.4681, allocations: 100.7 kB / 0.6559 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.771e-05/0.4682, allocations: 8 kB / 0.656 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.4682, allocations: 19.98 kB / 0.656 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/0.4682, allocations: 15.94 kB / 0.656 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.4682, allocations: 8 kB / 0.656 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.4698, allocations: 1.27 MB / 0.6572 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/0.4702, allocations: 182.6 kB / 0.6574 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.4703, allocations: 23.98 kB / 0.6574 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.4708, allocations: 19.98 kB / 0.6575 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.4709, allocations: 63.8 kB / 0.6575 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.4709, allocations: 28 kB / 0.6575 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001735/0.4727, allocations: 1.267 MB / 0.6588 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4727, allocations: 3.938 kB / 0.6588 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002303/0.475, allocations: 0.6891 MB / 0.6595 GB, free: 11.62 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.002024/0.477, allocations: 1.876 MB / 0.6613 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003048/0.48, allocations: 1.959 MB / 0.6632 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/0.48, allocations: 4 kB / 0.6632 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005567/0.4806, allocations: 435.1 kB / 0.6636 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.4818, allocations: 240.3 kB / 0.6638 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02873/0.5105, allocations: 20.95 MB / 0.6843 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002312/0.5128, allocations: 1.701 MB / 0.686 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002079/0.5149, allocations: 0.9597 MB / 0.6869 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/0.5164, allocations: 1.042 MB / 0.6879 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of SimCode: time 1.283e-06/0.5164, allocations: 0 / 0.6879 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07225/0.5887, allocations: 34.24 MB / 0.7214 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.74, allocations: 7.062 kB / 0.7214 GB, free: 9.938 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.816430537000997]