Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.0007592/0.0007592, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001761, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006999/0.0006999, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008502/0.00155, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9652/0.9652, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09946/1.065, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.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.2995/0.2995, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02563/0.3251, allocations: 13.24 MB / 292.6 MB, free: 6.457 MB / 282.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.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 293.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.947e-05, allocations: 6.312 kB / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002447/0.002467, allocations: 1.812 MB / 295.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.003844, allocations: 1.021 MB / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.003914, allocations: 4 kB / 296.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.004105, allocations: 35.72 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.004338, allocations: 99.47 kB / 296.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.004518, allocations: 75.61 kB / 297 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.004684, allocations: 111.6 kB / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.669e-05/0.00476, allocations: 8 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.004894, allocations: 83.73 kB / 297.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.238e-05/0.004977, allocations: 19.92 kB / 297.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.004993, allocations: 4 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.525e-05/0.005089, allocations: 43.92 kB / 297.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.005136, allocations: 23.92 kB / 297.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.005171, allocations: 19.94 kB / 297.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.005347, allocations: 91.67 kB / 297.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.632e-05/0.005363, allocations: 0 / 297.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.005365, allocations: 3.984 kB / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.005381, allocations: 0 / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004514/0.005832, allocations: 333 kB / 297.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.005864, allocations: 8.922 kB / 297.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.005901, allocations: 12.92 kB / 297.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.006056, allocations: 141.6 kB / 297.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.00607, allocations: 384 / 297.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.006086, allocations: 4.375 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.006194, allocations: 69.75 kB / 298 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.006202, allocations: 192 / 298 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.00621, allocations: 4.375 kB / 298 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.006215, allocations: 3.938 kB / 298 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.877e-05/0.006244, allocations: 11.94 kB / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.006453, allocations: 170 kB / 298.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.386e-05/0.006547, allocations: 85.28 kB / 298.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.006568, allocations: 8.859 kB / 298.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.00658, allocations: 8 kB / 298.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.006683, allocations: 70.09 kB / 298.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.006684, allocations: 0 / 298.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002985/0.006982, allocations: 113.5 kB / 298.4 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.007015, allocations: 59.39 kB / 298.5 MB, free: 444 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.007127, allocations: 169 kB / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.00714, allocations: 25.7 kB / 298.7 MB, free: 228 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/0.007171, allocations: 88.12 kB / 298.8 MB, free: 136 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.0072, allocations: 35.72 kB / 298.8 MB, free: 100 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.007238, allocations: 21.72 kB / 298.8 MB, free: 72 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.007344, allocations: 330.8 kB / 299.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.007364, allocations: 10.81 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.007392, allocations: 22.66 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.007441, allocations: 44.44 kB / 299.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.007443, allocations: 4 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.796e-05/0.007531, allocations: 64.44 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.007546, allocations: 14.44 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.00755, allocations: 0 / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.00756, allocations: 3.938 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.00764, allocations: 24.03 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.007644, allocations: 4.141 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.687e-05/0.007681, allocations: 7.984 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.007687, allocations: 0 / 299.3 MB, free: 15.52 MB / 298.7 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 (10): * Single equations (assignments): 10 * 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 7.15e-05/0.007758, allocations: 116.7 kB / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.007776, allocations: 11.92 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.007894, allocations: 79.73 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.007897, allocations: 0 / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.007899, allocations: 0 / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.007902, allocations: 0 / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.00815, allocations: 295.5 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.008155, allocations: 4.312 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.008194, allocations: 8 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.008206, allocations: 7.953 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.00821, allocations: 4 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.008221, allocations: 11.98 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.008225, allocations: 3.984 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.008227, allocations: 3.938 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.008352, allocations: 211.1 kB / 300.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.008372, allocations: 8.031 kB / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.959e-05/0.008431, allocations: 4 kB / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.008461, allocations: 3.984 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.008476, allocations: 7.938 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.946e-05/0.008525, allocations: 48.34 kB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008525, allocations: 0 / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.00874, allocations: 27.89 kB / 300.2 MB, free: 14.62 MB / 298.7 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 (9): * Single equations (assignments): 7 * 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.001779/0.01052, allocations: 0.6184 MB / 300.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.01063, allocations: 40.77 kB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.01064, allocations: 4 kB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.01068, allocations: 20.8 kB / 300.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.01092, allocations: 44.83 kB / 300.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.01146, allocations: 232.3 kB / 301.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.873e-05/0.01151, allocations: 67.33 kB / 301.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.223e-05/0.01155, allocations: 12.97 kB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.552e-05/0.01163, allocations: 63.38 kB / 301.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of SimCode: time 1.113e-06/0.01163, allocations: 0 / 301.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of Templates: time 0.004193/0.01582, allocations: 2.054 MB / 303.3 MB, free: 11.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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: 2.9466427359730005]