Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.0008686/0.0008686, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001198/0.002066, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007199/0.0007199, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001751, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9204/0.9204, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1168/1.037, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.3003/0.3003, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02612/0.3264, allocations: 13.24 MB / 292.8 MB, free: 6.402 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 294.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2e-05/1.332e-05, allocations: 2.859 kB / 294.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.001853/0.001866, allocations: 1.818 MB / 296 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.002961, allocations: 1.021 MB / 297 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.003024, allocations: 7.938 kB / 297 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.003189, allocations: 35.72 kB / 297.1 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.003389, allocations: 99.41 kB / 297.2 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.003533, allocations: 87.55 kB / 297.2 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.00367, allocations: 107.6 kB / 297.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.892e-05/0.003739, allocations: 4 kB / 297.4 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.003856, allocations: 82.62 kB / 297.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.003929, allocations: 27.91 kB / 297.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.003943, allocations: 4 kB / 297.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.352e-05/0.004017, allocations: 47.86 kB / 297.5 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.004057, allocations: 19.88 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.004083, allocations: 11.94 kB / 297.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.004226, allocations: 99.66 kB / 297.6 MB, free: 1.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.004235, allocations: 0 / 297.6 MB, free: 1.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004236, allocations: 4 kB / 297.6 MB, free: 1.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.004243, allocations: 0 / 297.6 MB, free: 1.539 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.0004003/0.004644, allocations: 344.9 kB / 298 MB, free: 1.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.004674, allocations: 12.92 kB / 298 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.004705, allocations: 8.922 kB / 298 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.004846, allocations: 150.3 kB / 298.1 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.004859, allocations: 4.375 kB / 298.2 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.004878, allocations: 4.375 kB / 298.2 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.695e-05/0.004975, allocations: 65.75 kB / 298.2 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.004984, allocations: 192 / 298.2 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.004992, allocations: 4.375 kB / 298.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.004999, allocations: 3.938 kB / 298.2 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.86e-05/0.005028, allocations: 11.94 kB / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.005275, allocations: 162 kB / 298.4 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.577e-05/0.005371, allocations: 85.34 kB / 298.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.005388, allocations: 12.86 kB / 298.5 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.005399, allocations: 0 / 298.5 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.979e-05/0.005488, allocations: 70.14 kB / 298.6 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.005489, allocations: 4 kB / 298.6 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002677/0.005757, allocations: 125.4 kB / 298.7 MB, free: 396 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.005783, allocations: 55.41 kB / 298.7 MB, free: 328 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.61e-05/0.005879, allocations: 173.3 kB / 298.9 MB, free: 140 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.005891, allocations: 25.7 kB / 298.9 MB, free: 108 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.966e-05/0.00592, allocations: 96.11 kB / 299 MB, free: 8 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.005953, allocations: 24.03 kB / 299.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.005982, allocations: 25.7 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.115e-05/0.006053, allocations: 326.8 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.006067, allocations: 6.828 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.006088, allocations: 29.7 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.00613, allocations: 44.45 kB / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.006131, allocations: 0 / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.827e-05/0.006199, allocations: 68.56 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.006209, allocations: 7.75 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/0.006212, allocations: 0 / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.006222, allocations: 0 / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.006285, allocations: 31.86 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.006288, allocations: 0 / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.006313, allocations: 4.406 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.006318, allocations: 4 kB / 299.6 MB, free: 15.41 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 6.239e-05/0.00638, allocations: 120.6 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.006393, allocations: 15.92 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.328e-05/0.006486, allocations: 84.28 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006488, allocations: 0 / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.006489, allocations: 0 / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.006492, allocations: 0 / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.006693, allocations: 295.4 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.006695, allocations: 0 / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.634e-05/0.006721, allocations: 20.02 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.006731, allocations: 11.94 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.006734, allocations: 0 / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.00674, allocations: 4 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006741, allocations: 4 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.006742, allocations: 0 / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.125e-05/0.006833, allocations: 215 kB / 300.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.006849, allocations: 7.984 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.431e-05/0.006883, allocations: 4 kB / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.006907, allocations: 7.984 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.006915, allocations: 4 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.066e-05/0.006956, allocations: 55.58 kB / 300.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006956, allocations: 0 / 300.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001396/0.007096, allocations: 24 kB / 300.4 MB, free: 14.49 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.001286/0.008382, allocations: 0.6139 MB / 301.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.004e-05/0.008462, allocations: 44.77 kB / 301.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.00847, allocations: 7.984 kB / 301.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.487e-05/0.008505, allocations: 29.02 kB / 301.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.008728, allocations: 184.4 kB / 301.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.009138, allocations: 232.1 kB / 301.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.599e-05/0.009174, allocations: 63.34 kB / 301.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.205e-05/0.009206, allocations: 12.97 kB / 301.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.009267, allocations: 67.36 kB / 301.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.009268, allocations: 3.938 kB / 301.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of Templates: time 0.003257/0.01252, allocations: 2.052 MB / 303.7 MB, free: 11.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8787061320617795]