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.0008553/0.0008553, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008995/0.0008995, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8941/0.8941, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2338/0.2338, allocations: 34.23 MB / 294.8 MB, free: 0.6836 MB / 266.7 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 1.403e-06/1.403e-06, allocations: 0 / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.991e-05, allocations: 10.28 kB / 442.1 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.1684/0.1684, allocations: 8.409 MB / 450.6 MB, free: 39.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004038/0.1724, allocations: 2.782 MB / 453.3 MB, free: 38.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009971/0.1734, allocations: 55.12 kB / 453.4 MB, free: 38.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.1753, allocations: 2.041 MB / 455.4 MB, free: 37.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.177, allocations: 1.172 MB / 456.6 MB, free: 36.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.1775, allocations: 305.2 kB / 456.9 MB, free: 36.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00191/0.1794, allocations: 2.369 MB / 459.3 MB, free: 35.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.1808, allocations: 1.752 MB / 461 MB, free: 34.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.1818, allocations: 1.278 MB / 462.3 MB, free: 34.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.1829, allocations: 1.14 MB / 463.4 MB, free: 33.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002633/0.1831, allocations: 192.7 kB / 463.6 MB, free: 33.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008198/0.184, allocations: 0.65 MB / 464.3 MB, free: 33.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005534/0.1845, allocations: 1.176 MB / 465.5 MB, free: 33.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005073/0.185, allocations: 0.7161 MB / 466.2 MB, free: 32.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002618/0.1876, allocations: 4.282 MB / 470.5 MB, free: 31.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1876, allocations: 0 / 470.5 MB, free: 31.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1876, allocations: 0 / 470.5 MB, free: 31.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.273e-05/0.1877, allocations: 3.281 kB / 470.5 MB, free: 31.45 MB / 410.7 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.002985/0.1907, allocations: 2.839 MB / 473.3 MB, free: 29.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1907, allocations: 9.906 kB / 473.3 MB, free: 29.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003316/0.1911, allocations: 481.1 kB / 473.8 MB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002496/0.1936, allocations: 1.6 MB / 475.4 MB, free: 29.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.1951, allocations: 1.275 MB / 476.6 MB, free: 28.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.962e-05/0.1951, allocations: 143.3 kB / 476.8 MB, free: 28.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.1953, allocations: 189.4 kB / 477 MB, free: 28.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005711/0.201, allocations: 6.26 MB / 483.2 MB, free: 25.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.2011, allocations: 13.25 kB / 483.2 MB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.2012, allocations: 87.59 kB / 483.3 MB, free: 25.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001358/0.2026, allocations: 1.344 MB / 484.7 MB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007591/0.2102, allocations: 5.332 MB / 490 MB, free: 23.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02031/0.2305, allocations: 19.13 MB / 0.4972 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/0.233, allocations: 1.564 MB / 0.4987 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005921/0.2336, allocations: 0.6454 MB / 0.4994 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003623/0.2372, allocations: 3.127 MB / 0.5024 GB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.2372, allocations: 43.05 kB / 0.5025 GB, free: 7.543 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.126e-06/0.2372, allocations: 0 / 0.5025 GB, free: 7.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002948/0.2401, allocations: 2.119 MB / 0.5045 GB, free: 5.418 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.2402, allocations: 59.91 kB / 0.5046 GB, free: 5.348 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.2418, allocations: 2.042 MB / 0.5066 GB, free: 3.301 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.2418, allocations: 37.7 kB / 0.5066 GB, free: 3.258 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004656/0.2423, allocations: 1.903 MB / 0.5085 GB, free: 1.332 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.2424, allocations: 317.6 kB / 0.5088 GB, free: 1.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003863/0.2428, allocations: 0.6116 MB / 0.5094 GB, free: 408 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.11e-05/0.2428, allocations: 361.9 kB / 0.5097 GB, free: 40 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008692/0.2437, allocations: 0.8881 MB / 0.5106 GB, free: 15.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.2454, allocations: 2.748 MB / 0.5133 GB, free: 11.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/0.2484, allocations: 3.972 MB / 0.5171 GB, free: 6.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.464e-05/0.2485, allocations: 20 kB / 0.5172 GB, free: 6.551 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004459/0.2529, allocations: 3.532 MB / 0.5206 GB, free: 3.012 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.253, allocations: 37.59 kB / 0.5206 GB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.704e-05/0.253, allocations: 64 kB / 0.5207 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-05/0.2531, allocations: 88 kB / 0.5208 GB, free: 2.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.2542, allocations: 0.6472 MB / 0.5214 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.081e-05/0.2542, allocations: 135.4 kB / 0.5216 GB, free: 2.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.2555, allocations: 441 kB / 0.522 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.2557, allocations: 188 kB / 0.5222 GB, free: 1.43 MB / 426.7 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.001736/0.2575, allocations: 1.345 MB / 0.5235 GB, free: 80 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.2576, allocations: 162.9 kB / 0.5236 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.2578, allocations: 192.8 kB / 0.5238 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.2578, allocations: 12 kB / 0.5238 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.2578, allocations: 0 / 0.5238 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2578, allocations: 3.984 kB / 0.5238 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004681/0.2625, allocations: 3.936 MB / 0.5277 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.2625, allocations: 8 kB / 0.5277 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.2628, allocations: 99.81 kB / 0.5278 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/0.2628, allocations: 8 kB / 0.5278 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.2628, allocations: 25.44 kB / 0.5278 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.2628, allocations: 15.92 kB / 0.5278 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.2628, allocations: 11.94 kB / 0.5278 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009538/0.2638, allocations: 1.248 MB / 0.529 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.2641, allocations: 182.6 kB / 0.5292 GB, free: 9.926 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.2642, allocations: 23.92 kB / 0.5292 GB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.2644, allocations: 23.98 kB / 0.5293 GB, free: 9.879 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.2645, allocations: 63.73 kB / 0.5293 GB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.2646, allocations: 31.98 kB / 0.5294 GB, free: 9.785 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001319/0.2659, allocations: 1.267 MB / 0.5306 GB, free: 8.527 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2659, allocations: 4 kB / 0.5306 GB, free: 8.523 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001992/0.2679, allocations: 0.6891 MB / 0.5313 GB, free: 7.832 MB / 442.7 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.001298/0.2692, allocations: 1.873 MB / 0.5331 GB, free: 5.855 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.2714, allocations: 1.957 MB / 0.535 GB, free: 3.914 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.2714, allocations: 4 kB / 0.535 GB, free: 3.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.2718, allocations: 429.7 kB / 0.5354 GB, free: 3.492 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008149/0.2726, allocations: 234.5 kB / 0.5356 GB, free: 3.281 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/0.2943, allocations: 20.84 MB / 0.556 GB, free: 11.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/0.2959, allocations: 1.704 MB / 0.5577 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00136/0.2972, allocations: 0.9621 MB / 0.5586 GB, free: 9.191 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/0.2982, allocations: 1.043 MB / 0.5596 GB, free: 8.148 MB / 474.7 MB Notification: Performance of SimCode: time 2.414e-06/0.2982, allocations: 0 / 0.5596 GB, free: 8.148 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04749/0.3457, allocations: 32.96 MB / 0.5918 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.265, allocations: 8 kB / 0.5918 GB, free: 7.531 MB / 0.4948 GB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/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: 10.337847102433443]