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.001528/0.001528, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001785/0.001785, allocations: 160.5 kB / 24.55 MB, free: 16 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.9852/0.9852, allocations: 177 MB / 204.8 MB, free: 5.57 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.2691/0.2691, allocations: 34.86 MB / 296.3 MB, free: 0.4922 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.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 2.284e-06/2.284e-06, allocations: 0 / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.256e-05, allocations: 3.016 kB / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009248/0.009281, allocations: 7.274 MB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.02143, allocations: 3.282 MB / 389.3 MB, free: 7.512 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008179/0.02225, allocations: 35.88 kB / 389.3 MB, free: 7.477 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.02381, allocations: 0.8559 MB / 390.2 MB, free: 6.617 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005614/0.02943, allocations: 1.377 MB / 391.6 MB, free: 5.234 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004021/0.03345, allocations: 0.5728 MB / 392.1 MB, free: 4.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005851/0.0393, allocations: 2.954 MB / 395.1 MB, free: 1.703 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/0.04091, allocations: 1.471 MB / 396.5 MB, free: 220 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00443/0.04534, allocations: 1.247 MB / 397.8 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.04697, allocations: 1.282 MB / 399.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002665/0.04723, allocations: 144 kB / 399.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004275/0.05151, allocations: 0.8734 MB / 400.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008463/0.05236, allocations: 1.075 MB / 401.2 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007071/0.05306, allocations: 0.65 MB / 401.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005979/0.05904, allocations: 2.817 MB / 404.6 MB, free: 8.105 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.05905, allocations: 0 / 404.6 MB, free: 8.105 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.05905, allocations: 0 / 404.6 MB, free: 8.105 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.039e-05/0.0591, allocations: 4 kB / 404.6 MB, free: 8.102 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.004529/0.06363, allocations: 3.253 MB / 407.9 MB, free: 4.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.06366, allocations: 8.031 kB / 407.9 MB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003731/0.0674, allocations: 2 MB / 409.9 MB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.06884, allocations: 1.199 MB / 411.1 MB, free: 1.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.44e-05/0.06891, allocations: 123.3 kB / 411.2 MB, free: 1.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002374/0.06915, allocations: 160.2 kB / 411.4 MB, free: 1.273 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004457/0.0736, allocations: 3.959 MB / 415.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-05/0.07367, allocations: 31.7 kB / 415.4 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/0.07388, allocations: 83.89 kB / 415.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001471/0.07535, allocations: 1.386 MB / 416.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004047/0.0794, allocations: 2.032 MB / 418.9 MB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1847/0.2641, allocations: 31.13 MB / 450 MB, free: 67.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.2658, allocations: 0.7982 MB / 450.8 MB, free: 67.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.2661, allocations: 261.7 kB / 451 MB, free: 67.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00256/0.2687, allocations: 2.445 MB / 453.5 MB, free: 66.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.2687, allocations: 46.27 kB / 453.5 MB, free: 66.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=79): time 3.997e-06/0.2687, allocations: 0 / 453.5 MB, free: 66.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=86): time 0.005516/0.2742, allocations: 3.576 MB / 457.1 MB, free: 64.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.2743, allocations: 137.6 kB / 457.2 MB, free: 64.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/0.2766, allocations: 2.573 MB / 459.8 MB, free: 64.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.2767, allocations: 39.17 kB / 459.9 MB, free: 64.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009291/0.2776, allocations: 2.404 MB / 462.3 MB, free: 62.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.2779, allocations: 395.8 kB / 462.6 MB, free: 62.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007173/0.2786, allocations: 0.9646 MB / 463.6 MB, free: 62.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.2787, allocations: 0.5256 MB / 464.1 MB, free: 61.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006583/0.2793, allocations: 410.3 kB / 464.5 MB, free: 61.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.2811, allocations: 4.82 MB / 469.4 MB, free: 56.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00337/0.2845, allocations: 5.763 MB / 475.1 MB, free: 49.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.468e-05/0.2846, allocations: 31.75 kB / 475.2 MB, free: 49.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.004927/0.2895, allocations: 3.745 MB / 478.9 MB, free: 48.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.754e-05/0.2896, allocations: 48.5 kB / 478.9 MB, free: 48.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/0.2897, allocations: 110 kB / 479.1 MB, free: 48.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.2899, allocations: 141.3 kB / 479.2 MB, free: 48.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.2918, allocations: 1.038 MB / 480.2 MB, free: 48.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001235/0.2919, allocations: 210.5 kB / 480.4 MB, free: 48.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.294, allocations: 285.3 kB / 480.7 MB, free: 48.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/0.2942, allocations: 279.7 kB / 481 MB, free: 48.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 486 * 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 (551): * Single equations (assignments): 548 * 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.0008333/0.2951, allocations: 0.5317 MB / 481.5 MB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000363/0.2954, allocations: 242.9 kB / 481.8 MB, free: 47.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005676/0.296, allocations: 408.8 kB / 482.2 MB, free: 47.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.296, allocations: 12.44 kB / 482.2 MB, free: 47.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.296, allocations: 0 / 482.2 MB, free: 47.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.296, allocations: 6.453 kB / 482.2 MB, free: 47.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/0.2995, allocations: 2.441 MB / 484.6 MB, free: 46.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.2995, allocations: 3.125 kB / 484.6 MB, free: 46.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.2998, allocations: 135.5 kB / 484.8 MB, free: 46.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/0.2998, allocations: 6.125 kB / 484.8 MB, free: 46.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.2999, allocations: 20.41 kB / 484.8 MB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.2999, allocations: 10.28 kB / 484.8 MB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.2999, allocations: 10.09 kB / 484.8 MB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3009, allocations: 1.283 MB / 486.1 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.3012, allocations: 212.3 kB / 486.3 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.3014, allocations: 16.94 kB / 486.3 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.3018, allocations: 68.53 kB / 486.4 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.3019, allocations: 55.59 kB / 486.4 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.3019, allocations: 30.97 kB / 486.5 MB, free: 45.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00129/0.3032, allocations: 1.084 MB / 487.5 MB, free: 44.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3032, allocations: 0 / 487.5 MB, free: 44.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002968/0.3062, allocations: 0.6158 MB / 488.2 MB, free: 44.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (64): * Single equations (assignments): 61 * 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.000334/0.3065, allocations: 165.6 kB / 488.3 MB, free: 44.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003216/0.3097, allocations: 1.825 MB / 490.1 MB, free: 43.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.3098, allocations: 0 / 490.1 MB, free: 43.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.31, allocations: 229.8 kB / 490.4 MB, free: 43.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.3111, allocations: 253.8 kB / 490.6 MB, free: 43.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00681/0.3179, allocations: 4.337 MB / 495 MB, free: 41.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008184/0.3188, allocations: 0.7305 MB / 495.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002025/0.3208, allocations: 1.184 MB / 496.9 MB, free: 40.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.3211, allocations: 153 kB / 497 MB, free: 40.92 MB / 410.7 MB Notification: Performance of SimCode: time 2.745e-06/0.3211, allocations: 0 / 497 MB, free: 40.92 MB / 410.7 MB Notification: Performance of Templates: time 0.02579/0.3469, allocations: 14.45 MB / 0.4995 GB, free: 38.45 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: 3.8970128018409014]