Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001018/0.001018, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001428/0.001428, allocations: 167.4 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.04/1.04, allocations: 177 MB / 205.9 MB, free: 4.453 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.1656/0.1656, 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.816e-05, allocations: 5.016 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.00263/0.002658, allocations: 1.697 MB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000775/0.003433, allocations: 0.5485 MB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.293e-05/0.003506, allocations: 0 / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.003913, allocations: 451 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.004251, allocations: 299.2 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.004485, allocations: 131.6 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.004683, allocations: 171.6 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.306e-05/0.004776, allocations: 19.92 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.004891, allocations: 119.8 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.005064, allocations: 247.6 kB / 383.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.005078, allocations: 4 kB / 383.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.481e-05/0.005163, allocations: 55.86 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/0.005236, allocations: 83.66 kB / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.005265, allocations: 39.73 kB / 383.9 MB, free: 18.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.005445, allocations: 203.2 kB / 384.1 MB, free: 18.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005448, allocations: 4 kB / 384.1 MB, free: 18.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005449, allocations: 0 / 384.1 MB, free: 18.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.005455, allocations: 4 kB / 384.1 MB, free: 18.68 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004418/0.005896, allocations: 0.7085 MB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.00593, allocations: 15.97 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.005982, allocations: 44.66 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.006157, allocations: 252.8 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.006168, allocations: 384 / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.006191, allocations: 8.375 kB / 385.1 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.006318, allocations: 54.95 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.006332, allocations: 192 / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.006343, allocations: 4.375 kB / 385.2 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.00635, allocations: 4.312 kB / 385.2 MB, free: 17.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.05e-05/0.006381, allocations: 19.92 kB / 385.2 MB, free: 17.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.006735, allocations: 336.2 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.047e-05/0.006806, allocations: 47.08 kB / 385.6 MB, free: 17.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.006823, allocations: 15.67 kB / 385.6 MB, free: 17.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.006848, allocations: 0 / 385.6 MB, free: 17.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.006873, allocations: 37.33 kB / 385.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.006874, allocations: 0 / 385.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005947/0.007469, allocations: 193.6 kB / 385.8 MB, free: 16.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.007503, allocations: 51.41 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.00782, allocations: 0.6117 MB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.007831, allocations: 25.7 kB / 386.5 MB, free: 16.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.00795, allocations: 302.7 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.007976, allocations: 23.73 kB / 386.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.008012, allocations: 27.38 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.008104, allocations: 0.5586 MB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.008124, allocations: 8 kB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.572e-05/0.008139, allocations: 4 kB / 387.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.607e-05/0.008185, allocations: 35.66 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.008187, allocations: 7.938 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.774e-05/0.008285, allocations: 97.41 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.008303, allocations: 5.719 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.00831, allocations: 3.938 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.008324, allocations: 4.094 kB / 387.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/0.008412, allocations: 19.97 kB / 387.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.008416, allocations: 0 / 387.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.008445, allocations: 12 kB / 387.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.008451, allocations: 3.938 kB / 387.6 MB, free: 14.96 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 (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 7.502e-05/0.008526, allocations: 160.5 kB / 387.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.008563, allocations: 51.72 kB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.008723, allocations: 109.8 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.008728, allocations: 4 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.008731, allocations: 0 / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.008736, allocations: 0 / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.009103, allocations: 437.5 kB / 388.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.009107, allocations: 3.984 kB / 388.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.009163, allocations: 12 kB / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.009168, allocations: 4.031 kB / 388.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.009175, allocations: 8 kB / 388.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.009178, allocations: 0 / 388.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.00918, allocations: 0 / 388.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.009313, allocations: 271.2 kB / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.009337, allocations: 31.72 kB / 388.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.009355, allocations: 0 / 388.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.636e-05/0.009402, allocations: 8 kB / 388.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.009445, allocations: 7.984 kB / 388.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.009451, allocations: 0 / 388.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.009635, allocations: 394.7 kB / 389.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.009636, allocations: 4 kB / 389.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.009852, allocations: 24 kB / 389.1 MB, free: 13.38 MB / 314.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.001009/0.01086, allocations: 432.9 kB / 389.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.011, allocations: 47.58 kB / 389.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01101, allocations: 0 / 389.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.004e-05/0.01104, allocations: 23.62 kB / 389.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.01135, allocations: 29.95 kB / 389.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006472/0.012, allocations: 0.6054 MB / 390.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.08e-05/0.01206, allocations: 115.2 kB / 390.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.06e-05/0.0121, allocations: 17.02 kB / 390.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.01215, allocations: 82.2 kB / 390.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01215, allocations: 0 / 390.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of Templates: time 0.004418/0.01657, allocations: 1.774 MB / 392.2 MB, free: 10.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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.3673648359254003]