Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001143/0.001143, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001502/0.002646, 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.001026/0.001026, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002333, 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 0.8947/0.8947, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09425/0.9889, 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.2873/0.2873, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02504/0.3123, allocations: 13.23 MB / 292.6 MB, free: 6.477 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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 293.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.843e-05, allocations: 3.516 kB / 293.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002418/0.002437, allocations: 1.752 MB / 295.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009016/0.003338, allocations: 0.5839 MB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.003393, allocations: 0 / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.003554, allocations: 75.61 kB / 296.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.003762, allocations: 95.52 kB / 296.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.004133, allocations: 172 kB / 296.6 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.004274, allocations: 87.7 kB / 296.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.539e-05/0.004349, allocations: 24.16 kB / 296.7 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.526e-05/0.004444, allocations: 63.88 kB / 296.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.752e-05/0.004532, allocations: 35.89 kB / 296.8 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.004546, allocations: 4 kB / 296.8 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.902e-05/0.004645, allocations: 47.92 kB / 296.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.004692, allocations: 19.94 kB / 296.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.00472, allocations: 15.94 kB / 296.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.004876, allocations: 91.59 kB / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.359e-05/0.004889, allocations: 0 / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.00489, allocations: 0 / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.004902, allocations: 4 kB / 296.9 MB, free: 2.094 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003475/0.00525, allocations: 329.2 kB / 297.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.005279, allocations: 12.92 kB / 297.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.005305, allocations: 4.938 kB / 297.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.005437, allocations: 149.5 kB / 297.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.005444, allocations: 4.359 kB / 297.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.00546, allocations: 4.375 kB / 297.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.859e-05/0.005549, allocations: 62.94 kB / 297.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.005555, allocations: 192 / 297.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-06/0.005561, allocations: 384 / 297.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.005565, allocations: 8.375 kB / 297.5 MB, free: 1.473 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.049e-05/0.005596, allocations: 19.86 kB / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.005793, allocations: 183.1 kB / 297.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.0059, allocations: 42.64 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.005917, allocations: 16.73 kB / 297.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.005931, allocations: 0 / 297.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.00595, allocations: 34.55 kB / 297.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.01e-07/0.005951, allocations: 4 kB / 297.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005049/0.006456, allocations: 211 kB / 298 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.00648, allocations: 51.41 kB / 298.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.451e-05/0.006574, allocations: 160.3 kB / 298.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.006586, allocations: 25.7 kB / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.006618, allocations: 96.06 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.006647, allocations: 47.56 kB / 298.4 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.006687, allocations: 25.7 kB / 298.4 MB, free: 500 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.053e-05/0.006767, allocations: 326.8 kB / 298.7 MB, free: 164 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.006787, allocations: 8 kB / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.99e-05/0.006807, allocations: 12 kB / 298.7 MB, free: 144 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.006858, allocations: 40.25 kB / 298.8 MB, free: 100 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.006859, allocations: 4 kB / 298.8 MB, free: 96 kB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.431e-05/0.006943, allocations: 70.38 kB / 298.9 MB, free: 20 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.006952, allocations: 6.5 kB / 298.9 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.006956, allocations: 4 kB / 298.9 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.009e-06/0.006961, allocations: 0 / 298.9 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.007053, allocations: 27.97 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.007056, allocations: 3.938 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/0.007084, allocations: 8.562 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.00709, allocations: 0 / 298.9 MB, free: 15.97 MB / 298.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 (11): * Single equations (assignments): 11 * 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 5.943e-05/0.007149, allocations: 116.7 kB / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.007178, allocations: 11.92 kB / 299 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.007306, allocations: 98.31 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.007307, allocations: 0 / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.007309, allocations: 0 / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.007313, allocations: 3.984 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.007591, allocations: 280.4 kB / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007593, allocations: 0 / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.028e-05/0.007663, allocations: 31.92 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.007673, allocations: 11.91 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.007677, allocations: 4 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.007682, allocations: 0 / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.007685, allocations: 3.984 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007686, allocations: 0 / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.007802, allocations: 187.4 kB / 299.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.007815, allocations: 0 / 299.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.863e-05/0.007873, allocations: 12.05 kB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.007894, allocations: 15.92 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.0079, allocations: 4 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.749e-05/0.007938, allocations: 38.3 kB / 299.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007938, allocations: 0 / 299.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001987/0.008136, allocations: 39.86 kB / 299.7 MB, free: 15.06 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001564/0.009701, allocations: 0.6078 MB / 300.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.009809, allocations: 56.72 kB / 300.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.009817, allocations: 4 kB / 300.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.009855, allocations: 28.78 kB / 300.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.01006, allocations: 28.98 kB / 300.5 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.01057, allocations: 271.7 kB / 300.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.633e-05/0.01062, allocations: 71.33 kB / 300.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.993e-05/0.01067, allocations: 12.48 kB / 300.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.01074, allocations: 71.38 kB / 300.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01074, allocations: 0 / 300.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of Templates: time 0.003596/0.01433, allocations: 1.765 MB / 302.7 MB, free: 12.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.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: 2.8253023931756616]