Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.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.001459/0.001459, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001444/0.001444, allocations: 165 kB / 23.79 MB, free: 0.7812 MB / 18.57 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 0.9018/0.9018, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] 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.1489/0.1489, allocations: 32.38 MB / 270.4 MB, free: 14.71 MB / 266.7 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: translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedRotation.frame_b.r_0.[0-9,]+.|fixedRotation.frame_b.f.[0-9,]+.|fixedRotation.frame_b.t.[0-9,]+.|fixedRotation1.frame_b.r_0.[0-9,]+.|fixedRotation1.frame_b.f.[0-9,]+.|fixedRotation1.frame_b.t.[0-9,]+.|fixedRotation2.frame_b.r_0.[0-9,]+.|fixedRotation2.frame_b.f.[0-9,]+.|fixedRotation2.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedRotation.frame_b.r_0.[0-9,]+.|fixedRotation.frame_b.f.[0-9,]+.|fixedRotation.frame_b.t.[0-9,]+.|fixedRotation1.frame_b.r_0.[0-9,]+.|fixedRotation1.frame_b.f.[0-9,]+.|fixedRotation1.frame_b.t.[0-9,]+.|fixedRotation2.frame_b.r_0.[0-9,]+.|fixedRotation2.frame_b.f.[0-9,]+.|fixedRotation2.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.893e-05/4.13e-05, allocations: 9.344 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01121/0.01125, allocations: 16.34 MB / 364 MB, free: 9.012 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007062/0.01831, allocations: 3.813 MB / 367.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.02009, allocations: 111.6 kB / 368 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002692/0.02279, allocations: 2.308 MB / 370.3 MB, free: 2.758 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004109/0.0269, allocations: 2.695 MB / 373 MB, free: 52 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.02752, allocations: 339.3 kB / 373.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006367/0.03389, allocations: 6.479 MB / 379.8 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003869/0.03776, allocations: 3.212 MB / 383 MB, free: 5.969 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003333/0.04109, allocations: 3.137 MB / 386.1 MB, free: 2.824 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.04411, allocations: 2.945 MB / 389.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005594/0.04467, allocations: 392 kB / 389.5 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.04583, allocations: 0.8271 MB / 390.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001865/0.0477, allocations: 2.976 MB / 393.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.04896, allocations: 1.7 MB / 395 MB, free: 9.969 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005599/0.05456, allocations: 6.67 MB / 401.6 MB, free: 3.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.05456, allocations: 0 / 401.6 MB, free: 3.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.05456, allocations: 0 / 401.6 MB, free: 3.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001467/0.05471, allocations: 0 / 401.6 MB, free: 3.27 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.007632/0.06234, allocations: 7.837 MB / 409.5 MB, free: 11.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.06238, allocations: 8.031 kB / 409.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/0.07327, allocations: 6.829 MB / 416.3 MB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003811/0.07708, allocations: 3.161 MB / 419.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.07724, allocations: 328.3 kB / 419.8 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005206/0.07776, allocations: 416 kB / 420.2 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01171/0.08946, allocations: 9.395 MB / 429.6 MB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.92e-05/0.08953, allocations: 31.69 kB / 429.6 MB, free: 6.113 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004279/0.08996, allocations: 207.7 kB / 429.8 MB, free: 5.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004236/0.0942, allocations: 4.749 MB / 434.6 MB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.1053, allocations: 5.678 MB / 440.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.232/0.3372, allocations: 60.17 MB / 0.4887 GB, free: 49.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007555/0.3448, allocations: 3.495 MB / 0.4921 GB, free: 48.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/0.3463, allocations: 0.7497 MB / 0.4928 GB, free: 48.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01118/0.3575, allocations: 7.327 MB / 0.5 GB, free: 44.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.009e-05/0.3575, allocations: 62.7 kB / 0.5001 GB, free: 44.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=321): time 1.292e-05/0.3575, allocations: 2.844 kB / 0.5001 GB, free: 44.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=321): time 0.009008/0.3666, allocations: 4.212 MB / 0.5042 GB, free: 39.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3666, allocations: 103.1 kB / 0.5043 GB, free: 39.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005596/0.3722, allocations: 4.993 MB / 0.5091 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004469/0.3726, allocations: 61.7 kB / 0.5092 GB, free: 34.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003103/0.3757, allocations: 5.544 MB / 0.5146 GB, free: 29.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001622/0.3774, allocations: 1.313 MB / 0.5159 GB, free: 28.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002003/0.3794, allocations: 2.097 MB / 0.5179 GB, free: 26.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.3794, allocations: 480.8 kB / 0.5184 GB, free: 26.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.381, allocations: 0.9981 MB / 0.5194 GB, free: 25.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003944/0.385, allocations: 9.062 MB / 0.5282 GB, free: 12.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008819/0.3938, allocations: 11.13 MB / 0.5391 GB, free: 13.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002556/0.394, allocations: 52 kB / 0.5391 GB, free: 13.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.0184/0.4124, allocations: 7.735 MB / 0.5467 GB, free: 6.035 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.4126, allocations: 91.98 kB / 0.5468 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002806/0.4129, allocations: 192.1 kB / 0.547 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.4131, allocations: 252 kB / 0.5472 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004742/0.4178, allocations: 2.07 MB / 0.5492 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000274/0.4181, allocations: 378.5 kB / 0.5496 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005652/0.4237, allocations: 1.275 MB / 0.5508 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001538/0.4253, allocations: 0.5619 MB / 0.5514 GB, free: 1.238 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * 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.003389/0.4287, allocations: 0.8821 MB / 0.5522 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008067/0.4295, allocations: 0.5156 MB / 0.5528 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006496/0.4301, allocations: 0.5066 MB / 0.5532 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-05/0.4302, allocations: 55.98 kB / 0.5533 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.186e-05/0.4302, allocations: 0 / 0.5533 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.4302, allocations: 7.969 kB / 0.5533 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/0.445, allocations: 8.68 MB / 0.5618 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/0.445, allocations: 16 kB / 0.5618 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.4462, allocations: 419.3 kB / 0.5622 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.632e-05/0.4462, allocations: 24 kB / 0.5622 GB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/0.4463, allocations: 62.97 kB / 0.5623 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-05/0.4464, allocations: 27.92 kB / 0.5623 GB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.792e-05/0.4464, allocations: 23.88 kB / 0.5623 GB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00371/0.4501, allocations: 2.657 MB / 0.5649 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009607/0.4511, allocations: 464.1 kB / 0.5654 GB, free: 2.305 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003499/0.4514, allocations: 62.48 kB / 0.5654 GB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008673/0.4523, allocations: 121.4 kB / 0.5655 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002585/0.4525, allocations: 195.4 kB / 0.5657 GB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.4527, allocations: 95.98 kB / 0.5658 GB, free: 1.844 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002817/0.4555, allocations: 1.975 MB / 0.5678 GB, free: 15.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4555, allocations: 0 / 0.5678 GB, free: 15.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006214/0.4617, allocations: 2.073 MB / 0.5698 GB, free: 13.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * 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.0005264/0.4622, allocations: 201.6 kB / 0.57 GB, free: 13.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008826/0.4711, allocations: 4.238 MB / 0.5741 GB, free: 9.398 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/0.4711, allocations: 0 / 0.5741 GB, free: 9.398 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.4725, allocations: 0.8774 MB / 0.575 GB, free: 8.516 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/0.475, allocations: 453.8 kB / 0.5754 GB, free: 8.086 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0252/0.5002, allocations: 13.04 MB / 0.5881 GB, free: 10.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003558/0.5037, allocations: 2.168 MB / 0.5903 GB, free: 8.473 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005471/0.5092, allocations: 2.906 MB / 0.5931 GB, free: 5.559 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008995/0.5101, allocations: 348.5 kB / 0.5934 GB, free: 5.219 MB / 442.7 MB Notification: Performance of SimCode: time 2.124e-06/0.5101, allocations: 0 / 0.5934 GB, free: 5.219 MB / 442.7 MB Notification: Performance of Templates: time 0.2289/0.739, allocations: 30.12 MB / 0.6228 GB, free: 157.5 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.614728244021535]