Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001362/0.001362, allocations: 108.3 kB / 20.48 MB, free: 0.9805 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.001456/0.001456, allocations: 218.5 kB / 23.78 MB, free: 4.215 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.431/1.431, allocations: 230.5 MB / 257.5 MB, free: 7.711 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.2288/0.2288, allocations: 46.95 MB / 360.9 MB, free: 3.887 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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003353/0.003353, allocations: 83.86 kB / 0.4962 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4028, allocations: 66.08 MB / 0.5608 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01227/0.4151, allocations: 8.9 MB / 0.5695 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007236/0.4223, allocations: 2.928 MB / 0.5723 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.4238, allocations: 59.81 kB / 0.5724 GB, free: 8.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00559/0.4294, allocations: 2.535 MB / 0.5749 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004569/0.434, allocations: 1.214 MB / 0.576 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.4353, allocations: 351.3 kB / 0.5764 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004908/0.4403, allocations: 2.545 MB / 0.5789 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003835/0.4441, allocations: 2.238 MB / 0.5811 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/0.4462, allocations: 1.063 MB / 0.5821 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/0.4488, allocations: 1.382 MB / 0.5834 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005803/0.4493, allocations: 252 kB / 0.5837 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.4507, allocations: 0.6709 MB / 0.5843 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001535/0.4523, allocations: 1.36 MB / 0.5857 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.4538, allocations: 1.142 MB / 0.5868 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006247/0.4601, allocations: 5.14 MB / 0.5918 GB, free: 4.074 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4601, allocations: 0 / 0.5918 GB, free: 4.074 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4601, allocations: 0 / 0.5918 GB, free: 4.074 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001449/0.4602, allocations: 0 / 0.5918 GB, free: 4.074 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.006976/0.4672, allocations: 3.278 MB / 0.595 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.4672, allocations: 8.031 kB / 0.595 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001122/0.4684, allocations: 0.5536 MB / 0.5956 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005484/0.4738, allocations: 1.638 MB / 0.5971 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00372/0.4776, allocations: 1.443 MB / 0.5986 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.4777, allocations: 191.2 kB / 0.5987 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007538/0.4785, allocations: 227.9 kB / 0.599 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.4928, allocations: 7.125 MB / 0.6059 GB, free: 5.191 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.339e-05/0.4929, allocations: 15.88 kB / 0.6059 GB, free: 5.176 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003331/0.4932, allocations: 111.9 kB / 0.606 GB, free: 5.066 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002363/0.4956, allocations: 1.443 MB / 0.6074 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01272/0.5083, allocations: 5.948 MB / 0.6133 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03664/0.5449, allocations: 21.26 MB / 0.634 GB, free: 7.828 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005553/0.5505, allocations: 1.767 MB / 0.6357 GB, free: 6.035 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.5519, allocations: 0.7093 MB / 0.6364 GB, free: 5.324 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009032/0.5609, allocations: 3.323 MB / 0.6397 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.5609, allocations: 43.16 kB / 0.6397 GB, free: 1.926 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 4.909e-06/0.561, allocations: 0 / 0.6397 GB, free: 1.926 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.007137/0.5681, allocations: 2.417 MB / 0.6421 GB, free: 15.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.5682, allocations: 60 kB / 0.6421 GB, free: 15.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004728/0.5729, allocations: 2.18 MB / 0.6443 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.573, allocations: 33.7 kB / 0.6443 GB, free: 13.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002121/0.5751, allocations: 2.102 MB / 0.6464 GB, free: 11.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005202/0.5757, allocations: 365.2 kB / 0.6467 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/0.5769, allocations: 0.6628 MB / 0.6473 GB, free: 10.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002346/0.5771, allocations: 365.9 kB / 0.6477 GB, free: 9.695 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.5789, allocations: 0.9352 MB / 0.6486 GB, free: 8.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003355/0.5822, allocations: 2.868 MB / 0.6514 GB, free: 4.926 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005537/0.5877, allocations: 4.151 MB / 0.6555 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-05/0.5878, allocations: 20 kB / 0.6555 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007283/0.5951, allocations: 3.711 MB / 0.6591 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.535e-05/0.5952, allocations: 32 kB / 0.6591 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/0.5953, allocations: 72 kB / 0.6592 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001176/0.5954, allocations: 88.81 kB / 0.6593 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002392/0.5978, allocations: 0.694 MB / 0.66 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001459/0.598, allocations: 131.5 kB / 0.6601 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/0.6003, allocations: 444.7 kB / 0.6605 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000457/0.6008, allocations: 203.9 kB / 0.6607 GB, free: 10.43 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (382): * Single equations (assignments): 377 * 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.002869/0.6037, allocations: 1.499 MB / 0.6622 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003918/0.6041, allocations: 174.8 kB / 0.6623 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.6046, allocations: 218.1 kB / 0.6626 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.102e-05/0.6046, allocations: 11.94 kB / 0.6626 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.6046, allocations: 8 kB / 0.6626 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.6046, allocations: 7.922 kB / 0.6626 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.6155, allocations: 4.823 MB / 0.6673 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.446e-05/0.6155, allocations: 12 kB / 0.6673 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/0.616, allocations: 115.8 kB / 0.6674 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-05/0.6161, allocations: 12 kB / 0.6674 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/0.6161, allocations: 23.98 kB / 0.6674 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-05/0.6161, allocations: 15.94 kB / 0.6675 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/0.6162, allocations: 11.94 kB / 0.6675 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.6182, allocations: 1.427 MB / 0.6689 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/0.6187, allocations: 214.4 kB / 0.6691 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003551/0.6191, allocations: 27.97 kB / 0.6691 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007189/0.6198, allocations: 39.89 kB / 0.6691 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.6199, allocations: 75.66 kB / 0.6692 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.232e-05/0.62, allocations: 32 kB / 0.6692 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002841/0.6228, allocations: 1.444 MB / 0.6706 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6228, allocations: 0 / 0.6706 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00333/0.6262, allocations: 0.7785 MB / 0.6714 GB, free: 15.15 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.003013/0.6292, allocations: 2.033 MB / 0.6734 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005134/0.6343, allocations: 2.079 MB / 0.6754 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.389e-05/0.6343, allocations: 0 / 0.6754 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008493/0.6352, allocations: 478.7 kB / 0.6759 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.6373, allocations: 281.8 kB / 0.6761 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04352/0.6809, allocations: 23.2 MB / 0.6988 GB, free: 312 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004005/0.6849, allocations: 1.956 MB / 0.7007 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00289/0.6878, allocations: 1.028 MB / 0.7017 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/0.6896, allocations: 1.207 MB / 0.7029 GB, free: 12.08 MB / 0.545 GB Notification: Performance of SimCode: time 1.423e-06/0.6896, allocations: 0 / 0.7029 GB, free: 12.08 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3226/1.012, allocations: 37.2 MB / 0.7392 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.4, allocations: 14.81 kB / 0.7392 GB, free: 161.2 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_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_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cutForceAndTorque.torque[3] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv. Warning: Get data of variable cutForceAndTorque.torque[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.373123263998423]