Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001036/0.001036, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001741/0.001741, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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.9731/0.9731, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.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.2708/0.2708, allocations: 34.86 MB / 296.3 MB, free: 0.5391 MB / 266.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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.39e-05, allocations: 2.875 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002662/0.002696, allocations: 1.641 MB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000769/0.003465, allocations: 0.5292 MB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.003524, allocations: 0 / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.003754, allocations: 31.72 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.00408, allocations: 83.55 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.004344, allocations: 87.7 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.004493, allocations: 75.7 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.868e-05/0.004591, allocations: 11.84 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.265e-05/0.004654, allocations: 27.92 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.067e-05/0.004715, allocations: 23.91 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.00473, allocations: 4 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-05/0.004812, allocations: 31.92 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.004857, allocations: 8 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.004884, allocations: 11.94 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.005033, allocations: 67.73 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.005037, allocations: 0 / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.005039, allocations: 3.984 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.005044, allocations: 0 / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004003/0.005444, allocations: 412.1 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.005484, allocations: 16.03 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.005528, allocations: 8.891 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.005679, allocations: 132.5 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.005689, allocations: 4.375 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.005708, allocations: 384 / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.005824, allocations: 58.95 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.005833, allocations: 192 / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.005844, allocations: 384 / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.005852, allocations: 384 / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.084e-05/0.005883, allocations: 19.86 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.006171, allocations: 275.8 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.006336, allocations: 47.03 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.006356, allocations: 11.69 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.006374, allocations: 0 / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.006397, allocations: 45.41 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.006398, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003526/0.006751, allocations: 105.4 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.006782, allocations: 51.41 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.00689, allocations: 197 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.006902, allocations: 25.7 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.006956, allocations: 146.9 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.00698, allocations: 19.8 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.007014, allocations: 27.36 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.007158, allocations: 0.4884 MB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.007184, allocations: 7.984 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.007202, allocations: 8 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.77e-05/0.00725, allocations: 19.69 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.007251, allocations: 0 / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001062/0.007357, allocations: 65.52 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.007374, allocations: 11.94 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.00738, allocations: 4 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.007395, allocations: 0 / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.007456, allocations: 11.98 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.007461, allocations: 0 / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/0.007484, allocations: 4 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.007492, allocations: 4.25 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.789e-05/0.00757, allocations: 152.6 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.007601, allocations: 15.89 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.007742, allocations: 74.08 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007744, allocations: 0 / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.007749, allocations: 8 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007752, allocations: 0 / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.008029, allocations: 317.4 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.00803, allocations: 0 / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.008068, allocations: 8 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.008071, allocations: 0 / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.008079, allocations: 4 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.008083, allocations: 7.922 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008085, allocations: 0 / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.008209, allocations: 207.8 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.00822, allocations: 7.953 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.008232, allocations: 4 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/0.008281, allocations: 4 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.008313, allocations: 3.984 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.008317, allocations: 0 / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.048e-05/0.008397, allocations: 151.2 kB / 384.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008398, allocations: 0 / 384.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.008636, allocations: 8 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001032/0.009668, allocations: 383 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.009779, allocations: 35.55 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.00978, allocations: 0 / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.701e-05/0.009807, allocations: 23.8 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.01009, allocations: 23.92 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.01045, allocations: 178.6 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.409e-05/0.0105, allocations: 63.28 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.503e-05/0.01053, allocations: 11.98 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.01056, allocations: 12.5 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01056, allocations: 0 / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of Templates: time 0.003759/0.01432, allocations: 1.249 MB / 386.5 MB, free: 10.08 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.0495563177391887]