Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001303/0.001303, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00138/0.00138, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.453/1.453, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2173/0.2173, allocations: 44.91 MB / 355.1 MB, free: 12.32 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.CutTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2",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.001968/0.001968, allocations: 71.88 kB / 499.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1056, allocations: 65.41 MB / 0.5517 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01134/0.1169, allocations: 9.575 MB / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005452/0.1224, allocations: 2.944 MB / 0.564 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000594/0.123, allocations: 59.81 kB / 0.564 GB, free: 13.63 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003568/0.1265, allocations: 2.017 MB / 0.566 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.1287, allocations: 1.125 MB / 0.5671 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.1293, allocations: 299.4 kB / 0.5674 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002898/0.1322, allocations: 2.326 MB / 0.5696 GB, free: 7.852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00213/0.1343, allocations: 1.91 MB / 0.5715 GB, free: 5.898 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009432/0.1353, allocations: 0.884 MB / 0.5724 GB, free: 5.012 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.1367, allocations: 1.254 MB / 0.5736 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.137, allocations: 192 kB / 0.5738 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.1381, allocations: 0.7332 MB / 0.5745 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.1391, allocations: 1.133 MB / 0.5756 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.1403, allocations: 1.308 MB / 0.5769 GB, free: 388 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004541/0.1448, allocations: 4.338 MB / 0.5811 GB, free: 12.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1449, allocations: 0 / 0.5811 GB, free: 12.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1449, allocations: 0 / 0.5811 GB, free: 12.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.721e-05/0.1449, allocations: 4 kB / 0.5811 GB, free: 12.02 MB / 446.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.004629/0.1495, allocations: 2.942 MB / 0.584 GB, free: 9.016 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1496, allocations: 12.03 kB / 0.584 GB, free: 9.004 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005677/0.1502, allocations: 479.1 kB / 0.5845 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005226/0.1554, allocations: 1.582 MB / 0.586 GB, free: 6.941 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.1577, allocations: 1.332 MB / 0.5873 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.1578, allocations: 151.8 kB / 0.5875 GB, free: 5.414 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000359/0.1582, allocations: 183.9 kB / 0.5876 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2193/0.3775, allocations: 6.255 MB / 0.5937 GB, free: 35.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.633e-05/0.3776, allocations: 14.77 kB / 0.5938 GB, free: 35.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002331/0.3778, allocations: 88.8 kB / 0.5938 GB, free: 35.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00216/0.38, allocations: 1.343 MB / 0.5951 GB, free: 35.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00996/0.3899, allocations: 5.333 MB / 0.6004 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02345/0.4134, allocations: 20.07 MB / 0.62 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005902/0.4193, allocations: 1.946 MB / 0.6219 GB, free: 20.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.4206, allocations: 0.6339 MB / 0.6225 GB, free: 19.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008159/0.4287, allocations: 3.629 MB / 0.626 GB, free: 17.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.4288, allocations: 38.03 kB / 0.6261 GB, free: 17.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.897e-06/0.4288, allocations: 0 / 0.6261 GB, free: 17.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.007772/0.4365, allocations: 1.99 MB / 0.628 GB, free: 16.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.4366, allocations: 63.8 kB / 0.6281 GB, free: 16.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.4393, allocations: 1.941 MB / 0.63 GB, free: 15.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.4394, allocations: 29.7 kB / 0.63 GB, free: 15.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009988/0.4404, allocations: 1.913 MB / 0.6319 GB, free: 13.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.4406, allocations: 328 kB / 0.6322 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007419/0.4413, allocations: 0.6218 MB / 0.6328 GB, free: 13.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.4414, allocations: 353.9 kB / 0.6331 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.443, allocations: 0.8958 MB / 0.634 GB, free: 11.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/0.4451, allocations: 2.751 MB / 0.6367 GB, free: 8.172 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004221/0.4493, allocations: 3.959 MB / 0.6405 GB, free: 3.285 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.714e-05/0.4493, allocations: 20 kB / 0.6406 GB, free: 3.266 MB / 446.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006333/0.4557, allocations: 3.535 MB / 0.644 GB, free: 15.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.705e-05/0.4557, allocations: 33.97 kB / 0.644 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/0.4558, allocations: 68 kB / 0.6441 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001331/0.456, allocations: 87.94 kB / 0.6442 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/0.459, allocations: 0.6589 MB / 0.6448 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001709/0.4592, allocations: 128.1 kB / 0.645 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/0.4622, allocations: 424.8 kB / 0.6454 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003887/0.4626, allocations: 196 kB / 0.6455 GB, free: 14.15 MB / 462.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.002821/0.4654, allocations: 1.344 MB / 0.6469 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003745/0.4658, allocations: 162.9 kB / 0.647 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005649/0.4663, allocations: 204.8 kB / 0.6472 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/0.4664, allocations: 8 kB / 0.6472 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.4664, allocations: 0 / 0.6472 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.4664, allocations: 3.984 kB / 0.6472 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009739/0.4761, allocations: 4.033 MB / 0.6512 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.4761, allocations: 12.12 kB / 0.6512 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006592/0.4768, allocations: 103.8 kB / 0.6513 GB, free: 8.121 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-05/0.4768, allocations: 8 kB / 0.6513 GB, free: 8.113 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.212e-05/0.4769, allocations: 20 kB / 0.6513 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.731e-05/0.4769, allocations: 11.98 kB / 0.6513 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/0.4769, allocations: 11.94 kB / 0.6513 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.4794, allocations: 1.267 MB / 0.6526 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/0.4799, allocations: 264.5 kB / 0.6528 GB, free: 6.418 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.4801, allocations: 16 kB / 0.6528 GB, free: 6.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000819/0.481, allocations: 35.92 kB / 0.6529 GB, free: 6.367 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.4811, allocations: 51.83 kB / 0.6529 GB, free: 6.316 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-05/0.4812, allocations: 28 kB / 0.6529 GB, free: 6.289 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002925/0.4841, allocations: 1.275 MB / 0.6542 GB, free: 5.023 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4841, allocations: 4 kB / 0.6542 GB, free: 5.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004067/0.4882, allocations: 0.6852 MB / 0.6549 GB, free: 4.332 MB / 462.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.003006/0.4912, allocations: 1.877 MB / 0.6567 GB, free: 2.344 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004444/0.4956, allocations: 1.957 MB / 0.6586 GB, free: 420 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.4957, allocations: 4 kB / 0.6586 GB, free: 416 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008937/0.4965, allocations: 434 kB / 0.659 GB, free: 15.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.4985, allocations: 231.7 kB / 0.6592 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04222/0.5407, allocations: 20.94 MB / 0.6797 GB, free: 8.273 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002521/0.5433, allocations: 2.279 MB / 0.6819 GB, free: 5.965 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002071/0.5453, allocations: 0.9583 MB / 0.6828 GB, free: 5.004 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/0.5467, allocations: 1.042 MB / 0.6839 GB, free: 3.961 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5467, allocations: 0 / 0.6839 GB, free: 3.961 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06737/0.6141, allocations: 32.82 MB / 0.7159 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.17, allocations: 10.89 kB / 0.7159 GB, free: 3.316 MB / 0.5137 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.193705083802342]