Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.0007741/0.0007741, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009751/0.001749, 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.0006969/0.0006969, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008874/0.001584, 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 1.035/1.035, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1014/1.137, allocations: 53.86 MB / 243.9 MB, free: 14.88 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.2502/0.2502, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02583/0.276, allocations: 13.23 MB / 292.8 MB, free: 6.422 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 294.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.181e-05, allocations: 4.984 kB / 294.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.001945/0.001957, allocations: 1.816 MB / 296 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.003066, allocations: 1.021 MB / 297 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.003127, allocations: 7.938 kB / 297 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.003294, allocations: 39.7 kB / 297.1 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.003475, allocations: 99.42 kB / 297.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.003612, allocations: 83.53 kB / 297.2 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.003763, allocations: 103.7 kB / 297.3 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.072e-05/0.003844, allocations: 7.984 kB / 297.4 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.003969, allocations: 79.81 kB / 297.4 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.004043, allocations: 31.91 kB / 297.5 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.004058, allocations: 4 kB / 297.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.5e-05/0.004143, allocations: 47.86 kB / 297.5 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.004199, allocations: 19.88 kB / 297.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.00423, allocations: 15.94 kB / 297.6 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.004395, allocations: 95.66 kB / 297.6 MB, free: 1.547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.337e-05/0.004408, allocations: 0 / 297.6 MB, free: 1.547 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004409, allocations: 0 / 297.6 MB, free: 1.547 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.00442, allocations: 0 / 297.6 MB, free: 1.547 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.0004587/0.004879, allocations: 344.9 kB / 298 MB, free: 1.188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.004912, allocations: 12.92 kB / 298 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.004947, allocations: 8.922 kB / 298 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.005089, allocations: 154.3 kB / 298.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.005101, allocations: 384 / 298.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.00512, allocations: 4.375 kB / 298.2 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.669e-05/0.005217, allocations: 61.77 kB / 298.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.005224, allocations: 192 / 298.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.005231, allocations: 384 / 298.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.005238, allocations: 11.92 kB / 298.2 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/0.005261, allocations: 7.938 kB / 298.2 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.005473, allocations: 170 kB / 298.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.567e-05/0.005569, allocations: 85.28 kB / 298.5 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.005587, allocations: 8.859 kB / 298.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.005598, allocations: 0 / 298.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.257e-05/0.00569, allocations: 66.16 kB / 298.6 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/0.005691, allocations: 0 / 298.6 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002882/0.005979, allocations: 129.4 kB / 298.7 MB, free: 408 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.006006, allocations: 55.39 kB / 298.7 MB, free: 340 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.006107, allocations: 173.3 kB / 298.9 MB, free: 152 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.006123, allocations: 33.7 kB / 298.9 MB, free: 112 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/0.006156, allocations: 100.1 kB / 299 MB, free: 8 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.006193, allocations: 20.03 kB / 299.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.006224, allocations: 25.69 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.006308, allocations: 322.8 kB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.006325, allocations: 10.83 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.48e-05/0.00635, allocations: 21.7 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.886e-05/0.006399, allocations: 44.45 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.0064, allocations: 0 / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.017e-05/0.00648, allocations: 80.55 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.006494, allocations: 7.75 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.006498, allocations: 0 / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.006509, allocations: 4 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-05/0.006581, allocations: 19.92 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.006587, allocations: 7.938 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.544e-05/0.006612, allocations: 384 / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.00662, allocations: 8 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.067e-05/0.006681, allocations: 112.6 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.006694, allocations: 19.95 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.502e-05/0.006789, allocations: 80.3 kB / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.006792, allocations: 3.984 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.006794, allocations: 4 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.006797, allocations: 0 / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.007003, allocations: 291.4 kB / 300.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.007005, allocations: 0 / 300.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.00703, allocations: 12 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.007042, allocations: 11.94 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.007044, allocations: 0 / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.00705, allocations: 8.031 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.007051, allocations: 0 / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.007051, allocations: 0 / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.007153, allocations: 223 kB / 300.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.007168, allocations: 4 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.729e-05/0.007205, allocations: 3.984 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.00723, allocations: 11.98 kB / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.00724, allocations: 4 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.91e-05/0.007279, allocations: 43.59 kB / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00728, allocations: 0 / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001401/0.00742, allocations: 27.98 kB / 300.4 MB, free: 14.5 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.001359/0.008779, allocations: 0.6164 MB / 301.1 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.99e-05/0.008859, allocations: 48.77 kB / 301.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.008865, allocations: 4 kB / 301.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.836e-05/0.008904, allocations: 33 kB / 301.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.009139, allocations: 184.4 kB / 301.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/0.00954, allocations: 223.9 kB / 301.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.798e-05/0.009578, allocations: 63.34 kB / 301.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.578e-05/0.009614, allocations: 21.16 kB / 301.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.009676, allocations: 71.36 kB / 301.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009676, allocations: 0 / 301.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of Templates: time 0.003406/0.01308, allocations: 2.06 MB / 303.8 MB, free: 11.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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.9312679367139935]