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.001423/0.001423, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001312/0.001312, allocations: 166.8 kB / 24.82 MB, free: 9.305 MB / 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.022/1.022, allocations: 177 MB / 205.1 MB, free: 5.473 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.3159/0.3159, allocations: 34.87 MB / 296.6 MB, free: 460 kB / 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.653e-06/1.653e-06, allocations: 0 / 379.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.219e-05, allocations: 2.312 kB / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.011/0.01102, allocations: 15.76 MB / 395 MB, free: 2.004 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006768/0.01779, allocations: 3.866 MB / 398.8 MB, free: 14.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.01892, allocations: 111.6 kB / 399 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00269/0.02161, allocations: 2.3 MB / 401.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003402/0.02502, allocations: 2.676 MB / 403.9 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.02552, allocations: 347.2 kB / 404.3 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005579/0.0311, allocations: 6.662 MB / 410.9 MB, free: 2.008 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002906/0.03401, allocations: 3.196 MB / 414.1 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002781/0.03679, allocations: 3.129 MB / 417.3 MB, free: 11.63 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002425/0.03921, allocations: 2.941 MB / 420.2 MB, free: 8.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004893/0.0397, allocations: 388 kB / 420.6 MB, free: 8.301 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.04114, allocations: 0.8349 MB / 421.4 MB, free: 7.465 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001516/0.04266, allocations: 2.921 MB / 424.3 MB, free: 4.535 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.04382, allocations: 1.654 MB / 426 MB, free: 2.875 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004944/0.04877, allocations: 6.577 MB / 432.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.04877, allocations: 0 / 432.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.04877, allocations: 0 / 432.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001031/0.04887, allocations: 0 / 432.6 MB, free: 12.27 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.007196/0.05607, allocations: 7.641 MB / 440.2 MB, free: 4.543 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.05612, allocations: 12.03 kB / 440.2 MB, free: 4.531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007326/0.06344, allocations: 3.285 MB / 443.5 MB, free: 1.238 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1893/0.2527, allocations: 2.822 MB / 446.3 MB, free: 74.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/0.253, allocations: 322 kB / 446.6 MB, free: 74.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/0.2544, allocations: 416.1 kB / 447 MB, free: 74.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/0.2691, allocations: 8.576 MB / 455.6 MB, free: 71.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-05/0.2691, allocations: 33.53 kB / 455.6 MB, free: 71.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004583/0.2696, allocations: 204.8 kB / 455.8 MB, free: 71.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003605/0.2732, allocations: 4.167 MB / 460 MB, free: 71.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/0.288, allocations: 4.594 MB / 464.6 MB, free: 71.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06894/0.3569, allocations: 58.79 MB / 0.5111 GB, free: 29.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008942/0.3659, allocations: 3.264 MB / 0.5143 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.3673, allocations: 0.6468 MB / 0.5149 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/0.3795, allocations: 6.91 MB / 0.5217 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/0.3795, allocations: 63.33 kB / 0.5218 GB, free: 24.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 8.156e-06/0.3795, allocations: 0 / 0.5218 GB, free: 24.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.008029/0.3876, allocations: 3.963 MB / 0.5256 GB, free: 21.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.3876, allocations: 99.11 kB / 0.5257 GB, free: 20.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005672/0.3933, allocations: 4.855 MB / 0.5305 GB, free: 17.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000333/0.3936, allocations: 65.61 kB / 0.5305 GB, free: 17.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002945/0.3966, allocations: 5.55 MB / 0.5359 GB, free: 12.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001039/0.3976, allocations: 1.318 MB / 0.5372 GB, free: 11.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001537/0.3991, allocations: 2.106 MB / 0.5393 GB, free: 9.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.3992, allocations: 482.6 kB / 0.5397 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009402/0.4001, allocations: 0.7794 MB / 0.5405 GB, free: 8.312 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003714/0.4038, allocations: 8.888 MB / 0.5492 GB, free: 12.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008808/0.4126, allocations: 10.84 MB / 0.5598 GB, free: 14.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001833/0.4128, allocations: 60 kB / 0.5598 GB, free: 14 MB / 442.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01398/0.4268, allocations: 7.189 MB / 0.5668 GB, free: 6.832 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.4269, allocations: 84 kB / 0.5669 GB, free: 6.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002194/0.4271, allocations: 192 kB / 0.5671 GB, free: 6.562 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/0.4273, allocations: 252 kB / 0.5674 GB, free: 6.316 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004684/0.432, allocations: 2 MB / 0.5693 GB, free: 4.312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003401/0.4323, allocations: 371.2 kB / 0.5697 GB, free: 3.949 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005506/0.4379, allocations: 1.206 MB / 0.5708 GB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/0.439, allocations: 487.3 kB / 0.5713 GB, free: 2.273 MB / 442.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.002965/0.4419, allocations: 0.874 MB / 0.5722 GB, free: 1.387 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006408/0.4426, allocations: 0.52 MB / 0.5727 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005827/0.4432, allocations: 0.5066 MB / 0.5732 GB, free: 364 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.029e-05/0.4432, allocations: 59.98 kB / 0.5732 GB, free: 304 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.4432, allocations: 0 / 0.5732 GB, free: 304 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.4432, allocations: 15.95 kB / 0.5732 GB, free: 288 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.4546, allocations: 6.356 MB / 0.5794 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.4547, allocations: 12.97 kB / 0.5795 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.4557, allocations: 351.5 kB / 0.5798 GB, free: 9.797 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.332e-05/0.4557, allocations: 20 kB / 0.5798 GB, free: 9.777 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.4558, allocations: 67.92 kB / 0.5799 GB, free: 9.711 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.212e-05/0.4558, allocations: 27.88 kB / 0.5799 GB, free: 9.684 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/0.4558, allocations: 19.94 kB / 0.5799 GB, free: 9.664 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/0.4588, allocations: 2.522 MB / 0.5824 GB, free: 6.832 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007529/0.4596, allocations: 456.2 kB / 0.5828 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002934/0.4599, allocations: 55.94 kB / 0.5829 GB, free: 6.328 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007117/0.4606, allocations: 47.98 kB / 0.5829 GB, free: 6.281 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/0.4608, allocations: 194.8 kB / 0.5831 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.4609, allocations: 88.09 kB / 0.5832 GB, free: 6.008 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002011/0.4629, allocations: 1.812 MB / 0.585 GB, free: 4.199 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4629, allocations: 0 / 0.585 GB, free: 4.199 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007325/0.4702, allocations: 2.035 MB / 0.5869 GB, free: 2.164 MB / 458.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.0006012/0.4708, allocations: 194.6 kB / 0.5871 GB, free: 1.965 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008766/0.4796, allocations: 3.949 MB / 0.591 GB, free: 14.05 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/0.4796, allocations: 0.9375 kB / 0.591 GB, free: 14.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.481, allocations: 0.809 MB / 0.5918 GB, free: 13.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.483, allocations: 442.3 kB / 0.5922 GB, free: 12.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1591/0.6421, allocations: 13 MB / 0.6049 GB, free: 134.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003472/0.6456, allocations: 2.167 MB / 0.607 GB, free: 134.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002608/0.6482, allocations: 0.7683 MB / 0.6078 GB, free: 134.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/0.6494, allocations: 0.736 MB / 0.6085 GB, free: 134.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6494, allocations: 4 kB / 0.6085 GB, free: 134.1 MB / 474.7 MB Notification: Performance of Templates: time 0.06293/0.7123, allocations: 32.95 MB / 0.6407 GB, free: 128 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.9382294323295355]