Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001192/0.001192, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001758/0.002949, 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.00428/0.00428, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001963/0.006243, 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 1.06/1.06, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08963/1.15, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.2963/0.2963, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02532/0.3216, allocations: 13.23 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 294 MB, free: 5.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.282e-05, allocations: 4.703 kB / 294 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002999/0.003022, allocations: 1.835 MB / 295.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.004468, allocations: 1.033 MB / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.004536, allocations: 4 kB / 296.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.004771, allocations: 103.6 kB / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.00502, allocations: 131.4 kB / 297.1 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.005194, allocations: 87.59 kB / 297.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.005381, allocations: 131.7 kB / 297.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.005471, allocations: 10.25 kB / 297.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.005621, allocations: 111.7 kB / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.005728, allocations: 67.8 kB / 297.5 MB, free: 1.559 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.005745, allocations: 8 kB / 297.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.005853, allocations: 59.92 kB / 297.5 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.642e-05/0.005899, allocations: 27.92 kB / 297.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.005936, allocations: 23.88 kB / 297.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.006125, allocations: 131.5 kB / 297.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.006139, allocations: 0 / 297.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006139, allocations: 0 / 297.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.006153, allocations: 0 / 297.7 MB, free: 1.312 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005351/0.006688, allocations: 384.7 kB / 298.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.006716, allocations: 8.922 kB / 298.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.006751, allocations: 20.86 kB / 298.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.006916, allocations: 166.4 kB / 298.3 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.006934, allocations: 8.359 kB / 298.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.006951, allocations: 4.375 kB / 298.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.007064, allocations: 77.73 kB / 298.4 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.007072, allocations: 192 / 298.4 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.00708, allocations: 4.375 kB / 298.4 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.007085, allocations: 3.938 kB / 298.4 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.25e-05/0.007128, allocations: 16.64 kB / 298.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.007364, allocations: 197.8 kB / 298.6 MB, free: 372 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.007531, allocations: 97.28 kB / 298.7 MB, free: 264 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.007557, allocations: 20.84 kB / 298.7 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.007569, allocations: 8 kB / 298.7 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.007673, allocations: 71.02 kB / 298.8 MB, free: 148 kB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.007674, allocations: 0 / 298.8 MB, free: 148 kB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004805/0.008155, allocations: 209.5 kB / 299 MB, free: 15.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.008186, allocations: 59.34 kB / 299 MB, free: 15.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.008327, allocations: 209.9 kB / 299.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.008347, allocations: 45.62 kB / 299.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.008384, allocations: 100 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.008424, allocations: 47.62 kB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.008466, allocations: 29.7 kB / 299.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.33e-05/0.00856, allocations: 334.8 kB / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/0.008585, allocations: 14.83 kB / 299.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/0.008622, allocations: 35.94 kB / 299.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.725e-05/0.00869, allocations: 56.5 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.008692, allocations: 3.938 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001141/0.008806, allocations: 100.4 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.008817, allocations: 4 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.008821, allocations: 0 / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.008831, allocations: 3.984 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.008914, allocations: 35.92 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.008917, allocations: 4 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.008947, allocations: 0 / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.008955, allocations: 4 kB / 300.1 MB, free: 14.8 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 (16): * Single equations (assignments): 16 * 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.034e-05/0.009025, allocations: 124.6 kB / 300.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.009045, allocations: 11.98 kB / 300.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.009195, allocations: 123 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.009198, allocations: 0 / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.009199, allocations: 0 / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.009202, allocations: 0 / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.009517, allocations: 361.4 kB / 300.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.009518, allocations: 0 / 300.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.009577, allocations: 31.92 kB / 300.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.009593, allocations: 11.91 kB / 300.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.009594, allocations: 0 / 300.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.009605, allocations: 12.06 kB / 300.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.009606, allocations: 0 / 300.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.009611, allocations: 11.92 kB / 300.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.009752, allocations: 249.5 kB / 301 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.009773, allocations: 4 kB / 301 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.009835, allocations: 11.98 kB / 301 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.009864, allocations: 11.92 kB / 301 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.009877, allocations: 7.938 kB / 301 MB, free: 13.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.51e-05/0.009942, allocations: 73.92 kB / 301.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009942, allocations: 0 / 301.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.01015, allocations: 39.94 kB / 301.1 MB, free: 13.67 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.00173/0.01189, allocations: 0.6972 MB / 301.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.012, allocations: 64.78 kB / 301.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.01201, allocations: 0 / 301.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.092e-05/0.01206, allocations: 52.69 kB / 301.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.01228, allocations: 47.73 kB / 302 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.0128, allocations: 312.9 kB / 302.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.1e-05/0.01285, allocations: 75.83 kB / 302.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.769e-05/0.01291, allocations: 25.47 kB / 302.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.01299, allocations: 75.36 kB / 302.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01299, allocations: 4 kB / 302.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of Templates: time 0.004525/0.01752, allocations: 2.587 MB / 305 MB, free: 10.09 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.011377084068954]