Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.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.001119/0.001119, allocations: 87.67 kB / 21.2 MB, free: 3.367 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.001299/0.001299, allocations: 156.5 kB / 24.55 MB, free: 12 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.039/1.039, allocations: 177 MB / 204.8 MB, free: 5.59 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.2654/0.2654, allocations: 34.85 MB / 296.3 MB, free: 468 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.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 378.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.836e-05, allocations: 2.312 kB / 378.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009745/0.009774, allocations: 7.259 MB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007267/0.01704, allocations: 3.294 MB / 389.3 MB, free: 7.496 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.01816, allocations: 35.88 kB / 389.3 MB, free: 7.461 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.02041, allocations: 0.8481 MB / 390.2 MB, free: 6.609 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004073/0.02448, allocations: 1.381 MB / 391.6 MB, free: 5.223 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.02591, allocations: 0.5727 MB / 392.1 MB, free: 4.648 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003894/0.02981, allocations: 2.958 MB / 395.1 MB, free: 1.688 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002404/0.03221, allocations: 1.459 MB / 396.5 MB, free: 216 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/0.03455, allocations: 1.22 MB / 397.8 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/0.03691, allocations: 1.309 MB / 399.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005379/0.03744, allocations: 140 kB / 399.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.03921, allocations: 0.8773 MB / 400.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.04023, allocations: 1.079 MB / 401.2 MB, free: 11.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.04146, allocations: 0.6539 MB / 401.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004302/0.04576, allocations: 2.817 MB / 404.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.04577, allocations: 0 / 404.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.04577, allocations: 0 / 404.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001023/0.04587, allocations: 4 kB / 404.6 MB, free: 8.09 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.006364/0.05223, allocations: 3.25 MB / 407.9 MB, free: 4.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.05228, allocations: 12.03 kB / 407.9 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005826/0.05811, allocations: 1.996 MB / 409.9 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.06091, allocations: 1.167 MB / 411.1 MB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.06103, allocations: 123.4 kB / 411.2 MB, free: 1.453 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003848/0.06141, allocations: 164.3 kB / 411.3 MB, free: 1.293 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007002/0.06841, allocations: 3.971 MB / 415.3 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.808e-05/0.0685, allocations: 39.69 kB / 415.4 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002649/0.06877, allocations: 79.89 kB / 415.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002284/0.07105, allocations: 1.437 MB / 416.9 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006799/0.07785, allocations: 2.137 MB / 419 MB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.192/0.2698, allocations: 31.01 MB / 450 MB, free: 67.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.2719, allocations: 0.92 MB / 450.9 MB, free: 67.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004212/0.2723, allocations: 336.8 kB / 451.3 MB, free: 67.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.2724, allocations: 27.16 kB / 451.3 MB, free: 67.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2725, allocations: 46.88 kB / 451.3 MB, free: 67.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 4.698e-06/0.2725, allocations: 2.078 kB / 451.3 MB, free: 67.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.008389/0.2809, allocations: 4.853 MB / 456.2 MB, free: 66.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.2809, allocations: 143 kB / 456.3 MB, free: 65.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.2832, allocations: 2.493 MB / 458.8 MB, free: 65.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/0.2832, allocations: 47.05 kB / 458.9 MB, free: 65.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008397/0.2841, allocations: 2.326 MB / 461.2 MB, free: 64.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.2844, allocations: 493.4 kB / 461.7 MB, free: 63.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000755/0.2851, allocations: 0.9725 MB / 462.7 MB, free: 63.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.2852, allocations: 0.5298 MB / 463.2 MB, free: 63.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006764/0.2859, allocations: 466.7 kB / 463.6 MB, free: 63.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.2878, allocations: 4.72 MB / 468.4 MB, free: 57.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003591/0.2914, allocations: 5.704 MB / 474.1 MB, free: 51.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.008e-05/0.2915, allocations: 28.75 kB / 474.1 MB, free: 51.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.00476/0.2962, allocations: 3.814 MB / 477.9 MB, free: 50.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/0.2963, allocations: 46.56 kB / 477.9 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.196e-05/0.2964, allocations: 102.8 kB / 478 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.459e-05/0.2965, allocations: 138.7 kB / 478.2 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/0.2987, allocations: 1.224 MB / 479.4 MB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001434/0.2989, allocations: 198.1 kB / 479.6 MB, free: 50.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.3008, allocations: 284.2 kB / 479.9 MB, free: 50.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/0.3011, allocations: 280.9 kB / 480.2 MB, free: 50.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (557): * Single equations (assignments): 554 * Array equations: 3 * 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.0008341/0.3019, allocations: 0.5211 MB / 480.7 MB, free: 49.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/0.3022, allocations: 259.1 kB / 480.9 MB, free: 49.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008133/0.3031, allocations: 0.6316 MB / 481.6 MB, free: 49.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/0.3031, allocations: 15.16 kB / 481.6 MB, free: 49.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.3031, allocations: 3.156 kB / 481.6 MB, free: 49.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.3031, allocations: 3.141 kB / 481.6 MB, free: 49.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004682/0.3078, allocations: 3.241 MB / 484.8 MB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.3078, allocations: 4.875 kB / 484.8 MB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009524/0.3087, allocations: 360 kB / 485.2 MB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.386e-05/0.3087, allocations: 12 kB / 485.2 MB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.723e-05/0.3088, allocations: 26.17 kB / 485.2 MB, free: 47.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.3088, allocations: 15.34 kB / 485.2 MB, free: 47.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3088, allocations: 5.75 kB / 485.2 MB, free: 47.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.3104, allocations: 1.494 MB / 486.7 MB, free: 46.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/0.3108, allocations: 219.2 kB / 486.9 MB, free: 46.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.311, allocations: 23.75 kB / 487 MB, free: 46.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/0.3115, allocations: 92.23 kB / 487.1 MB, free: 46.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3116, allocations: 73.09 kB / 487.1 MB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.3117, allocations: 33.38 kB / 487.2 MB, free: 46.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001263/0.313, allocations: 1.05 MB / 488.2 MB, free: 46.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.313, allocations: 4 kB / 488.2 MB, free: 46.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002844/0.3158, allocations: 0.6693 MB / 488.9 MB, free: 46.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * 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.0003415/0.3162, allocations: 165.2 kB / 489 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003078/0.3192, allocations: 1.94 MB / 491 MB, free: 45.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.3192, allocations: 1.156 kB / 491 MB, free: 45.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.3197, allocations: 326.2 kB / 491.3 MB, free: 45.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.3209, allocations: 251.8 kB / 491.6 MB, free: 45.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006872/0.3277, allocations: 4.546 MB / 496.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006847/0.3284, allocations: 0.737 MB / 496.8 MB, free: 42.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001988/0.3304, allocations: 1.215 MB / 498.1 MB, free: 42.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004538/0.3309, allocations: 162.6 kB / 498.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of SimCode: time 2.074e-06/0.3309, allocations: 3.094 kB / 498.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of Templates: time 0.02923/0.3601, allocations: 18.03 MB / 0.5041 GB, free: 34.97 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.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.113126136828214]