Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.0017/0.0017, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.00212/0.00212, allocations: 213.9 kB / 24.48 MB, free: 3.938 MB / 14.72 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.497/1.497, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2681/0.2681, allocations: 46.95 MB / 361.5 MB, free: 3.941 MB / 286.1 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.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 79.88 kB / 0.4974 GB, free: 6.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3207, allocations: 66.09 MB / 0.562 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003232/0.3239, allocations: 1.71 MB / 0.5637 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.3266, allocations: 1.664 MB / 0.5653 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.633e-05/0.3267, allocations: 4 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.3269, allocations: 27.78 kB / 0.5653 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.3273, allocations: 103.5 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.3275, allocations: 79.72 kB / 0.5655 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.3277, allocations: 123.6 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.907e-05/0.3278, allocations: 8 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.973e-05/0.3279, allocations: 51.78 kB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.328, allocations: 43.77 kB / 0.5657 GB, free: 116 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.3281, allocations: 8 kB / 0.5657 GB, free: 108 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.3283, allocations: 103.9 kB / 0.5658 GB, free: 4 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.91e-05/0.3283, allocations: 20.05 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.3284, allocations: 35.78 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.3287, allocations: 177.8 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3287, allocations: 4 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3287, allocations: 3.938 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3287, allocations: 4 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005993/0.3293, allocations: 357.4 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3294, allocations: 12.03 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.3294, allocations: 8.891 kB / 0.5664 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.3297, allocations: 150.3 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.3297, allocations: 8.359 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.3298, allocations: 4.375 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.33, allocations: 113.3 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.33, allocations: 7.953 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.33, allocations: 3.984 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.33, allocations: 0 / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.3301, allocations: 35.97 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.3305, allocations: 236.5 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.3307, allocations: 82.55 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.792e-05/0.3308, allocations: 20.84 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.3308, allocations: 4 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.331, allocations: 79.38 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.331, allocations: 0 / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006263/0.3316, allocations: 217.4 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.3317, allocations: 77.11 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.3319, allocations: 175.6 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.3319, allocations: 37.64 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.3319, allocations: 100.1 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.996e-05/0.332, allocations: 31.73 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.332, allocations: 21.72 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3322, allocations: 326.8 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.457e-05/0.3323, allocations: 35.92 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.3324, allocations: 80.19 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3325, allocations: 69.7 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3325, allocations: 4 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002349/0.3328, allocations: 117.5 kB / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3328, allocations: 11.94 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3328, allocations: 0 / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3328, allocations: 0 / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3329, allocations: 24.05 kB / 0.5684 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3329, allocations: 0 / 0.5684 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.43e-05/0.333, allocations: 8 kB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.333, allocations: 4 kB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * 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.0001117/0.3331, allocations: 125.8 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.3331, allocations: 7.953 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.3334, allocations: 142.3 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3334, allocations: 0 / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3334, allocations: 0 / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.3334, allocations: 4 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005318/0.334, allocations: 386.8 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.334, allocations: 0 / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.334, allocations: 15.94 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.334, allocations: 4 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.334, allocations: 7.984 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.334, allocations: 0 / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3341, allocations: 4 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.3343, allocations: 224.3 kB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.3344, allocations: 15.91 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.3344, allocations: 8.031 kB / 0.5693 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.991e-05/0.3345, allocations: 0 / 0.5693 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.3345, allocations: 23.86 kB / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.3345, allocations: 7.984 kB / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.3347, allocations: 135.2 kB / 0.5695 GB, free: 11.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3347, allocations: 0 / 0.5695 GB, free: 11.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.335, allocations: 51.8 kB / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00217/0.3372, allocations: 0.5716 MB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.3374, allocations: 79.66 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3374, allocations: 0 / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.582e-05/0.3375, allocations: 40.11 kB / 0.5702 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.3379, allocations: 38.59 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.3384, allocations: 256.4 kB / 0.5705 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.26e-05/0.3385, allocations: 96.25 kB / 0.5706 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/0.3386, allocations: 23.44 kB / 0.5706 GB, free: 10.98 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3386, allocations: 0 / 0.5706 GB, free: 10.98 MB / 414.1 MB Notification: Performance of Templates: time 0.004956/0.3435, allocations: 2.574 MB / 0.5731 GB, free: 8.406 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.273112584836781]