Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.001107/0.001107, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001861/0.002967, 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.002164/0.002164, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001229/0.003393, 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.127/1.127, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1098/1.237, allocations: 53.87 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.289/0.289, allocations: 34.89 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02794/0.3169, allocations: 13.23 MB / 292.8 MB, free: 6.41 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 294.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.118e-05, allocations: 4 kB / 294.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.00316/0.003181, allocations: 1.815 MB / 296 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.004773, allocations: 1.017 MB / 297 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.431e-05/0.004857, allocations: 3.938 kB / 297 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.005067, allocations: 43.7 kB / 297.1 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.005386, allocations: 99.41 kB / 297.2 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.005642, allocations: 83.55 kB / 297.2 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.005847, allocations: 103.6 kB / 297.3 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.398e-05/0.005931, allocations: 7.984 kB / 297.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.006092, allocations: 82.62 kB / 297.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.27e-05/0.006184, allocations: 27.91 kB / 297.5 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.006202, allocations: 4 kB / 297.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.006316, allocations: 47.86 kB / 297.5 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.00637, allocations: 23.86 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.006405, allocations: 15.94 kB / 297.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.006604, allocations: 91.67 kB / 297.6 MB, free: 1.547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.006616, allocations: 4 kB / 297.6 MB, free: 1.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006617, allocations: 0 / 297.6 MB, free: 1.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.006627, allocations: 0 / 297.6 MB, free: 1.543 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.0005058/0.007133, allocations: 344.9 kB / 298 MB, free: 1.184 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.007171, allocations: 8.922 kB / 298 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.00722, allocations: 8.938 kB / 298 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.007404, allocations: 154.2 kB / 298.1 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.007421, allocations: 4.375 kB / 298.1 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.007444, allocations: 4.375 kB / 298.2 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.007563, allocations: 57.77 kB / 298.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.007573, allocations: 4.188 kB / 298.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.007582, allocations: 4.375 kB / 298.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.007589, allocations: 7.938 kB / 298.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.987e-05/0.007619, allocations: 11.92 kB / 298.2 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.007853, allocations: 162 kB / 298.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.007957, allocations: 85.28 kB / 298.5 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/0.007985, allocations: 16.91 kB / 298.5 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.007997, allocations: 4 kB / 298.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/0.008106, allocations: 66.14 kB / 298.6 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.008107, allocations: 0 / 298.6 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003551/0.008462, allocations: 125.4 kB / 298.7 MB, free: 400 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.008493, allocations: 55.41 kB / 298.7 MB, free: 332 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.008627, allocations: 173.3 kB / 298.9 MB, free: 144 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.008651, allocations: 29.7 kB / 298.9 MB, free: 108 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.008696, allocations: 100.1 kB / 299 MB, free: 4 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.008749, allocations: 24.03 kB / 299.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.008794, allocations: 21.7 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.008902, allocations: 326.8 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.671e-05/0.008929, allocations: 14.83 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/0.008959, allocations: 21.7 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.852e-05/0.009018, allocations: 44.45 kB / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.009019, allocations: 0 / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001139/0.009133, allocations: 68.56 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.009152, allocations: 7.75 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.009157, allocations: 0 / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.009174, allocations: 7.984 kB / 299.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.464e-05/0.009258, allocations: 19.88 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.009264, allocations: 8.031 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.031e-05/0.009305, allocations: 4.375 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.009315, allocations: 7.984 kB / 299.6 MB, free: 15.4 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 9.726e-05/0.009413, allocations: 119.3 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.009435, allocations: 11.94 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.00959, allocations: 79.06 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.009593, allocations: 0 / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.009596, allocations: 4 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.009601, allocations: 0 / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.009926, allocations: 299.4 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.009929, allocations: 0 / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.456e-05/0.009973, allocations: 15.98 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.00999, allocations: 7.953 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.009994, allocations: 0 / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.01, allocations: 4 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.01001, allocations: 0 / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01001, allocations: 0 / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.01018, allocations: 221.7 kB / 300.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.0102, allocations: 4 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.737e-05/0.01027, allocations: 4 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.0103, allocations: 12.02 kB / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.01032, allocations: 4 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.095e-05/0.01038, allocations: 51.58 kB / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01038, allocations: 0 / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.01059, allocations: 24 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.001627/0.01222, allocations: 0.6268 MB / 301.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.01232, allocations: 36.78 kB / 301.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.01233, allocations: 4 kB / 301.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.176e-05/0.01237, allocations: 36.98 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.0002518/0.01262, 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.0005389/0.01316, allocations: 220.2 kB / 301.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.917e-05/0.01321, allocations: 71.33 kB / 301.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.304e-05/0.01326, allocations: 12.98 kB / 301.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-05/0.01333, allocations: 71.34 kB / 301.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01333, allocations: 3.938 kB / 301.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of Templates: time 0.003811/0.01714, 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.Test34.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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: 3.1041256450116634]