Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001229/0.001229, 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.0009426/0.0009426, 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.8933/0.8933, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2438/0.2438, allocations: 34.25 MB / 294.9 MB, free: 0.7109 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.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.38e-06/5.38e-06, allocations: 4 kB / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.925e-05, allocations: 2.281 kB / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.1837/0.1837, allocations: 8.416 MB / 450.6 MB, free: 39.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003642/0.1874, allocations: 2.781 MB / 453.4 MB, free: 38.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006221/0.188, allocations: 57.75 kB / 453.4 MB, free: 38.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.1898, allocations: 2.035 MB / 455.5 MB, free: 37.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.1912, allocations: 1.168 MB / 456.6 MB, free: 36.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.1916, allocations: 310.9 kB / 456.9 MB, free: 36.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.1932, allocations: 2.378 MB / 459.3 MB, free: 35.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.1943, allocations: 1.732 MB / 461 MB, free: 34.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009031/0.1952, allocations: 1.282 MB / 462.3 MB, free: 34.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00082/0.196, allocations: 1.14 MB / 463.5 MB, free: 33.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001969/0.1962, allocations: 196.5 kB / 463.6 MB, free: 33.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006622/0.1969, allocations: 0.6452 MB / 464.3 MB, free: 33.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005054/0.1974, allocations: 1.176 MB / 465.5 MB, free: 33.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004332/0.1978, allocations: 0.7199 MB / 466.2 MB, free: 32.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.2002, allocations: 4.283 MB / 470.5 MB, free: 31.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2002, allocations: 0 / 470.5 MB, free: 31.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2002, allocations: 4 kB / 470.5 MB, free: 31.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.173e-05/0.2002, allocations: 0 / 470.5 MB, free: 31.5 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.003483/0.2037, allocations: 2.827 MB / 473.3 MB, free: 29.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.2037, allocations: 9.5 kB / 473.3 MB, free: 29.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003921/0.2041, allocations: 484.5 kB / 473.8 MB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002718/0.2069, allocations: 1.598 MB / 475.4 MB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.2088, allocations: 1.28 MB / 476.7 MB, free: 28.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/0.2088, allocations: 148.3 kB / 476.8 MB, free: 28.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.209, allocations: 189.2 kB / 477 MB, free: 28.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006634/0.2156, allocations: 6.259 MB / 483.3 MB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.2157, allocations: 12.66 kB / 483.3 MB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.2158, allocations: 87.75 kB / 483.4 MB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001417/0.2173, allocations: 1.34 MB / 484.7 MB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007542/0.2248, allocations: 5.34 MB / 490 MB, free: 23.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02046/0.2453, allocations: 19.12 MB / 0.4972 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/0.2481, allocations: 1.569 MB / 0.4987 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006429/0.2487, allocations: 0.6431 MB / 0.4994 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003601/0.2523, allocations: 3.127 MB / 0.5024 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.2523, allocations: 46.19 kB / 0.5025 GB, free: 7.656 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.755e-06/0.2523, allocations: 0 / 0.5025 GB, free: 7.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002889/0.2552, allocations: 2.114 MB / 0.5045 GB, free: 5.539 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.2552, allocations: 63.91 kB / 0.5046 GB, free: 5.465 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.2568, allocations: 2.046 MB / 0.5066 GB, free: 3.414 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.2568, allocations: 37.7 kB / 0.5066 GB, free: 3.371 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/0.2573, allocations: 1.903 MB / 0.5085 GB, free: 1.445 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.2574, allocations: 313.6 kB / 0.5088 GB, free: 1.137 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003849/0.2578, allocations: 0.6116 MB / 0.5094 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.839e-05/0.2578, allocations: 365.9 kB / 0.5097 GB, free: 156 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008438/0.2587, allocations: 0.8803 MB / 0.5106 GB, free: 15.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.2603, allocations: 2.755 MB / 0.5133 GB, free: 11.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00286/0.2631, allocations: 3.964 MB / 0.5172 GB, free: 6.688 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.308e-05/0.2632, allocations: 24 kB / 0.5172 GB, free: 6.664 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003513/0.2667, allocations: 3.535 MB / 0.5206 GB, free: 3.125 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.2667, allocations: 36.97 kB / 0.5207 GB, free: 3.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/0.2667, allocations: 64 kB / 0.5207 GB, free: 3.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.097e-05/0.2668, allocations: 92 kB / 0.5208 GB, free: 2.938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.2678, allocations: 0.6511 MB / 0.5215 GB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.276e-05/0.2679, allocations: 132.3 kB / 0.5216 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.269, allocations: 432.7 kB / 0.522 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.2691, allocations: 188 kB / 0.5222 GB, free: 1.547 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.001722/0.2708, allocations: 1.347 MB / 0.5235 GB, free: 196 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.271, allocations: 168.9 kB / 0.5236 GB, free: 28 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.2711, allocations: 192.9 kB / 0.5238 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.2712, allocations: 12 kB / 0.5238 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.2712, allocations: 0 / 0.5238 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2712, allocations: 3.984 kB / 0.5238 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004032/0.2752, allocations: 3.932 MB / 0.5277 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.2752, allocations: 4.844 kB / 0.5277 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.2754, allocations: 103.8 kB / 0.5278 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/0.2754, allocations: 12 kB / 0.5278 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.2755, allocations: 27.92 kB / 0.5278 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.228e-06/0.2755, allocations: 11.94 kB / 0.5278 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.2755, allocations: 15.69 kB / 0.5279 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00097/0.2765, allocations: 1.248 MB / 0.5291 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.2766, allocations: 174.6 kB / 0.5292 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.424e-05/0.2767, allocations: 31.92 kB / 0.5293 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.277, allocations: 27.92 kB / 0.5293 GB, free: 9.988 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.2771, allocations: 59.8 kB / 0.5294 GB, free: 9.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.2771, allocations: 31.98 kB / 0.5294 GB, free: 9.898 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001327/0.2784, allocations: 1.271 MB / 0.5306 GB, free: 8.637 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2784, allocations: 0 / 0.5306 GB, free: 8.637 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001692/0.2801, allocations: 0.6813 MB / 0.5313 GB, free: 7.953 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.001303/0.2814, allocations: 1.877 MB / 0.5331 GB, free: 5.969 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.2833, allocations: 1.957 MB / 0.535 GB, free: 4.031 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2833, allocations: 0 / 0.535 GB, free: 4.031 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.2836, allocations: 441.4 kB / 0.5355 GB, free: 3.602 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007738/0.2844, allocations: 235.7 kB / 0.5357 GB, free: 3.391 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02054/0.3049, allocations: 20.84 MB / 0.556 GB, free: 12 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/0.3065, allocations: 1.707 MB / 0.5577 GB, free: 10.26 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001372/0.3079, allocations: 0.9597 MB / 0.5586 GB, free: 9.297 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008938/0.3087, allocations: 1.039 MB / 0.5597 GB, free: 8.258 MB / 474.7 MB Notification: Performance of SimCode: time 1.703e-06/0.3088, allocations: 0 / 0.5597 GB, free: 8.258 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04579/0.3545, allocations: 32.98 MB / 0.5919 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/7.959, allocations: 8.5 kB / 0.5919 GB, free: 7.672 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.10900610499084]