Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.000906/0.000906, allocations: 92.27 kB / 20.95 MB, free: 3.473 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.0009306/0.0009306, allocations: 152.9 kB / 24.26 MB, free: 168 kB / 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.9004/0.9004, allocations: 177 MB / 204.5 MB, free: 5.609 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.2413/0.2413, allocations: 34.24 MB / 295.2 MB, free: 0.6758 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.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 376.7 MB, free: 3.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.472e-05, allocations: 2.312 kB / 376.7 MB, free: 3.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.007251/0.007275, allocations: 8.407 MB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004637/0.01191, allocations: 2.803 MB / 387.9 MB, free: 8.156 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009349/0.01285, allocations: 55.81 kB / 388 MB, free: 8.102 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.015, allocations: 2.068 MB / 390 MB, free: 6.027 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.01707, allocations: 1.167 MB / 391.2 MB, free: 4.855 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.01755, allocations: 335.2 kB / 391.5 MB, free: 4.527 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.01952, allocations: 2.368 MB / 393.9 MB, free: 2.152 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.02088, allocations: 1.774 MB / 395.7 MB, free: 344 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.02191, allocations: 1.298 MB / 397 MB, free: 15.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.02323, allocations: 1.13 MB / 398.1 MB, free: 13.9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.02344, allocations: 192 kB / 398.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008073/0.02424, allocations: 0.6435 MB / 398.9 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006122/0.02485, allocations: 1.173 MB / 400.1 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004866/0.02534, allocations: 0.7241 MB / 400.8 MB, free: 11.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003468/0.02881, allocations: 4.287 MB / 405.1 MB, free: 6.867 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.02882, allocations: 0 / 405.1 MB, free: 6.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.02882, allocations: 0 / 405.1 MB, free: 6.867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001241/0.02894, allocations: 0 / 405.1 MB, free: 6.867 MB / 378.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.003946/0.03289, allocations: 2.827 MB / 407.9 MB, free: 3.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.03293, allocations: 16.03 kB / 408 MB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003985/0.03333, allocations: 491 kB / 408.4 MB, free: 3.492 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003071/0.0364, allocations: 1.93 MB / 410.4 MB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.03804, allocations: 1.282 MB / 411.7 MB, free: 248 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003384/0.03838, allocations: 144 kB / 411.8 MB, free: 104 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/0.0386, allocations: 184.3 kB / 412 MB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005883/0.04448, allocations: 6.262 MB / 418.2 MB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.04452, allocations: 15.88 kB / 418.3 MB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.04468, allocations: 91.89 kB / 418.3 MB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001454/0.04614, allocations: 1.344 MB / 419.7 MB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006598/0.05274, allocations: 5.33 MB / 425 MB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.164/0.2168, allocations: 19.17 MB / 444.2 MB, free: 94.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.2192, allocations: 1.565 MB / 445.8 MB, free: 94.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/0.2197, allocations: 0.6383 MB / 446.4 MB, free: 94.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003662/0.2234, allocations: 3.123 MB / 449.5 MB, free: 93.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.2234, allocations: 38.69 kB / 449.6 MB, free: 93.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.136e-06/0.2234, allocations: 0 / 449.6 MB, free: 93.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.003106/0.2265, allocations: 2.147 MB / 451.7 MB, free: 93.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.2265, allocations: 58.97 kB / 451.8 MB, free: 93.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.2283, allocations: 2.054 MB / 453.8 MB, free: 92.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.2284, allocations: 33.7 kB / 453.8 MB, free: 92.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006696/0.229, allocations: 1.899 MB / 455.7 MB, free: 91.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.2292, allocations: 322.6 kB / 456.1 MB, free: 91.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004261/0.2296, allocations: 0.6104 MB / 456.7 MB, free: 90.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.79e-05/0.2297, allocations: 359.6 kB / 457 MB, free: 90.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007451/0.2304, allocations: 0.8866 MB / 457.9 MB, free: 90.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.2316, allocations: 2.755 MB / 460.7 MB, free: 87.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/0.2341, allocations: 3.97 MB / 464.6 MB, free: 84.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-05/0.2341, allocations: 19.48 kB / 464.7 MB, free: 84.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00321/0.2373, allocations: 3.69 MB / 468.3 MB, free: 82.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.2373, allocations: 35.5 kB / 468.4 MB, free: 82.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.527e-05/0.2374, allocations: 64.34 kB / 468.4 MB, free: 82.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.772e-05/0.2375, allocations: 87.94 kB / 468.5 MB, free: 82.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009952/0.2385, allocations: 0.6582 MB / 469.2 MB, free: 82.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.456e-05/0.2385, allocations: 128.1 kB / 469.3 MB, free: 82.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.2397, allocations: 436 kB / 469.7 MB, free: 82.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.2399, allocations: 194.3 kB / 469.9 MB, free: 82.2 MB / 410.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.001425/0.2413, allocations: 1.333 MB / 471.3 MB, free: 81.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.2415, allocations: 182.4 kB / 471.4 MB, free: 81.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.2416, allocations: 194.2 kB / 471.6 MB, free: 81.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.2416, allocations: 10.92 kB / 471.6 MB, free: 81.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.2417, allocations: 0 / 471.6 MB, free: 81.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2417, allocations: 3.375 kB / 471.6 MB, free: 81.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004344/0.246, allocations: 3.937 MB / 475.6 MB, free: 79.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.246, allocations: 5.875 kB / 475.6 MB, free: 79.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.2463, allocations: 106.8 kB / 475.7 MB, free: 79.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/0.2463, allocations: 12.19 kB / 475.7 MB, free: 79.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.2463, allocations: 26.34 kB / 475.7 MB, free: 79.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/0.2463, allocations: 12.06 kB / 475.7 MB, free: 79.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.2463, allocations: 11.72 kB / 475.7 MB, free: 79.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.2474, allocations: 1.271 MB / 477 MB, free: 79.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.2476, allocations: 185.9 kB / 477.2 MB, free: 78.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.2477, allocations: 25.8 kB / 477.2 MB, free: 78.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.248, allocations: 28.2 kB / 477.3 MB, free: 78.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.2481, allocations: 51.91 kB / 477.3 MB, free: 78.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.2481, allocations: 31.72 kB / 477.3 MB, free: 78.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00131/0.2494, allocations: 1.269 MB / 478.6 MB, free: 78.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2494, allocations: 0 / 478.6 MB, free: 78.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001888/0.2513, allocations: 0.6962 MB / 479.3 MB, free: 78.21 MB / 410.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.001264/0.2526, allocations: 1.877 MB / 481.2 MB, free: 76.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002477/0.2551, allocations: 1.959 MB / 483.1 MB, free: 76.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.2551, allocations: 5.438 kB / 483.1 MB, free: 76.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.2555, allocations: 431 kB / 483.6 MB, free: 76.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008888/0.2563, allocations: 237 kB / 483.8 MB, free: 76.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/0.2745, allocations: 21.04 MB / 0.493 GB, free: 60.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/0.276, allocations: 1.712 MB / 0.4947 GB, free: 59.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00139/0.2774, allocations: 0.9487 MB / 0.4956 GB, free: 58.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007504/0.2782, allocations: 1.052 MB / 0.4966 GB, free: 57.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.2782, allocations: 0 / 0.4966 GB, free: 57.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03933/0.3175, allocations: 33.2 MB / 0.529 GB, free: 27.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/8.519, allocations: 3.859 kB / 0.529 GB, free: 27.5 MB / 410.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.517475992441177]