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.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.001353/0.001353, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001475/0.001475, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2165/0.2165, allocations: 44.9 MB / 358.8 MB, free: 6.277 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.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: 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.001991/0.001991, allocations: 63.89 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3214, allocations: 65.46 MB / 0.557 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01277/0.3341, allocations: 9.597 MB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006123/0.3403, allocations: 2.955 MB / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.3415, allocations: 59.81 kB / 0.5693 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004096/0.3456, allocations: 2.025 MB / 0.5713 GB, free: 8.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002976/0.3486, allocations: 1.136 MB / 0.5724 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007607/0.3493, allocations: 299.4 kB / 0.5727 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003281/0.3526, allocations: 2.326 MB / 0.575 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002428/0.355, allocations: 1.742 MB / 0.5767 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.3564, allocations: 0.8878 MB / 0.5775 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.3583, allocations: 1.25 MB / 0.5788 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004483/0.3587, allocations: 196 kB / 0.5789 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.3605, allocations: 0.7254 MB / 0.5797 GB, free: 332 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001467/0.3619, allocations: 1.137 MB / 0.5808 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.364, allocations: 1.312 MB / 0.582 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0062/0.3702, allocations: 4.33 MB / 0.5863 GB, free: 9.516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.3702, allocations: 4 kB / 0.5863 GB, free: 9.512 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3702, allocations: 0 / 0.5863 GB, free: 9.512 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000129/0.3703, allocations: 0 / 0.5863 GB, free: 9.512 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.005591/0.3759, allocations: 2.866 MB / 0.5891 GB, free: 6.602 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.376, allocations: 8.031 kB / 0.5891 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006983/0.3767, allocations: 487.1 kB / 0.5896 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005018/0.3817, allocations: 1.582 MB / 0.5911 GB, free: 4.523 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00293/0.3846, allocations: 1.279 MB / 0.5923 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.3847, allocations: 147.8 kB / 0.5925 GB, free: 3.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004631/0.3852, allocations: 183.9 kB / 0.5927 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.3957, allocations: 6.246 MB / 0.5988 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.317e-05/0.3958, allocations: 11.88 kB / 0.5988 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002595/0.396, allocations: 87.91 kB / 0.5989 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002121/0.3982, allocations: 1.34 MB / 0.6002 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.4086, allocations: 5.338 MB / 0.6054 GB, free: 5.578 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03137/0.44, allocations: 19.99 MB / 0.6249 GB, free: 1.008 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004171/0.4442, allocations: 1.494 MB / 0.6264 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.4452, allocations: 0.6328 MB / 0.627 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00717/0.4524, allocations: 3.16 MB / 0.6301 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.4524, allocations: 39 kB / 0.6301 GB, free: 11.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.707e-06/0.4524, allocations: 0 / 0.6301 GB, free: 11.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005621/0.458, allocations: 1.99 MB / 0.632 GB, free: 9.621 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.4581, allocations: 59.84 kB / 0.6321 GB, free: 9.551 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/0.4609, allocations: 1.942 MB / 0.634 GB, free: 7.605 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.809e-05/0.4609, allocations: 29.7 kB / 0.634 GB, free: 7.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.4625, allocations: 1.915 MB / 0.6359 GB, free: 5.633 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004487/0.4629, allocations: 329.5 kB / 0.6362 GB, free: 5.309 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000868/0.4638, allocations: 0.6234 MB / 0.6368 GB, free: 4.676 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.464, allocations: 353.9 kB / 0.6372 GB, free: 4.324 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.4654, allocations: 0.8958 MB / 0.638 GB, free: 3.426 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002969/0.4684, allocations: 2.751 MB / 0.6407 GB, free: 15.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004998/0.4734, allocations: 3.969 MB / 0.6446 GB, free: 10.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-05/0.4735, allocations: 20 kB / 0.6446 GB, free: 10.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00664/0.4801, allocations: 3.532 MB / 0.6481 GB, free: 7.293 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.342e-05/0.4802, allocations: 36.06 kB / 0.6481 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.8e-05/0.4803, allocations: 64 kB / 0.6482 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001121/0.4804, allocations: 91.94 kB / 0.6482 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/0.4824, allocations: 0.655 MB / 0.6489 GB, free: 6.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001187/0.4825, allocations: 127.5 kB / 0.649 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.4844, allocations: 424.9 kB / 0.6494 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003109/0.4847, allocations: 192 kB / 0.6496 GB, free: 5.719 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.002084/0.4868, allocations: 1.35 MB / 0.6509 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.4871, allocations: 162.9 kB / 0.6511 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.4874, allocations: 196.9 kB / 0.6513 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.4875, allocations: 11.94 kB / 0.6513 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.4875, allocations: 0 / 0.6513 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4875, allocations: 0 / 0.6513 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00652/0.494, allocations: 4.004 MB / 0.6552 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/0.494, allocations: 8 kB / 0.6552 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.4944, allocations: 103.8 kB / 0.6553 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.395e-05/0.4945, allocations: 8 kB / 0.6553 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.4945, allocations: 16.66 kB / 0.6553 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.555e-05/0.4945, allocations: 12 kB / 0.6553 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.4945, allocations: 15.88 kB / 0.6553 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.4962, allocations: 1.274 MB / 0.6566 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004177/0.4966, allocations: 182.6 kB / 0.6568 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.4968, allocations: 16 kB / 0.6568 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.4973, allocations: 31.94 kB / 0.6568 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.4974, allocations: 55.8 kB / 0.6569 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.12e-05/0.4974, allocations: 31.98 kB / 0.6569 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002036/0.4995, allocations: 1.271 MB / 0.6581 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4995, allocations: 4 kB / 0.6581 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002809/0.5023, allocations: 0.6813 MB / 0.6588 GB, free: 12.04 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.002232/0.5045, allocations: 1.88 MB / 0.6606 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003258/0.5078, allocations: 1.956 MB / 0.6625 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.5078, allocations: 0 / 0.6625 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006157/0.5084, allocations: 437 kB / 0.663 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.5097, allocations: 243.8 kB / 0.6632 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0317/0.5414, allocations: 20.96 MB / 0.6837 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002609/0.544, allocations: 2.271 MB / 0.6859 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002098/0.5461, allocations: 0.9598 MB / 0.6868 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/0.5475, allocations: 1.038 MB / 0.6878 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of SimCode: time 1.503e-06/0.5475, allocations: 0 / 0.6878 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07339/0.6209, allocations: 35.3 MB / 0.7223 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.33/15.96, allocations: 0 / 0.7223 GB, free: 8.555 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: 19.22738882599515]