Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001079/0.001079, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.004489/0.004489, allocations: 160.2 kB / 24.91 MB, free: 8.766 MB / 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.9555/0.9555, allocations: 177 MB / 205.2 MB, free: 5.445 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.2421/0.2421, allocations: 34.86 MB / 296.6 MB, free: 0.5039 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.811e-05, allocations: 8.141 kB / 325.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.00202/0.002038, allocations: 1.674 MB / 327.6 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007087/0.002747, allocations: 0.5447 MB / 328.2 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.002796, allocations: 8 kB / 328.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.003038, allocations: 91.61 kB / 328.3 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.003278, allocations: 115.5 kB / 328.4 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.00349, allocations: 99.62 kB / 328.5 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.003628, allocations: 103.7 kB / 328.6 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.921e-05/0.003708, allocations: 24.67 kB / 328.6 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.003776, allocations: 55.88 kB / 328.6 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.712e-05/0.003863, allocations: 51.88 kB / 328.7 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.003876, allocations: 4 kB / 328.7 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.299e-05/0.003949, allocations: 43.92 kB / 328.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.00399, allocations: 31.8 kB / 328.8 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.004018, allocations: 27.91 kB / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.004154, allocations: 103.6 kB / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004155, allocations: 0 / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.004155, allocations: 0 / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.916e-06/0.004158, allocations: 4 kB / 328.9 MB, free: 4.141 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003171/0.004476, allocations: 329.5 kB / 329.2 MB, free: 3.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.662e-05/0.004502, allocations: 11.97 kB / 329.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.004531, allocations: 12.92 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.004665, allocations: 149.5 kB / 329.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.004672, allocations: 4.375 kB / 329.4 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.00469, allocations: 4.375 kB / 329.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.187e-05/0.004782, allocations: 71.91 kB / 329.5 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.00479, allocations: 4.172 kB / 329.5 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.004798, allocations: 4.375 kB / 329.5 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.004803, allocations: 8.359 kB / 329.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.952e-05/0.004832, allocations: 23.86 kB / 329.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.005041, allocations: 191 kB / 329.7 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.383e-05/0.005095, allocations: 42.55 kB / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.005111, allocations: 16.78 kB / 329.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.005125, allocations: 0 / 329.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.005144, allocations: 38.56 kB / 329.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 6.12e-07/0.005145, allocations: 0 / 329.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004743/0.005619, allocations: 203.2 kB / 330 MB, free: 2.949 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.005647, allocations: 51.41 kB / 330 MB, free: 2.887 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.005755, allocations: 193.2 kB / 330.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.005765, allocations: 29.7 kB / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.005797, allocations: 100.1 kB / 330.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.005828, allocations: 51.52 kB / 330.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.005859, allocations: 21.72 kB / 330.4 MB, free: 2.465 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.005996, allocations: 326.8 kB / 330.8 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.006012, allocations: 11.98 kB / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.586e-05/0.006028, allocations: 12 kB / 330.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/0.006072, allocations: 50.69 kB / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006074, allocations: 3.938 kB / 330.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.692e-05/0.006141, allocations: 73.66 kB / 330.9 MB, free: 1.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.00615, allocations: 8 kB / 330.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.006153, allocations: 0 / 330.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.006163, allocations: 3.938 kB / 330.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.006232, allocations: 27.98 kB / 330.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.006235, allocations: 0 / 330.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.006254, allocations: 4 kB / 330.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.00626, allocations: 4 kB / 331 MB, free: 1.934 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 (13): * Single equations (assignments): 13 * 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.351e-05/0.006313, allocations: 120.6 kB / 331.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.006333, allocations: 11.98 kB / 331.1 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.006447, allocations: 105 kB / 331.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.006449, allocations: 0 / 331.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.006451, allocations: 0 / 331.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006453, allocations: 4 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.006699, allocations: 288.1 kB / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.0067, allocations: 0 / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.006745, allocations: 27.92 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.006747, allocations: 4.031 kB / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.006751, allocations: 0 / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.006754, allocations: 4 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.006755, allocations: 0 / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.088e-05/0.006846, allocations: 184.3 kB / 331.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.006855, allocations: 11.91 kB / 331.7 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.006865, allocations: 0 / 331.7 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.632e-05/0.006901, allocations: 11.98 kB / 331.7 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.006924, allocations: 7.984 kB / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.006928, allocations: 0 / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.557e-05/0.006973, allocations: 73.48 kB / 331.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006973, allocations: 3.938 kB / 331.8 MB, free: 1.027 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001484/0.007122, allocations: 31.94 kB / 331.8 MB, free: 0.9961 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001134/0.008256, allocations: 0.5644 MB / 332.4 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.144e-05/0.008347, allocations: 60.7 kB / 332.4 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.008351, allocations: 0 / 332.4 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.939e-05/0.00838, allocations: 36.77 kB / 332.5 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.008577, allocations: 19.98 kB / 332.5 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004933/0.00907, allocations: 263.8 kB / 332.8 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.908e-05/0.009109, allocations: 71.28 kB / 332.8 MB, free: 220 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.111e-05/0.009151, allocations: 24.53 kB / 332.9 MB, free: 196 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.009205, allocations: 63.36 kB / 332.9 MB, free: 132 kB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009206, allocations: 0 / 332.9 MB, free: 132 kB / 298.7 MB Notification: Performance of Templates: time 0.003061/0.01227, allocations: 1.692 MB / 334.6 MB, free: 14.45 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.881187444087118]