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.001529/0.001529, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001689/0.001689, allocations: 164.4 kB / 24.91 MB, free: 8.719 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 0.9697/0.9697, allocations: 177 MB / 205.2 MB, free: 5.055 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.2557/0.2557, allocations: 34.86 MB / 296.6 MB, free: 472 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.342e-06/1.342e-06, allocations: 0 / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.627e-05, allocations: 2.312 kB / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01166/0.01169, allocations: 15.82 MB / 341.8 MB, free: 7.262 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007961/0.01965, allocations: 4.053 MB / 345.8 MB, free: 3.195 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.02194, allocations: 111.6 kB / 345.9 MB, free: 3.086 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003372/0.02531, allocations: 2.3 MB / 348.2 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005448/0.03076, allocations: 2.66 MB / 350.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008382/0.0316, allocations: 359.2 kB / 351.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007944/0.03954, allocations: 6.465 MB / 357.7 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004308/0.04385, allocations: 3.321 MB / 361 MB, free: 3.891 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004704/0.04855, allocations: 3.121 MB / 364.1 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003822/0.05237, allocations: 2.782 MB / 366.9 MB, free: 13.97 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009285/0.0533, allocations: 388 kB / 367.3 MB, free: 13.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.05483, allocations: 0.8505 MB / 368.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002281/0.05711, allocations: 2.921 MB / 371.1 MB, free: 9.809 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002157/0.05927, allocations: 1.65 MB / 372.7 MB, free: 8.152 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007118/0.06639, allocations: 6.566 MB / 379.3 MB, free: 1.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.06639, allocations: 4 kB / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.06639, allocations: 0 / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002606/0.06666, allocations: 0 / 379.3 MB, free: 1.555 MB / 346.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.008718/0.07537, allocations: 6.585 MB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.07541, allocations: 8.031 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007295/0.08271, allocations: 2.521 MB / 388.4 MB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/0.08607, allocations: 2.521 MB / 390.9 MB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.08623, allocations: 328.3 kB / 391.2 MB, free: 5.457 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005614/0.08679, allocations: 420 kB / 391.7 MB, free: 5.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.09683, allocations: 8.018 MB / 399.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.614e-05/0.09691, allocations: 35.69 kB / 399.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004214/0.09734, allocations: 199.7 kB / 399.9 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003768/0.1011, allocations: 4.169 MB / 404.1 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009385/0.1105, allocations: 4.711 MB / 408.8 MB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2001/0.3105, allocations: 44.55 MB / 453.3 MB, free: 79.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006563/0.3171, allocations: 3.27 MB / 456.6 MB, free: 79.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.3181, allocations: 0.5506 MB / 457.2 MB, free: 79.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.3283, allocations: 6.456 MB / 463.6 MB, free: 78.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.3283, allocations: 53.19 kB / 463.7 MB, free: 78.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 6.352e-06/0.3283, allocations: 0 / 463.7 MB, free: 78.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.006757/0.3351, allocations: 3.447 MB / 467.1 MB, free: 78.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.3351, allocations: 99.48 kB / 467.2 MB, free: 78.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0032/0.3383, allocations: 3.822 MB / 471 MB, free: 77.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.3385, allocations: 65.41 kB / 471.1 MB, free: 77.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001589/0.3401, allocations: 5.106 MB / 476.2 MB, free: 73.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005768/0.3406, allocations: 1.221 MB / 477.4 MB, free: 72.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/0.3418, allocations: 1.753 MB / 479.2 MB, free: 71.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.047e-05/0.3419, allocations: 301.1 kB / 479.5 MB, free: 71.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.3429, allocations: 1.027 MB / 480.5 MB, free: 70.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002133/0.345, allocations: 6.198 MB / 486.7 MB, free: 61.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004597/0.3496, allocations: 8.29 MB / 495 MB, free: 51.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.737e-05/0.3497, allocations: 52 kB / 495 MB, free: 51.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.00586/0.3555, allocations: 6.008 MB / 0.4893 GB, free: 45.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.3556, allocations: 89.41 kB / 0.4894 GB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/0.3557, allocations: 192 kB / 0.4896 GB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001162/0.3558, allocations: 255.9 kB / 0.4898 GB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003148/0.359, allocations: 2.07 MB / 0.4918 GB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001611/0.3591, allocations: 378.5 kB / 0.4922 GB, free: 42.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/0.3623, allocations: 1.215 MB / 0.4934 GB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004145/0.3627, allocations: 484 kB / 0.4938 GB, free: 40.62 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.001795/0.3645, allocations: 0.8395 MB / 0.4947 GB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/0.3648, allocations: 287.7 kB / 0.4949 GB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.3652, allocations: 0.5066 MB / 0.4954 GB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.81e-05/0.3652, allocations: 63.91 kB / 0.4955 GB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.389e-05/0.3653, allocations: 4 kB / 0.4955 GB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.3653, allocations: 7.969 kB / 0.4955 GB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00664/0.3719, allocations: 5.526 MB / 0.5009 GB, free: 33.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.3719, allocations: 18.75 kB / 0.5009 GB, free: 33.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008757/0.3728, allocations: 368.3 kB / 0.5013 GB, free: 32.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/0.3728, allocations: 20 kB / 0.5013 GB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.672e-05/0.3729, allocations: 63.98 kB / 0.5013 GB, free: 32.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/0.3729, allocations: 27.92 kB / 0.5014 GB, free: 32.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.3729, allocations: 27.81 kB / 0.5014 GB, free: 32.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.3743, allocations: 1.843 MB / 0.5032 GB, free: 30.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004357/0.3747, allocations: 452.2 kB / 0.5036 GB, free: 30.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000292/0.375, allocations: 59.98 kB / 0.5037 GB, free: 30.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006425/0.3757, allocations: 51.98 kB / 0.5037 GB, free: 29.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.3759, allocations: 176.7 kB / 0.5039 GB, free: 29.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.376, allocations: 79.98 kB / 0.504 GB, free: 29.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001078/0.3771, allocations: 1.488 MB / 0.5054 GB, free: 28.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3771, allocations: 0 / 0.5054 GB, free: 28.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004697/0.3818, allocations: 2.036 MB / 0.5074 GB, free: 26.21 MB / 410.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.000388/0.3821, allocations: 187.7 kB / 0.5076 GB, free: 26.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00384/0.386, allocations: 3.568 MB / 0.5111 GB, free: 22.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001837/0.3862, allocations: 116.2 kB / 0.5112 GB, free: 22.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007092/0.3869, allocations: 0.6824 MB / 0.5119 GB, free: 21.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.3884, allocations: 433 kB / 0.5123 GB, free: 21.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.4042, allocations: 13.31 MB / 0.5253 GB, free: 7.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/0.406, allocations: 2.133 MB / 0.5274 GB, free: 5.496 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002088/0.408, allocations: 0.7748 MB / 0.5281 GB, free: 4.719 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009427/0.409, allocations: 0.7102 MB / 0.5288 GB, free: 4.008 MB / 410.7 MB Notification: Performance of SimCode: time 1.983e-06/0.409, allocations: 4 kB / 0.5288 GB, free: 4.004 MB / 410.7 MB Notification: Performance of Templates: time 0.05864/0.4676, allocations: 32.86 MB / 0.5609 GB, free: 3.586 MB / 442.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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.1599826398305595]