Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001586/0.001586, allocations: 122 kB / 17.83 MB, free: 5.242 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.002014/0.002014, allocations: 204.7 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 207.6 MB / 231.2 MB, free: 4.121 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3254/0.3254, allocations: 44.23 MB / 327.3 MB, free: 6.738 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 63.91 kB / 462.9 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2434, allocations: 61 MB / 0.5116 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.008992/0.2524, allocations: 11.09 MB / 0.5225 GB, free: 3.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005266/0.2577, allocations: 3.069 MB / 0.5255 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.2591, allocations: 63.81 kB / 0.5255 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003603/0.2627, allocations: 2.04 MB / 0.5275 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003216/0.266, allocations: 1.238 MB / 0.5287 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007841/0.2667, allocations: 299.4 kB / 0.529 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003799/0.2705, allocations: 2.493 MB / 0.5314 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002826/0.2734, allocations: 2 MB / 0.5334 GB, free: 8.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.275, allocations: 0.9773 MB / 0.5343 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002048/0.2771, allocations: 1.413 MB / 0.5357 GB, free: 6.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005155/0.2776, allocations: 216 kB / 0.5359 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.2788, allocations: 0.7294 MB / 0.5366 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.28, allocations: 1.274 MB / 0.5379 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.2815, allocations: 1.472 MB / 0.5393 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005461/0.287, allocations: 4.858 MB / 0.5441 GB, free: 13.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.287, allocations: 0 / 0.5441 GB, free: 13.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.287, allocations: 0 / 0.5441 GB, free: 13.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.909e-05/0.2871, allocations: 4 kB / 0.5441 GB, free: 13.72 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.005708/0.2928, allocations: 3.231 MB / 0.5472 GB, free: 10.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.2928, allocations: 15.83 kB / 0.5472 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.697e-05/0.2929, allocations: 76.31 kB / 0.5473 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007072/0.2936, allocations: 0.5333 MB / 0.5478 GB, free: 9.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005943/0.2995, allocations: 1.629 MB / 0.5494 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.3023, allocations: 1.426 MB / 0.5508 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.3024, allocations: 163.9 kB / 0.551 GB, free: 6.512 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003976/0.3028, allocations: 211.8 kB / 0.5512 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.3139, allocations: 6.966 MB / 0.558 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.972e-05/0.314, allocations: 19.88 kB / 0.558 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003113/0.3143, allocations: 95.89 kB / 0.5581 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002667/0.3169, allocations: 1.528 MB / 0.5596 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/0.3286, allocations: 5.944 MB / 0.5654 GB, free: 7.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03148/0.3601, allocations: 22.15 MB / 0.587 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0049/0.365, allocations: 2.105 MB / 0.5891 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.3663, allocations: 0.7347 MB / 0.5898 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007761/0.374, allocations: 3.97 MB / 0.5937 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.3741, allocations: 47.14 kB / 0.5937 GB, free: 9.516 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 4.509e-06/0.3741, allocations: 0 / 0.5937 GB, free: 9.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.006438/0.3806, allocations: 2.269 MB / 0.5959 GB, free: 7.238 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.3806, allocations: 60.06 kB / 0.596 GB, free: 7.168 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003264/0.3839, allocations: 2.061 MB / 0.598 GB, free: 5.059 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.064e-05/0.384, allocations: 33.7 kB / 0.598 GB, free: 5.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001681/0.3857, allocations: 2.094 MB / 0.6001 GB, free: 2.902 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004188/0.3861, allocations: 397 kB / 0.6005 GB, free: 2.512 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009964/0.3871, allocations: 0.6751 MB / 0.6011 GB, free: 1.828 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.3873, allocations: 361.9 kB / 0.6015 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.3889, allocations: 0.998 MB / 0.6024 GB, free: 480 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003383/0.3923, allocations: 2.995 MB / 0.6054 GB, free: 12.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005527/0.3978, allocations: 4.356 MB / 0.6096 GB, free: 7.137 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.693e-05/0.3979, allocations: 20 kB / 0.6096 GB, free: 7.117 MB / 478.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006444/0.4043, allocations: 3.902 MB / 0.6134 GB, free: 3.207 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/0.4044, allocations: 36 kB / 0.6135 GB, free: 3.172 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.921e-05/0.4044, allocations: 68 kB / 0.6135 GB, free: 3.105 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001141/0.4045, allocations: 96 kB / 0.6136 GB, free: 3.012 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/0.4068, allocations: 0.7252 MB / 0.6143 GB, free: 2.285 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001176/0.4069, allocations: 135.5 kB / 0.6145 GB, free: 2.152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.4088, allocations: 473 kB / 0.6149 GB, free: 1.688 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/0.4091, allocations: 204 kB / 0.6151 GB, free: 1.488 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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 (401): * Single equations (assignments): 396 * 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.00216/0.4113, allocations: 1.462 MB / 0.6165 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/0.4116, allocations: 186.9 kB / 0.6167 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.4137, allocations: 1.241 MB / 0.6179 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.4138, allocations: 12 kB / 0.6179 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.4138, allocations: 0 / 0.6179 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.4138, allocations: 7.922 kB / 0.618 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008127/0.4219, allocations: 5.026 MB / 0.6229 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.4219, allocations: 8.969 kB / 0.6229 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/0.4225, allocations: 143.7 kB / 0.623 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/0.4225, allocations: 16 kB / 0.623 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.819e-05/0.4226, allocations: 39.97 kB / 0.6231 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.525e-05/0.4226, allocations: 15.94 kB / 0.6231 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/0.4226, allocations: 15.94 kB / 0.6231 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.4248, allocations: 1.591 MB / 0.6246 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004539/0.4253, allocations: 279.6 kB / 0.6249 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.4255, allocations: 32 kB / 0.6249 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006081/0.4261, allocations: 35.97 kB / 0.625 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.4262, allocations: 75.69 kB / 0.625 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.502e-05/0.4263, allocations: 47.92 kB / 0.6251 GB, free: 6.875 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002074/0.4284, allocations: 1.344 MB / 0.6264 GB, free: 5.508 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4284, allocations: 0 / 0.6264 GB, free: 5.508 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002692/0.4311, allocations: 0.7903 MB / 0.6272 GB, free: 4.715 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.002788/0.4339, allocations: 2.199 MB / 0.6293 GB, free: 2.359 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003809/0.4377, allocations: 2.224 MB / 0.6315 GB, free: 156 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4377, allocations: 0 / 0.6315 GB, free: 156 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008468/0.4385, allocations: 0.5337 MB / 0.632 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.4399, allocations: 264.5 kB / 0.6323 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2518/0.6916, allocations: 23.25 MB / 0.655 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003282/0.6949, allocations: 2.458 MB / 0.6574 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002566/0.6975, allocations: 1.041 MB / 0.6584 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/0.699, allocations: 1.168 MB / 0.6595 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.342e-06/0.699, allocations: 0 / 0.6595 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05633/0.7553, allocations: 36.1 MB / 0.6948 GB, free: 86.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.27, allocations: 11.94 kB / 0.6948 GB, free: 86.46 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 16.57124077901244]