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.001272/0.001272, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001405/0.001405, 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.9399/0.9399, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1296/0.1296, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.004e-06/2.004e-06, allocations: 0 / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.099e-05, allocations: 2.312 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01071/0.01074, allocations: 16.35 MB / 364 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008108/0.01885, allocations: 3.809 MB / 367.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003224/0.02208, allocations: 115.6 kB / 368 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003812/0.02589, allocations: 2.315 MB / 370.3 MB, free: 2.746 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005089/0.03098, allocations: 2.683 MB / 373 MB, free: 52 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007735/0.03175, allocations: 339.3 kB / 373.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007393/0.03914, allocations: 6.485 MB / 379.8 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004355/0.0435, allocations: 3.2 MB / 383 MB, free: 5.977 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004712/0.04821, allocations: 3.137 MB / 386.1 MB, free: 2.832 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003558/0.05177, allocations: 2.945 MB / 389.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007825/0.05255, allocations: 388 kB / 389.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.0546, allocations: 0.831 MB / 390.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002373/0.05697, allocations: 2.979 MB / 393.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.05862, allocations: 1.693 MB / 394.9 MB, free: 9.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004967/0.06359, allocations: 6.667 MB / 401.6 MB, free: 3.285 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.06359, allocations: 0 / 401.6 MB, free: 3.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.06359, allocations: 4 kB / 401.6 MB, free: 3.281 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.285e-05/0.06365, allocations: 0 / 401.6 MB, free: 3.281 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.006831/0.07049, allocations: 7.833 MB / 409.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.07053, allocations: 16.03 kB / 409.5 MB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.0814, allocations: 6.817 MB / 416.3 MB, free: 4.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006067/0.08747, allocations: 3.078 MB / 419.4 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.08768, allocations: 320.3 kB / 419.7 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/0.08872, allocations: 420 kB / 420.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01588/0.1046, allocations: 9.39 MB / 429.5 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-05/0.1047, allocations: 39.62 kB / 429.5 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000675/0.1054, allocations: 203.7 kB / 429.7 MB, free: 6.016 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00473/0.1101, allocations: 4.742 MB / 434.5 MB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/0.1272, allocations: 5.67 MB / 440.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.215/0.3422, allocations: 60.18 MB / 0.4886 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00649/0.3487, allocations: 3.491 MB / 0.492 GB, free: 30.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.3498, allocations: 0.7516 MB / 0.4927 GB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009337/0.3591, allocations: 7.334 MB / 0.4999 GB, free: 28.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.3591, allocations: 57.52 kB / 0.4999 GB, free: 28.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=321): time 4.859e-06/0.3592, allocations: 0 / 0.4999 GB, free: 28.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=321): time 0.007655/0.3668, allocations: 4.21 MB / 0.5041 GB, free: 27.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.3668, allocations: 105.6 kB / 0.5042 GB, free: 27.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004474/0.3713, allocations: 4.999 MB / 0.509 GB, free: 23.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.3714, allocations: 60.75 kB / 0.5091 GB, free: 23.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.3732, allocations: 5.545 MB / 0.5145 GB, free: 18.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005375/0.3737, allocations: 1.307 MB / 0.5158 GB, free: 16.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/0.3751, allocations: 2.096 MB / 0.5178 GB, free: 14.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.132e-05/0.3751, allocations: 478.2 kB / 0.5183 GB, free: 14.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.3764, allocations: 0.9981 MB / 0.5193 GB, free: 13.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003308/0.3797, allocations: 9.069 MB / 0.5281 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008351/0.3881, allocations: 11.12 MB / 0.539 GB, free: 2.754 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-05/0.3881, allocations: 56 kB / 0.539 GB, free: 2.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.009486/0.3976, allocations: 7.744 MB / 0.5466 GB, free: 11.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.81e-05/0.3977, allocations: 88 kB / 0.5467 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/0.3978, allocations: 192 kB / 0.5469 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.398, allocations: 252 kB / 0.5471 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003899/0.4019, allocations: 2.078 MB / 0.5491 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001991/0.4021, allocations: 374.5 kB / 0.5495 GB, free: 8.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00412/0.4062, allocations: 1.286 MB / 0.5507 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006425/0.4069, allocations: 0.5553 MB / 0.5513 GB, free: 6.625 MB / 410.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.002138/0.409, allocations: 0.8748 MB / 0.5521 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005542/0.4096, allocations: 0.5099 MB / 0.5526 GB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006108/0.4102, allocations: 0.5105 MB / 0.5531 GB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.325e-05/0.4102, allocations: 58.56 kB / 0.5532 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.763e-05/0.4103, allocations: 7.938 kB / 0.5532 GB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.4103, allocations: 15.95 kB / 0.5532 GB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/0.4234, allocations: 8.662 MB / 0.5617 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.4234, allocations: 12 kB / 0.5617 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.4247, allocations: 423.3 kB / 0.5621 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-05/0.4247, allocations: 20.75 kB / 0.5621 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.4248, allocations: 66.33 kB / 0.5622 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.57e-05/0.4248, allocations: 35.88 kB / 0.5622 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.507e-05/0.4249, allocations: 23.88 kB / 0.5622 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003404/0.4283, allocations: 2.655 MB / 0.5648 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/0.4287, allocations: 465.6 kB / 0.5653 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003263/0.429, allocations: 52 kB / 0.5653 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.4301, allocations: 127 kB / 0.5654 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.4303, allocations: 180.7 kB / 0.5656 GB, free: 7.348 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/0.4305, allocations: 107.8 kB / 0.5657 GB, free: 7.246 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002544/0.433, allocations: 1.973 MB / 0.5676 GB, free: 5.277 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.433, allocations: 4 kB / 0.5676 GB, free: 5.273 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005925/0.439, allocations: 2.069 MB / 0.5697 GB, free: 3.207 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.0004156/0.4394, allocations: 207 kB / 0.5699 GB, free: 3.004 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006112/0.4455, allocations: 4.235 MB / 0.574 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4455, allocations: 5.641 kB / 0.574 GB, free: 14.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.4467, allocations: 0.8711 MB / 0.5749 GB, free: 13.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.4484, allocations: 446.1 kB / 0.5753 GB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/0.4661, allocations: 13.05 MB / 0.588 GB, free: 80 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/0.4682, allocations: 2.172 MB / 0.5901 GB, free: 13.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004143/0.4724, allocations: 2.913 MB / 0.593 GB, free: 10.95 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006038/0.473, allocations: 348.4 kB / 0.5933 GB, free: 10.61 MB / 458.7 MB Notification: Performance of SimCode: time 2.225e-06/0.473, allocations: 4 kB / 0.5933 GB, free: 10.61 MB / 458.7 MB Notification: Performance of Templates: time 0.1933/0.6662, allocations: 29.02 MB / 0.6217 GB, free: 137.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.833140518981963]