Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 111.1 kB / 20.44 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 205.2 kB / 23.73 MB, free: 4.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.96 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 83.81 kB / 0.4962 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3545, allocations: 66.08 MB / 0.5607 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01132/0.3658, allocations: 8.401 MB / 0.5689 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005867/0.3717, allocations: 2.78 MB / 0.5716 GB, free: 8.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009792/0.3727, allocations: 55.81 kB / 0.5717 GB, free: 8.633 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003825/0.3765, allocations: 1.939 MB / 0.5736 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.3793, allocations: 1.148 MB / 0.5747 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007246/0.38, allocations: 291.4 kB / 0.5749 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003115/0.3831, allocations: 2.326 MB / 0.5772 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002145/0.3853, allocations: 1.73 MB / 0.5789 GB, free: 1.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.3864, allocations: 0.8879 MB / 0.5798 GB, free: 260 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/0.3882, allocations: 1.168 MB / 0.5809 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003838/0.3886, allocations: 196 kB / 0.5811 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.3898, allocations: 0.6123 MB / 0.5817 GB, free: 14.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.391, allocations: 1.141 MB / 0.5828 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.3921, allocations: 0.947 MB / 0.5837 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004955/0.397, allocations: 4.338 MB / 0.588 GB, free: 7.824 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.397, allocations: 4 kB / 0.588 GB, free: 7.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.397, allocations: 0 / 0.588 GB, free: 7.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.339e-05/0.3971, allocations: 0 / 0.588 GB, free: 7.82 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.005068/0.4022, allocations: 2.862 MB / 0.5908 GB, free: 4.914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.4022, allocations: 12.03 kB / 0.5908 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006305/0.4029, allocations: 479.1 kB / 0.5912 GB, free: 4.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00503/0.4079, allocations: 1.59 MB / 0.5928 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003086/0.411, allocations: 1.267 MB / 0.594 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.4111, allocations: 159.8 kB / 0.5942 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003625/0.4115, allocations: 183.9 kB / 0.5944 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009759/0.4212, allocations: 6.242 MB / 0.6005 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.105e-05/0.4213, allocations: 11.88 kB / 0.6005 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.4215, allocations: 87.91 kB / 0.6006 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002069/0.4236, allocations: 1.344 MB / 0.6019 GB, free: 9.238 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009838/0.4334, allocations: 5.332 MB / 0.6071 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02749/0.4609, allocations: 19.06 MB / 0.6257 GB, free: 264 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003926/0.4648, allocations: 1.481 MB / 0.6271 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.4659, allocations: 0.6367 MB / 0.6278 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006541/0.4724, allocations: 3.016 MB / 0.6307 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.4725, allocations: 35 kB / 0.6307 GB, free: 11.03 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.755e-06/0.4725, allocations: 0 / 0.6307 GB, free: 11.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005255/0.4777, allocations: 2.002 MB / 0.6327 GB, free: 9.016 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.4778, allocations: 55.84 kB / 0.6327 GB, free: 8.949 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002786/0.4806, allocations: 2.058 MB / 0.6348 GB, free: 6.887 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.786e-05/0.4806, allocations: 29.7 kB / 0.6348 GB, free: 6.852 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.4821, allocations: 1.915 MB / 0.6367 GB, free: 4.914 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/0.4824, allocations: 329.5 kB / 0.637 GB, free: 4.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008005/0.4832, allocations: 0.6233 MB / 0.6376 GB, free: 3.957 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.4834, allocations: 357.9 kB / 0.6379 GB, free: 3.602 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.4847, allocations: 0.8881 MB / 0.6388 GB, free: 2.711 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002939/0.4877, allocations: 2.755 MB / 0.6415 GB, free: 15.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004811/0.4925, allocations: 3.962 MB / 0.6453 GB, free: 10.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.417e-05/0.4925, allocations: 20 kB / 0.6454 GB, free: 10.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005601/0.4981, allocations: 3.538 MB / 0.6488 GB, free: 6.574 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.722e-05/0.4982, allocations: 32 kB / 0.6488 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.655e-05/0.4983, allocations: 68 kB / 0.6489 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.4984, allocations: 91.94 kB / 0.649 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.5002, allocations: 0.655 MB / 0.6496 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001067/0.5003, allocations: 131.5 kB / 0.6498 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.502, allocations: 421.3 kB / 0.6502 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.5023, allocations: 188 kB / 0.6503 GB, free: 5.004 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.002/0.5043, allocations: 1.351 MB / 0.6517 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.5045, allocations: 162.9 kB / 0.6518 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.5049, allocations: 192.9 kB / 0.652 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/0.5049, allocations: 15.92 kB / 0.652 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.5049, allocations: 4 kB / 0.652 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5049, allocations: 4 kB / 0.652 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006311/0.5112, allocations: 3.907 MB / 0.6558 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.5112, allocations: 4 kB / 0.6558 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.5116, allocations: 111.8 kB / 0.656 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.5116, allocations: 8 kB / 0.656 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.5117, allocations: 20 kB / 0.656 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.205e-05/0.5117, allocations: 11.94 kB / 0.656 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/0.5117, allocations: 12.47 kB / 0.656 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.5133, allocations: 1.274 MB / 0.6572 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.5136, allocations: 186.5 kB / 0.6574 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.5138, allocations: 12 kB / 0.6574 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004569/0.5142, allocations: 31.97 kB / 0.6575 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.224e-05/0.5143, allocations: 59.75 kB / 0.6575 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-05/0.5144, allocations: 28 kB / 0.6575 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001683/0.5161, allocations: 1.271 MB / 0.6588 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5161, allocations: 4 kB / 0.6588 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002248/0.5183, allocations: 0.6929 MB / 0.6595 GB, free: 11.4 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.001945/0.5203, allocations: 1.869 MB / 0.6613 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002878/0.5231, allocations: 1.964 MB / 0.6632 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5231, allocations: 0 / 0.6632 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005459/0.5237, allocations: 433.5 kB / 0.6636 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.5248, allocations: 247.9 kB / 0.6639 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02784/0.5526, allocations: 20.94 MB / 0.6843 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002336/0.5549, allocations: 1.708 MB / 0.686 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002097/0.557, allocations: 0.9558 MB / 0.6869 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/0.5584, allocations: 1.042 MB / 0.6879 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.5584, allocations: 0 / 0.6879 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07106/0.6295, allocations: 32.89 MB / 0.72 GB, free: 11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.22, allocations: 19.94 kB / 0.7201 GB, free: 10.98 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.492129870224744]