Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.001873/0.001873, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.001986/0.001986, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.591/1.591, allocations: 177 MB / 204.4 MB, free: 5.645 MB / 186.7 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.3716/0.3716, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.14e-06/5.14e-06, allocations: 4 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.585e-05, allocations: 6.25 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003598/0.003634, allocations: 1.677 MB / 378.9 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.004901, allocations: 0.5797 MB / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.167e-05/0.004963, allocations: 0 / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009389/0.005902, allocations: 447.1 kB / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005547/0.006456, allocations: 307.1 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.006912, allocations: 179.5 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.007179, allocations: 175.6 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.007299, allocations: 16.22 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.007482, allocations: 127.7 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.007799, allocations: 239.6 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.00783, allocations: 4 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.007953, allocations: 47.92 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.00809, allocations: 95.62 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.008149, allocations: 39.75 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.008549, allocations: 259 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.008554, allocations: 0 / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.008555, allocations: 4 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.008561, allocations: 0 / 381.4 MB, free: 14.71 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001003/0.009564, allocations: 0.72 MB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.009606, allocations: 12.03 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.86e-05/0.009694, allocations: 44.66 kB / 382.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.01004, allocations: 244.9 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.01006, allocations: 8.375 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.01008, allocations: 12.3 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.01025, allocations: 58.23 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.01026, allocations: 192 / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.01027, allocations: 384 / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.01028, allocations: 384 / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.01038, allocations: 27.92 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007312/0.01111, allocations: 479.5 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.01125, allocations: 51.05 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.0113, allocations: 11.69 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.01132, allocations: 12.03 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.01136, allocations: 41.33 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.01136, allocations: 0 / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001093/0.01245, allocations: 284.7 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.0125, allocations: 51.41 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008202/0.01332, allocations: 0.6745 MB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.01335, allocations: 29.7 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.01364, allocations: 302.8 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.01368, allocations: 31.75 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.01374, allocations: 31.36 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003748/0.01411, allocations: 0.5703 MB / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.01419, allocations: 19.98 kB / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.01425, allocations: 23.92 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.0144, allocations: 59.83 kB / 385.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.0144, allocations: 0 / 385.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000241/0.01464, allocations: 129.4 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.01465, allocations: 8 kB / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01466, allocations: 0 / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.01467, allocations: 0 / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.01478, allocations: 19.98 kB / 385.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.01479, allocations: 0 / 385.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.01484, allocations: 0 / 385.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.01485, allocations: 12 kB / 385.3 MB, free: 10.57 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 (8): * Single equations (assignments): 8 * 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 0.0001607/0.01501, allocations: 168.5 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.22e-05/0.01508, allocations: 47.67 kB / 385.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.01541, allocations: 133.5 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.01541, allocations: 0 / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01541, allocations: 0 / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01542, allocations: 0 / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008537/0.01627, allocations: 0.5673 MB / 386.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.01627, allocations: 0 / 386.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/0.01634, allocations: 15.94 kB / 386.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01634, allocations: 0 / 386.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.01635, allocations: 4.453 kB / 386.3 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.01636, allocations: 7.984 kB / 386.3 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01636, allocations: 0 / 386.3 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.01671, allocations: 291.2 kB / 386.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.01676, allocations: 31.72 kB / 386.6 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.01679, allocations: 4 kB / 386.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.01687, allocations: 3.984 kB / 386.6 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.01693, allocations: 11.92 kB / 386.6 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.01694, allocations: 8 kB / 386.6 MB, free: 9.199 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006342/0.01757, allocations: 446.7 kB / 387 MB, free: 8.766 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01757, allocations: 4 kB / 387 MB, free: 8.762 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.01784, allocations: 27.94 kB / 387.1 MB, free: 8.734 MB / 362.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 (8): * Single equations (assignments): 8 * 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.003278/0.02111, allocations: 483.7 kB / 387.5 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002355/0.02135, allocations: 67.64 kB / 387.6 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02135, allocations: 0 / 387.6 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.02145, allocations: 47.59 kB / 387.7 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.02181, allocations: 32.14 kB / 387.7 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.02287, allocations: 0.6197 MB / 388.3 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.02312, allocations: 208.1 kB / 388.5 MB, free: 7.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.018e-05/0.02319, allocations: 24.95 kB / 388.5 MB, free: 7.383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.02323, allocations: 16.5 kB / 388.6 MB, free: 7.367 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02323, allocations: 0 / 388.6 MB, free: 7.367 MB / 362.7 MB Notification: Performance of Templates: time 0.006023/0.02926, allocations: 1.595 MB / 390.1 MB, free: 5.781 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.062795134959742]