Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001472, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.015/1.015, allocations: 177 MB / 204.8 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2682/0.2682, allocations: 34.85 MB / 296.3 MB, free: 0.5352 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.59e-05, allocations: 2.312 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01193/0.01196, allocations: 16.21 MB / 395 MB, free: 1.797 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007397/0.01936, allocations: 3.89 MB / 398.9 MB, free: 13.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.02129, allocations: 119.6 kB / 399 MB, free: 13.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.02395, allocations: 2.315 MB / 401.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004108/0.02806, allocations: 2.668 MB / 404 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.02861, allocations: 343.2 kB / 404.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006297/0.0349, allocations: 6.66 MB / 411 MB, free: 1.766 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003958/0.03886, allocations: 3.2 MB / 414.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007341/0.0462, allocations: 3.102 MB / 417.3 MB, free: 11.41 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009398/0.0556, allocations: 2.938 MB / 420.2 MB, free: 8.465 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007659/0.05637, allocations: 392 kB / 420.6 MB, free: 8.082 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.05782, allocations: 0.831 MB / 421.4 MB, free: 7.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005154/0.06297, allocations: 2.913 MB / 424.3 MB, free: 4.328 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004902/0.06787, allocations: 1.654 MB / 426 MB, free: 2.668 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.08054, allocations: 6.573 MB / 432.5 MB, free: 12.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.08055, allocations: 0 / 432.5 MB, free: 12.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.08055, allocations: 0 / 432.5 MB, free: 12.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.618e-05/0.08065, allocations: 0 / 432.5 MB, free: 12.07 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01795/0.09859, allocations: 7.76 MB / 440.3 MB, free: 4.227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.09865, allocations: 8.031 kB / 440.3 MB, free: 4.219 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1726/0.2712, allocations: 6.825 MB / 447.1 MB, free: 92.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004687/0.2759, allocations: 3.075 MB / 450.2 MB, free: 92.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.2761, allocations: 323.8 kB / 450.5 MB, free: 92.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007363/0.2768, allocations: 417.8 kB / 450.9 MB, free: 92.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01132/0.2881, allocations: 9.386 MB / 460.3 MB, free: 89.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.885e-05/0.2882, allocations: 36.91 kB / 460.4 MB, free: 89.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004085/0.2886, allocations: 206.1 kB / 460.6 MB, free: 89.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003675/0.2923, allocations: 4.752 MB / 465.3 MB, free: 88.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.3034, allocations: 5.671 MB / 471 MB, free: 87.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04146/0.3449, allocations: 60.18 MB / 0.5187 GB, free: 38.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006145/0.3511, allocations: 3.49 MB / 0.5221 GB, free: 34.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.3521, allocations: 0.7578 MB / 0.5229 GB, free: 34.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008733/0.3608, allocations: 7.335 MB / 0.53 GB, free: 27.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3609, allocations: 59.39 kB / 0.5301 GB, free: 27.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 4.629e-06/0.3609, allocations: 0 / 0.5301 GB, free: 27.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.007492/0.3684, allocations: 4.199 MB / 0.5342 GB, free: 22.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.3684, allocations: 99.11 kB / 0.5343 GB, free: 22.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003553/0.372, allocations: 4.935 MB / 0.5391 GB, free: 17.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.841e-05/0.3721, allocations: 61.3 kB / 0.5392 GB, free: 17.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.3737, allocations: 5.542 MB / 0.5446 GB, free: 12.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005793/0.3743, allocations: 1.313 MB / 0.5459 GB, free: 10.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/0.3757, allocations: 2.093 MB / 0.5479 GB, free: 8.742 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.087e-05/0.3758, allocations: 480.8 kB / 0.5484 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.3772, allocations: 1.002 MB / 0.5493 GB, free: 7.262 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004346/0.3815, allocations: 9.069 MB / 0.5582 GB, free: 10.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008856/0.3904, allocations: 11.11 MB / 0.569 GB, free: 11.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.649e-05/0.3905, allocations: 55.94 kB / 0.5691 GB, free: 11.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01045/0.4009, allocations: 7.751 MB / 0.5767 GB, free: 4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.204e-05/0.401, allocations: 88 kB / 0.5767 GB, free: 3.914 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001653/0.4012, allocations: 192 kB / 0.5769 GB, free: 3.727 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.4013, allocations: 252 kB / 0.5772 GB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00355/0.4049, allocations: 2.078 MB / 0.5792 GB, free: 1.398 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002158/0.4051, allocations: 374.5 kB / 0.5796 GB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003617/0.4087, allocations: 1.286 MB / 0.5808 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000497/0.4092, allocations: 0.5508 MB / 0.5813 GB, free: 15.19 MB / 458.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.001996/0.4112, allocations: 0.8785 MB / 0.5822 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000458/0.4117, allocations: 0.5164 MB / 0.5827 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.4121, allocations: 0.5143 MB / 0.5832 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.251e-05/0.4122, allocations: 51.98 kB / 0.5833 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/0.4122, allocations: 4 kB / 0.5833 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.4122, allocations: 11.95 kB / 0.5833 GB, free: 13.19 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.4232, allocations: 8.64 MB / 0.5917 GB, free: 4.195 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.4233, allocations: 12 kB / 0.5917 GB, free: 4.184 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000938/0.4242, allocations: 428.2 kB / 0.5921 GB, free: 3.766 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.898e-05/0.4242, allocations: 24 kB / 0.5922 GB, free: 3.742 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.4243, allocations: 59.98 kB / 0.5922 GB, free: 3.684 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.62e-05/0.4243, allocations: 31.92 kB / 0.5922 GB, free: 3.652 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/0.4243, allocations: 26.81 kB / 0.5923 GB, free: 3.629 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/0.4272, allocations: 2.657 MB / 0.5949 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/0.4276, allocations: 460.2 kB / 0.5953 GB, free: 216 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/0.4279, allocations: 59.97 kB / 0.5954 GB, free: 156 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007073/0.4286, allocations: 123.8 kB / 0.5955 GB, free: 32 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.4288, allocations: 184.8 kB / 0.5957 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.4289, allocations: 104 kB / 0.5958 GB, free: 15.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002019/0.4309, allocations: 1.969 MB / 0.5977 GB, free: 13.78 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4309, allocations: 0 / 0.5977 GB, free: 13.78 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005105/0.436, allocations: 2.036 MB / 0.5997 GB, free: 11.74 MB / 474.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.0004542/0.4365, allocations: 202.5 kB / 0.5999 GB, free: 11.53 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006138/0.4426, allocations: 4.222 MB / 0.604 GB, free: 7.344 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.4426, allocations: 0 / 0.604 GB, free: 7.344 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009955/0.4436, allocations: 0.8838 MB / 0.6048 GB, free: 6.461 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.4451, allocations: 450.4 kB / 0.6053 GB, free: 6.023 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1711/0.6162, allocations: 13.04 MB / 0.618 GB, free: 133.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00195/0.6182, allocations: 2.165 MB / 0.6201 GB, free: 133 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00423/0.6224, allocations: 2.909 MB / 0.623 GB, free: 132.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006679/0.6231, allocations: 346.4 kB / 0.6233 GB, free: 132.9 MB / 474.7 MB Notification: Performance of SimCode: time 2.395e-06/0.6231, allocations: 0 / 0.6233 GB, free: 132.9 MB / 474.7 MB Notification: Performance of Templates: time 0.05296/0.6761, allocations: 29.05 MB / 0.6517 GB, free: 126.8 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.8805473279207945]