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.00131/0.00131, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001416/0.001416, allocations: 214.7 kB / 23.74 MB, free: 4.66 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.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2488/0.2488, allocations: 46.92 MB / 360.8 MB, free: 4.184 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.002317/0.002317, allocations: 83.81 kB / 0.4962 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3141, allocations: 66.08 MB / 0.5607 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01181/0.3259, allocations: 9.593 MB / 0.5701 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006552/0.3324, allocations: 2.955 MB / 0.573 GB, free: 7.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.3339, allocations: 59.81 kB / 0.573 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004151/0.338, allocations: 2.029 MB / 0.575 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003108/0.3411, allocations: 1.133 MB / 0.5761 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008079/0.3419, allocations: 291.4 kB / 0.5764 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003515/0.3454, allocations: 2.336 MB / 0.5787 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/0.3479, allocations: 1.734 MB / 0.5804 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.3494, allocations: 0.8917 MB / 0.5813 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002058/0.3515, allocations: 1.254 MB / 0.5825 GB, free: 13.78 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004508/0.3519, allocations: 192 kB / 0.5827 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.3534, allocations: 0.7294 MB / 0.5834 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.3548, allocations: 1.137 MB / 0.5845 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001939/0.3568, allocations: 1.301 MB / 0.5858 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005386/0.3622, allocations: 4.334 MB / 0.59 GB, free: 6.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3622, allocations: 8 kB / 0.59 GB, free: 6.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3622, allocations: 0 / 0.59 GB, free: 6.051 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.075e-05/0.3623, allocations: 3.938 kB / 0.59 GB, free: 6.047 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.005226/0.3675, allocations: 2.87 MB / 0.5928 GB, free: 3.133 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.3675, allocations: 8.031 kB / 0.5928 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006014/0.3681, allocations: 483.1 kB / 0.5933 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005124/0.3733, allocations: 1.574 MB / 0.5948 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/0.3764, allocations: 1.278 MB / 0.5961 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.3765, allocations: 147.8 kB / 0.5962 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005691/0.3771, allocations: 187.9 kB / 0.5964 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.3882, allocations: 6.246 MB / 0.6025 GB, free: 8.906 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.398e-05/0.3882, allocations: 11.88 kB / 0.6025 GB, free: 8.895 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002899/0.3885, allocations: 87.91 kB / 0.6026 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002128/0.3906, allocations: 1.344 MB / 0.6039 GB, free: 7.461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/0.4017, allocations: 5.334 MB / 0.6091 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03084/0.4325, allocations: 19.99 MB / 0.6286 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004203/0.4367, allocations: 1.496 MB / 0.6301 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.4377, allocations: 0.6328 MB / 0.6307 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006828/0.4446, allocations: 3.156 MB / 0.6338 GB, free: 8.203 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.4446, allocations: 42.98 kB / 0.6338 GB, free: 8.152 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.526e-06/0.4446, allocations: 0 / 0.6338 GB, free: 8.152 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005773/0.4504, allocations: 1.982 MB / 0.6358 GB, free: 6.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.4504, allocations: 59.84 kB / 0.6358 GB, free: 6.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003034/0.4535, allocations: 1.946 MB / 0.6377 GB, free: 4.141 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.4536, allocations: 37.7 kB / 0.6377 GB, free: 4.098 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001536/0.4551, allocations: 1.903 MB / 0.6396 GB, free: 2.172 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004217/0.4555, allocations: 329.5 kB / 0.6399 GB, free: 1.848 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009099/0.4564, allocations: 0.6234 MB / 0.6405 GB, free: 1.215 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.4566, allocations: 353.9 kB / 0.6409 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.4581, allocations: 0.8959 MB / 0.6417 GB, free: 15.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00326/0.4613, allocations: 2.751 MB / 0.6444 GB, free: 12.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00535/0.4667, allocations: 3.968 MB / 0.6483 GB, free: 7.395 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.239e-05/0.4667, allocations: 20 kB / 0.6483 GB, free: 7.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006676/0.4734, allocations: 3.527 MB / 0.6518 GB, free: 3.836 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.85e-05/0.4735, allocations: 35.98 kB / 0.6518 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.932e-05/0.4736, allocations: 68 kB / 0.6519 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001093/0.4737, allocations: 91.94 kB / 0.652 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/0.4759, allocations: 0.655 MB / 0.6526 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001301/0.476, allocations: 128.1 kB / 0.6527 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/0.4784, allocations: 424.9 kB / 0.6531 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004237/0.4788, allocations: 196 kB / 0.6533 GB, free: 2.254 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.002368/0.4812, allocations: 1.343 MB / 0.6546 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/0.4815, allocations: 162.9 kB / 0.6548 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.4819, allocations: 204.9 kB / 0.655 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.649e-05/0.4819, allocations: 11.94 kB / 0.655 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4819, allocations: 0 / 0.655 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.4819, allocations: 7.984 kB / 0.655 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007579/0.4895, allocations: 3.989 MB / 0.6589 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.4895, allocations: 8.188 kB / 0.6589 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.49, allocations: 107.8 kB / 0.659 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/0.49, allocations: 8 kB / 0.659 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.382e-05/0.49, allocations: 23.98 kB / 0.659 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.579e-05/0.49, allocations: 11.98 kB / 0.659 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/0.4901, allocations: 11.94 kB / 0.659 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.4919, allocations: 1.27 MB / 0.6603 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004548/0.4923, allocations: 182.6 kB / 0.6605 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.4925, allocations: 16 kB / 0.6605 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.493, allocations: 35.92 kB / 0.6605 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.4931, allocations: 51.81 kB / 0.6606 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.392e-05/0.4932, allocations: 35.98 kB / 0.6606 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002043/0.4952, allocations: 1.267 MB / 0.6618 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4952, allocations: 0 / 0.6618 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002789/0.498, allocations: 0.6852 MB / 0.6625 GB, free: 8.582 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.002438/0.5004, allocations: 1.876 MB / 0.6643 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003582/0.504, allocations: 1.96 MB / 0.6662 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.504, allocations: 7.938 kB / 0.6663 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006469/0.5047, allocations: 433.4 kB / 0.6667 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.5061, allocations: 243.4 kB / 0.6669 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03263/0.5388, allocations: 20.94 MB / 0.6874 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002844/0.5416, allocations: 2.275 MB / 0.6896 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002259/0.5439, allocations: 0.952 MB / 0.6905 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/0.5454, allocations: 1.042 MB / 0.6915 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of SimCode: time 1.774e-06/0.5454, allocations: 0 / 0.6915 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07618/0.6215, allocations: 35.27 MB / 0.726 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/15.57, allocations: 10.34 kB / 0.726 GB, free: 5.047 MB / 0.5606 GB " [Timeout remaining time 644] (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: 18.869311032998667]