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.0009995/0.0009995, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001854/0.001854, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9986/0.9986, allocations: 177 MB / 204.8 MB, free: 5.578 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.2945/0.2945, allocations: 34.86 MB / 296.3 MB, free: 0.5195 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.863e-06/1.863e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.816e-05, allocations: 12.92 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01209/0.01212, allocations: 16.2 MB / 395 MB, free: 1.801 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007245/0.01937, allocations: 3.894 MB / 398.9 MB, free: 13.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002286/0.02165, allocations: 119.5 kB / 399 MB, free: 13.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002861/0.02451, allocations: 2.315 MB / 401.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004382/0.0289, allocations: 2.676 MB / 404 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.02949, allocations: 335.3 kB / 404.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006871/0.03636, allocations: 6.661 MB / 411 MB, free: 1.766 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004208/0.04057, allocations: 3.208 MB / 414.2 MB, free: 14.51 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004429/0.045, allocations: 3.11 MB / 417.3 MB, free: 11.39 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003351/0.04835, allocations: 2.934 MB / 420.2 MB, free: 8.453 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.04949, allocations: 392 kB / 420.6 MB, free: 8.07 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.05124, allocations: 0.8272 MB / 421.4 MB, free: 7.242 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002392/0.05364, allocations: 2.917 MB / 424.3 MB, free: 4.316 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002498/0.05613, allocations: 1.661 MB / 426 MB, free: 2.648 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00748/0.06361, allocations: 6.573 MB / 432.6 MB, free: 12.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.06362, allocations: 0 / 432.6 MB, free: 12.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.06362, allocations: 0 / 432.6 MB, free: 12.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000303/0.06392, allocations: 0 / 432.6 MB, free: 12.05 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.009638/0.07356, allocations: 7.756 MB / 440.3 MB, free: 4.211 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.07361, allocations: 12.03 kB / 440.3 MB, free: 4.199 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1599/0.2335, allocations: 6.824 MB / 447.2 MB, free: 92.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004847/0.2384, allocations: 3.162 MB / 450.3 MB, free: 92.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.2385, allocations: 325.7 kB / 450.6 MB, free: 92.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008546/0.2394, allocations: 421.9 kB / 451.1 MB, free: 92.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/0.2526, allocations: 9.382 MB / 460.4 MB, free: 89.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.2527, allocations: 35.47 kB / 460.5 MB, free: 89.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006137/0.2533, allocations: 209.1 kB / 460.7 MB, free: 89.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004116/0.2575, allocations: 4.757 MB / 465.4 MB, free: 88.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.2724, allocations: 5.673 MB / 471.1 MB, free: 87.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05257/0.3249, allocations: 60.17 MB / 0.5188 GB, free: 38.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006923/0.3319, allocations: 3.491 MB / 0.5222 GB, free: 34.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.3332, allocations: 0.7499 MB / 0.523 GB, free: 34.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009261/0.3425, allocations: 7.334 MB / 0.5301 GB, free: 26.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.3425, allocations: 62.33 kB / 0.5302 GB, free: 26.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 5.641e-06/0.3425, allocations: 0 / 0.5302 GB, free: 26.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.008012/0.3506, allocations: 4.207 MB / 0.5343 GB, free: 22.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.3506, allocations: 103.1 kB / 0.5344 GB, free: 22.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004275/0.3549, allocations: 4.93 MB / 0.5392 GB, free: 17.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.355, allocations: 65.53 kB / 0.5393 GB, free: 17.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001812/0.3568, allocations: 5.537 MB / 0.5447 GB, free: 12.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007634/0.3576, allocations: 1.31 MB / 0.546 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001554/0.3592, allocations: 2.097 MB / 0.548 GB, free: 8.652 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.482e-05/0.3592, allocations: 476.8 kB / 0.5485 GB, free: 8.184 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.3607, allocations: 0.9981 MB / 0.5494 GB, free: 7.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004824/0.3655, allocations: 9.065 MB / 0.5583 GB, free: 10.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009509/0.3751, allocations: 11.12 MB / 0.5691 GB, free: 11.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001917/0.3752, allocations: 55.94 kB / 0.5692 GB, free: 11.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01424/0.3895, allocations: 7.755 MB / 0.5768 GB, free: 3.906 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.3896, allocations: 88 kB / 0.5769 GB, free: 3.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002399/0.3899, allocations: 188 kB / 0.577 GB, free: 3.637 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002342/0.3901, allocations: 260 kB / 0.5773 GB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005319/0.3954, allocations: 2.07 MB / 0.5793 GB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003071/0.3957, allocations: 378.5 kB / 0.5797 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005072/0.4008, allocations: 1.288 MB / 0.5809 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/0.4019, allocations: 0.5507 MB / 0.5815 GB, free: 15.09 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.002458/0.4044, allocations: 0.8824 MB / 0.5823 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006792/0.405, allocations: 0.5126 MB / 0.5828 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000634/0.4057, allocations: 0.5066 MB / 0.5833 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.55e-05/0.4058, allocations: 59.97 kB / 0.5834 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.4058, allocations: 0 / 0.5834 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.4058, allocations: 11.97 kB / 0.5834 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/0.4205, allocations: 8.64 MB / 0.5918 GB, free: 4.102 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.4205, allocations: 16 kB / 0.5918 GB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.4219, allocations: 419.3 kB / 0.5922 GB, free: 3.676 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.671e-05/0.4219, allocations: 27.94 kB / 0.5923 GB, free: 3.652 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.422, allocations: 64.67 kB / 0.5923 GB, free: 3.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.223e-05/0.4221, allocations: 27.92 kB / 0.5924 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-05/0.4221, allocations: 27.88 kB / 0.5924 GB, free: 3.535 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00368/0.4258, allocations: 2.661 MB / 0.595 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007841/0.4265, allocations: 456.2 kB / 0.5954 GB, free: 120 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000462/0.427, allocations: 55.98 kB / 0.5955 GB, free: 64 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.4281, allocations: 131.8 kB / 0.5956 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/0.4284, allocations: 184.7 kB / 0.5958 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/0.4286, allocations: 96 kB / 0.5959 GB, free: 15.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002795/0.4314, allocations: 1.969 MB / 0.5978 GB, free: 13.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4314, allocations: 4 kB / 0.5978 GB, free: 13.69 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009153/0.4405, allocations: 2.032 MB / 0.5998 GB, free: 11.65 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.0005154/0.441, allocations: 210.5 kB / 0.6 GB, free: 11.43 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007791/0.4488, allocations: 4.22 MB / 0.6041 GB, free: 7.246 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.4488, allocations: 0 / 0.6041 GB, free: 7.246 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.4501, allocations: 0.8789 MB / 0.605 GB, free: 6.367 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.4521, allocations: 450.3 kB / 0.6054 GB, free: 5.934 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1613/0.6134, allocations: 13.04 MB / 0.6181 GB, free: 133.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002984/0.6163, allocations: 2.165 MB / 0.6202 GB, free: 133.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00695/0.6233, allocations: 2.905 MB / 0.6231 GB, free: 133 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/0.6247, allocations: 352.2 kB / 0.6234 GB, free: 133 MB / 474.7 MB Notification: Performance of SimCode: time 2.695e-06/0.6247, allocations: 0 / 0.6234 GB, free: 133 MB / 474.7 MB Notification: Performance of Templates: time 0.05624/0.6809, allocations: 30.14 MB / 0.6528 GB, free: 126.3 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.812885096296668]