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.001085/0.001085, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007867/0.0007867, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8697/0.8697, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.2416/0.2416, allocations: 34.25 MB / 294.9 MB, free: 0.7266 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.816e-05, allocations: 2.281 kB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.189/0.189, allocations: 8.404 MB / 450.6 MB, free: 39.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004228/0.1932, allocations: 2.792 MB / 453.4 MB, free: 38.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009198/0.1942, allocations: 54.84 kB / 453.4 MB, free: 38.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.196, allocations: 2.033 MB / 455.4 MB, free: 37.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.1976, allocations: 1.17 MB / 456.6 MB, free: 36.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.1981, allocations: 321.8 kB / 456.9 MB, free: 36.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001923/0.2001, allocations: 2.361 MB / 459.3 MB, free: 35.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.2013, allocations: 1.742 MB / 461 MB, free: 34.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009597/0.2022, allocations: 1.289 MB / 462.3 MB, free: 34.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008778/0.2031, allocations: 1.136 MB / 463.5 MB, free: 34.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.2033, allocations: 192.2 kB / 463.6 MB, free: 34.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007549/0.204, allocations: 0.6465 MB / 464.3 MB, free: 33.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005733/0.2046, allocations: 1.178 MB / 465.5 MB, free: 33.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000567/0.2052, allocations: 0.7246 MB / 466.2 MB, free: 33.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003407/0.2086, allocations: 4.281 MB / 470.5 MB, free: 31.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2086, allocations: 0 / 470.5 MB, free: 31.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2086, allocations: 0 / 470.5 MB, free: 31.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001285/0.2087, allocations: 3.188 kB / 470.5 MB, free: 31.54 MB / 410.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.004297/0.213, allocations: 2.827 MB / 473.3 MB, free: 29.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.2131, allocations: 14.31 kB / 473.3 MB, free: 29.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003978/0.2135, allocations: 486.5 kB / 473.8 MB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00292/0.2164, allocations: 1.584 MB / 475.4 MB, free: 29.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00267/0.2191, allocations: 1.284 MB / 476.7 MB, free: 28.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/0.2191, allocations: 148.2 kB / 476.8 MB, free: 28.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.2194, allocations: 187 kB / 477 MB, free: 28.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007914/0.2273, allocations: 6.252 MB / 483.2 MB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/0.2273, allocations: 17.05 kB / 483.3 MB, free: 25.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.2275, allocations: 87.03 kB / 483.3 MB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001585/0.2291, allocations: 1.344 MB / 484.7 MB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008686/0.2377, allocations: 5.331 MB / 490 MB, free: 23.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02226/0.26, allocations: 19.13 MB / 0.4972 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/0.2629, allocations: 1.564 MB / 0.4988 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007531/0.2637, allocations: 0.6355 MB / 0.4994 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003763/0.2674, allocations: 3.131 MB / 0.5024 GB, free: 7.695 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.2675, allocations: 42.25 kB / 0.5025 GB, free: 7.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.434e-06/0.2675, allocations: 0 / 0.5025 GB, free: 7.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.00313/0.2706, allocations: 2.126 MB / 0.5045 GB, free: 5.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.2706, allocations: 55.91 kB / 0.5046 GB, free: 5.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.2723, allocations: 2.05 MB / 0.5066 GB, free: 3.398 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.2723, allocations: 33.7 kB / 0.5066 GB, free: 3.359 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000482/0.2728, allocations: 1.903 MB / 0.5085 GB, free: 1.434 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.2729, allocations: 313.6 kB / 0.5088 GB, free: 1.125 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004323/0.2734, allocations: 0.6156 MB / 0.5094 GB, free: 0.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.989e-05/0.2734, allocations: 357.9 kB / 0.5097 GB, free: 148 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000926/0.2744, allocations: 0.8881 MB / 0.5106 GB, free: 15.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/0.2761, allocations: 2.744 MB / 0.5133 GB, free: 11.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/0.2791, allocations: 3.978 MB / 0.5172 GB, free: 6.668 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.018e-05/0.2791, allocations: 16 kB / 0.5172 GB, free: 6.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003886/0.283, allocations: 3.534 MB / 0.5206 GB, free: 3.113 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.2831, allocations: 37.03 kB / 0.5207 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-05/0.2831, allocations: 64 kB / 0.5207 GB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.74e-05/0.2832, allocations: 88 kB / 0.5208 GB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.2843, allocations: 0.6511 MB / 0.5214 GB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.689e-05/0.2843, allocations: 136.2 kB / 0.5216 GB, free: 2.145 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.2856, allocations: 436.7 kB / 0.522 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.2857, allocations: 188.1 kB / 0.5222 GB, free: 1.531 MB / 426.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.001557/0.2873, allocations: 1.339 MB / 0.5235 GB, free: 188 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.2874, allocations: 164.9 kB / 0.5236 GB, free: 24 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.2876, allocations: 200.9 kB / 0.5238 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.2877, allocations: 8 kB / 0.5238 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.2877, allocations: 0 / 0.5238 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2877, allocations: 7.922 kB / 0.5238 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004328/0.292, allocations: 3.936 MB / 0.5277 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.292, allocations: 8 kB / 0.5277 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.2922, allocations: 99.83 kB / 0.5278 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-06/0.2922, allocations: 12 kB / 0.5278 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.2923, allocations: 23.92 kB / 0.5278 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.637e-06/0.2923, allocations: 15.94 kB / 0.5278 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.2923, allocations: 11.75 kB / 0.5279 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.2933, allocations: 1.244 MB / 0.5291 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.2935, allocations: 182.6 kB / 0.5292 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.56e-05/0.2936, allocations: 23.92 kB / 0.5293 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.2939, allocations: 31.97 kB / 0.5293 GB, free: 9.977 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.294, allocations: 59.67 kB / 0.5294 GB, free: 9.918 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.294, allocations: 32 kB / 0.5294 GB, free: 9.887 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001117/0.2951, allocations: 1.267 MB / 0.5306 GB, free: 8.629 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2951, allocations: 0 / 0.5306 GB, free: 8.629 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001645/0.2968, allocations: 0.6852 MB / 0.5313 GB, free: 7.941 MB / 442.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.001601/0.2984, allocations: 1.865 MB / 0.5331 GB, free: 5.969 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001921/0.3003, allocations: 1.97 MB / 0.535 GB, free: 4.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3003, allocations: 0.5 kB / 0.535 GB, free: 4.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.3006, allocations: 440.2 kB / 0.5355 GB, free: 3.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007803/0.3014, allocations: 235.6 kB / 0.5357 GB, free: 3.379 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02142/0.3228, allocations: 20.84 MB / 0.556 GB, free: 11.99 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.3243, allocations: 1.705 MB / 0.5577 GB, free: 10.25 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001608/0.3259, allocations: 0.9574 MB / 0.5586 GB, free: 9.289 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000893/0.3268, allocations: 1.039 MB / 0.5596 GB, free: 8.25 MB / 474.7 MB Notification: Performance of SimCode: time 1.483e-06/0.3268, allocations: 4 kB / 0.5597 GB, free: 8.246 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05357/0.3804, allocations: 32.97 MB / 0.5918 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/8.176, allocations: 8.5 kB / 0.5919 GB, free: 7.664 MB / 0.4948 GB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/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: 10.246528952382505]