Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.00113/0.00113, allocations: 80.34 kB / 22.21 MB, free: 2.281 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.001252/0.001252, allocations: 166.2 kB / 25.61 MB, free: 8.578 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 1.095/1.095, allocations: 177 MB / 205.9 MB, free: 4.441 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.1581/0.1581, allocations: 34.88 MB / 297.4 MB, free: 13.34 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.405e-05, allocations: 7.156 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002457/0.002481, allocations: 1.686 MB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.003742, allocations: 1.308 MB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.316e-05/0.003825, allocations: 0 / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.004094, allocations: 31.73 kB / 383.1 MB, free: 19.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.00442, allocations: 87.48 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.004753, allocations: 179.5 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.004901, allocations: 75.77 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.005011, allocations: 15.98 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.246e-05/0.005084, allocations: 39.84 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.00519, allocations: 31.89 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.005208, allocations: 4 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.005361, allocations: 91.83 kB / 383.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.005425, allocations: 27.91 kB / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.005452, allocations: 15.94 kB / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.005662, allocations: 143.5 kB / 383.8 MB, free: 18.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.005665, allocations: 0 / 383.8 MB, free: 18.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005666, allocations: 0 / 383.8 MB, free: 18.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.005671, allocations: 4 kB / 383.8 MB, free: 18.99 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000394/0.006065, allocations: 435.9 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.006104, allocations: 8.031 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.006146, allocations: 12.89 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.006295, allocations: 146.5 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.006305, allocations: 384 / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.006325, allocations: 4.375 kB / 384.3 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.006457, allocations: 115.9 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.006469, allocations: 4.188 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.006479, allocations: 384 / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.006485, allocations: 384 / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.671e-05/0.006512, allocations: 11.92 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.006766, allocations: 264.5 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.368e-05/0.00684, allocations: 50.98 kB / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.752e-05/0.006857, allocations: 7.688 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.006878, allocations: 11.98 kB / 384.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.006901, allocations: 37.47 kB / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.006901, allocations: 0 / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003818/0.007283, allocations: 125.4 kB / 385 MB, free: 17.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.007313, allocations: 81.11 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.856e-05/0.007402, allocations: 193.9 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.00741, allocations: 29.7 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.007448, allocations: 142.8 kB / 385.4 MB, free: 17.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.007475, allocations: 27.78 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.007504, allocations: 23.38 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.315e-05/0.007567, allocations: 0.5001 MB / 386 MB, free: 16.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.00758, allocations: 4 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.007614, allocations: 53.06 kB / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.185e-05/0.007656, allocations: 35.61 kB / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.007657, allocations: 3.938 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.041e-05/0.007738, allocations: 65.58 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.007751, allocations: 6.344 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.007756, allocations: 0 / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.00777, allocations: 4 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/0.007843, allocations: 15.98 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.007847, allocations: 4.031 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.007874, allocations: 7.984 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.007884, allocations: 0 / 386.1 MB, free: 16.36 MB / 314.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 (7): * Single equations (assignments): 7 * 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.62e-05/0.00794, allocations: 164.5 kB / 386.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.007963, allocations: 11.89 kB / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.008081, allocations: 78.75 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.008084, allocations: 3.984 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.008088, allocations: 0 / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008091, allocations: 0 / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.008302, allocations: 318 kB / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.008305, allocations: 11.94 kB / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.008344, allocations: 19.98 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.008346, allocations: 0 / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.008351, allocations: 0 / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.008352, allocations: 0 / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008353, allocations: 0 / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.679e-05/0.00844, allocations: 215.8 kB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.008452, allocations: 19.88 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.008465, allocations: 0 / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/0.008504, allocations: 4 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.008534, allocations: 11.98 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.008538, allocations: 0 / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.472e-05/0.008573, allocations: 151.1 kB / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008573, allocations: 0 / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.008776, allocations: 43.81 kB / 387.2 MB, free: 15.26 MB / 314.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 (7): * Single equations (assignments): 7 * 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.0009716/0.009748, allocations: 486.4 kB / 387.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.009874, allocations: 31.67 kB / 387.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.009875, allocations: 3.938 kB / 387.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.499e-05/0.0099, allocations: 23.67 kB / 387.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.01016, allocations: 30.41 kB / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.01051, allocations: 194.7 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.573e-05/0.01054, allocations: 75.19 kB / 388 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.221e-05/0.0106, allocations: 13.05 kB / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.01067, allocations: 90.17 kB / 388.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01067, allocations: 0 / 388.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of Templates: time 0.004186/0.01485, allocations: 2.241 MB / 390.3 MB, free: 12.23 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.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.682044005021453]