Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002152/0.002152, allocations: 216.2 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2333/0.2333, allocations: 46.93 MB / 361.7 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.91 kB / 0.4969 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3137, allocations: 66.04 MB / 0.5614 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01253/0.3262, allocations: 9.585 MB / 0.5708 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00677/0.333, allocations: 2.955 MB / 0.5737 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.3345, allocations: 63.81 kB / 0.5737 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004328/0.3389, allocations: 2.029 MB / 0.5757 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003002/0.3419, allocations: 1.133 MB / 0.5768 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008359/0.3427, allocations: 299.4 kB / 0.5771 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003665/0.3464, allocations: 2.325 MB / 0.5794 GB, free: 2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/0.3491, allocations: 1.738 MB / 0.5811 GB, free: 220 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.3508, allocations: 0.8878 MB / 0.5819 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002366/0.3532, allocations: 1.25 MB / 0.5832 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000682/0.3539, allocations: 196 kB / 0.5833 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.3556, allocations: 0.7293 MB / 0.5841 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001588/0.3571, allocations: 1.141 MB / 0.5852 GB, free: 12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002348/0.3595, allocations: 1.308 MB / 0.5864 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005974/0.3655, allocations: 4.326 MB / 0.5907 GB, free: 6.344 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.3655, allocations: 8 kB / 0.5907 GB, free: 6.336 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3655, allocations: 0 / 0.5907 GB, free: 6.336 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001321/0.3656, allocations: 0 / 0.5907 GB, free: 6.336 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.006275/0.3719, allocations: 2.866 MB / 0.5935 GB, free: 3.426 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.3719, allocations: 8.031 kB / 0.5935 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.869e-05/0.372, allocations: 71.94 kB / 0.5936 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008583/0.3729, allocations: 487.1 kB / 0.594 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005506/0.3784, allocations: 1.571 MB / 0.5956 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003131/0.3815, allocations: 1.279 MB / 0.5968 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.3817, allocations: 151.6 kB / 0.5969 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006551/0.3823, allocations: 195.9 kB / 0.5971 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.3938, allocations: 6.238 MB / 0.6032 GB, free: 9.129 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.407e-05/0.3939, allocations: 15.88 kB / 0.6032 GB, free: 9.113 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/0.3942, allocations: 91.91 kB / 0.6033 GB, free: 9.023 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002233/0.3964, allocations: 1.34 MB / 0.6046 GB, free: 7.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.4066, allocations: 5.322 MB / 0.6098 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03087/0.4375, allocations: 20.01 MB / 0.6294 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004589/0.4421, allocations: 1.485 MB / 0.6308 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.4433, allocations: 0.6328 MB / 0.6314 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007521/0.4508, allocations: 3.164 MB / 0.6345 GB, free: 8.422 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.4508, allocations: 35 kB / 0.6346 GB, free: 8.379 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.649e-06/0.4508, allocations: 0 / 0.6346 GB, free: 8.379 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.006013/0.4568, allocations: 1.994 MB / 0.6365 GB, free: 6.375 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.4569, allocations: 55.84 kB / 0.6366 GB, free: 6.309 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003327/0.4602, allocations: 1.946 MB / 0.6385 GB, free: 4.359 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.991e-05/0.4603, allocations: 29.7 kB / 0.6385 GB, free: 4.324 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001615/0.4619, allocations: 1.907 MB / 0.6404 GB, free: 2.395 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000439/0.4624, allocations: 337.4 kB / 0.6407 GB, free: 2.062 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/0.4636, allocations: 0.6273 MB / 0.6413 GB, free: 1.426 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.4638, allocations: 353.9 kB / 0.6416 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.4653, allocations: 0.8881 MB / 0.6425 GB, free: 188 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003377/0.4687, allocations: 2.751 MB / 0.6452 GB, free: 12.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005311/0.474, allocations: 3.972 MB / 0.6491 GB, free: 7.605 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-05/0.474, allocations: 16 kB / 0.6491 GB, free: 7.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.007045/0.4811, allocations: 3.531 MB / 0.6525 GB, free: 4.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.08e-05/0.4811, allocations: 34.66 kB / 0.6526 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/0.4813, allocations: 72.83 kB / 0.6526 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001057/0.4814, allocations: 87.94 kB / 0.6527 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/0.4836, allocations: 0.655 MB / 0.6533 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002464/0.4839, allocations: 127.5 kB / 0.6535 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/0.4862, allocations: 424.9 kB / 0.6539 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004723/0.4867, allocations: 192 kB / 0.6541 GB, free: 2.477 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.002488/0.4892, allocations: 1.346 MB / 0.6554 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003472/0.4895, allocations: 162.9 kB / 0.6555 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/0.49, allocations: 200.8 kB / 0.6557 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.232e-05/0.4901, allocations: 8 kB / 0.6557 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.4901, allocations: 0 / 0.6557 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4901, allocations: 0 / 0.6557 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0089/0.499, allocations: 4.005 MB / 0.6596 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/0.499, allocations: 8 kB / 0.6596 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000469/0.4995, allocations: 103.8 kB / 0.6597 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-05/0.4995, allocations: 19.94 kB / 0.6598 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.4996, allocations: 12 kB / 0.6598 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.241e-05/0.4996, allocations: 12 kB / 0.6598 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/0.4996, allocations: 15.92 kB / 0.6598 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.5014, allocations: 1.267 MB / 0.661 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/0.5019, allocations: 186.6 kB / 0.6612 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003136/0.5022, allocations: 16 kB / 0.6612 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006597/0.5029, allocations: 35.92 kB / 0.6613 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.503, allocations: 51.81 kB / 0.6613 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.736e-05/0.5031, allocations: 31.98 kB / 0.6613 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002345/0.5054, allocations: 1.275 MB / 0.6626 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5054, allocations: 0 / 0.6626 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002885/0.5083, allocations: 0.6891 MB / 0.6633 GB, free: 8.793 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.00259/0.5109, allocations: 1.873 MB / 0.6651 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003504/0.5144, allocations: 1.955 MB / 0.667 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.5144, allocations: 4 kB / 0.667 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006815/0.5151, allocations: 430.6 kB / 0.6674 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.5168, allocations: 237 kB / 0.6676 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03436/0.5511, allocations: 20.95 MB / 0.6881 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003158/0.5543, allocations: 2.275 MB / 0.6903 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002287/0.5566, allocations: 0.952 MB / 0.6913 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/0.5582, allocations: 1.046 MB / 0.6923 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.5582, allocations: 0 / 0.6923 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0743/0.6325, allocations: 35.32 MB / 0.7268 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/16.23, allocations: 22 kB / 0.7268 GB, free: 5.293 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/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_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.970326195005327]