Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001868/0.001868, allocations: 116.3 kB / 18.45 MB, free: 4.59 MB / 14.72 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.002858/0.002858, allocations: 209 kB / 21.41 MB, free: 1.645 MB / 14.72 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.676/1.676, allocations: 227.4 MB / 251.7 MB, free: 64 kB / 190.1 MB " [Timeout remaining time 178] 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.2841/0.2841, allocations: 46.17 MB / 351.1 MB, free: 14.27 MB / 286.1 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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002359, allocations: 85.23 kB / 490.2 MB, free: 28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1665, allocations: 62.44 MB / 0.5397 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.004074/0.1707, allocations: 1.603 MB / 0.5413 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1718, allocations: 0.5372 MB / 0.5418 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.1719, allocations: 4 kB / 0.5418 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.1722, allocations: 23.84 kB / 0.5418 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.1725, allocations: 79.62 kB / 0.5419 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.1728, allocations: 117.5 kB / 0.542 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.173, allocations: 59.89 kB / 0.5421 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1731, allocations: 15.94 kB / 0.5421 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.46e-05/0.1732, allocations: 27.86 kB / 0.5421 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.1733, allocations: 23.86 kB / 0.5421 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1733, allocations: 3.938 kB / 0.5421 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.336e-05/0.1734, allocations: 39.97 kB / 0.5422 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.158e-05/0.1735, allocations: 11.94 kB / 0.5422 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.1735, allocations: 19.86 kB / 0.5422 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.1737, allocations: 79.66 kB / 0.5423 GB, free: 1.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1738, allocations: 0 / 0.5423 GB, free: 1.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1738, allocations: 0 / 0.5423 GB, free: 1.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1738, allocations: 0 / 0.5423 GB, free: 1.559 MB / 398.1 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.0006039/0.1744, allocations: 394.9 kB / 0.5426 GB, free: 1.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.735e-05/0.1745, allocations: 12.03 kB / 0.5427 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.1745, allocations: 8.891 kB / 0.5427 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1748, allocations: 188.2 kB / 0.5428 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1748, allocations: 384 / 0.5428 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.1748, allocations: 4.375 kB / 0.5428 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.175, allocations: 42.25 kB / 0.5429 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.175, allocations: 192 / 0.5429 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.175, allocations: 7.938 kB / 0.5429 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1751, allocations: 8 kB / 0.5429 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.821e-05/0.1752, allocations: 23.97 kB / 0.5429 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.1756, allocations: 280.9 kB / 0.5432 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.1759, allocations: 46.48 kB / 0.5432 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/0.1759, allocations: 16.86 kB / 0.5433 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.176, allocations: 4 kB / 0.5433 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.176, allocations: 34.56 kB / 0.5433 GB, free: 352 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.795e-06/0.176, allocations: 0 / 0.5433 GB, free: 352 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005982/0.1766, allocations: 161.4 kB / 0.5434 GB, free: 184 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.1767, allocations: 51.41 kB / 0.5435 GB, free: 120 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.1769, allocations: 160.9 kB / 0.5436 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.1769, allocations: 25.7 kB / 0.5437 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.177, allocations: 96.12 kB / 0.5438 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.177, allocations: 15.8 kB / 0.5438 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.1771, allocations: 17.72 kB / 0.5438 GB, free: 15.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1772, allocations: 326.8 kB / 0.5441 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.499e-05/0.1773, allocations: 23.92 kB / 0.5441 GB, free: 15.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.917e-05/0.1774, allocations: 28.05 kB / 0.5442 GB, free: 15.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.1776, allocations: 56.81 kB / 0.5442 GB, free: 15.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1776, allocations: 0 / 0.5442 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001874/0.1778, allocations: 85.56 kB / 0.5443 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1778, allocations: 6.188 kB / 0.5443 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1778, allocations: 4 kB / 0.5443 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1778, allocations: 0 / 0.5443 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.811e-05/0.1779, allocations: 19.92 kB / 0.5443 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1779, allocations: 0 / 0.5443 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.178, allocations: 8.266 kB / 0.5443 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.178, allocations: 0 / 0.5443 GB, free: 15.22 MB / 414.1 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 9.596e-05/0.1781, allocations: 121.8 kB / 0.5444 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.1781, allocations: 7.953 kB / 0.5445 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.1784, allocations: 97.94 kB / 0.5445 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1784, allocations: 8 kB / 0.5446 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1784, allocations: 0 / 0.5446 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1784, allocations: 0 / 0.5446 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/0.1789, allocations: 354.4 kB / 0.5449 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1789, allocations: 320 / 0.5449 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/0.179, allocations: 11.98 kB / 0.5449 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.179, allocations: 4 kB / 0.5449 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.179, allocations: 4 kB / 0.5449 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.179, allocations: 4 kB / 0.5449 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.179, allocations: 0 / 0.5449 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.1793, allocations: 191.3 kB / 0.5451 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.1794, allocations: 81.06 kB / 0.5452 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1794, allocations: 7.938 kB / 0.5452 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.548e-05/0.1795, allocations: 3.984 kB / 0.5452 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.1795, allocations: 11.94 kB / 0.5452 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.1795, allocations: 0 / 0.5452 GB, free: 14.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.942e-05/0.1796, allocations: 122.2 kB / 0.5453 GB, free: 14.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1796, allocations: 0 / 0.5453 GB, free: 14.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.1799, allocations: 16 kB / 0.5453 GB, free: 14.09 MB / 414.1 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.001476/0.1813, allocations: 404.6 kB / 0.5457 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.1816, allocations: 51.89 kB / 0.5458 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1816, allocations: 4 kB / 0.5458 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.175e-05/0.1817, allocations: 31.98 kB / 0.5458 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.182, allocations: 18.55 kB / 0.5458 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.1825, allocations: 186 kB / 0.546 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.1829, allocations: 0.6924 MB / 0.5467 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.597e-05/0.1829, allocations: 19.77 kB / 0.5467 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.183, allocations: 19.42 kB / 0.5467 GB, free: 12.75 MB / 414.1 MB Notification: Performance of SimCode: time 1.894e-06/0.183, allocations: 0 / 0.5467 GB, free: 12.75 MB / 414.1 MB Notification: Performance of Templates: time 0.003965/0.1869, allocations: 1.128 MB / 0.5478 GB, free: 11.63 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.452607884071767]