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.001392/0.001392, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001453/0.001453, allocations: 160.5 kB / 24.55 MB, free: 16 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.066/1.066, allocations: 177 MB / 204.8 MB, free: 5.566 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.2731/0.2731, allocations: 34.86 MB / 296.3 MB, free: 0.5547 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|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.[0-9,]+.|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 1.362e-06/1.362e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.386e-05, allocations: 3.016 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002137/0.002161, allocations: 1.723 MB / 380.5 MB, free: 332 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008166/0.002977, allocations: 0.5719 MB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.106e-05/0.003048, allocations: 4 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004693/0.003518, allocations: 455 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004788/0.003996, allocations: 307.1 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.004307, allocations: 175.5 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.004511, allocations: 179.6 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.004614, allocations: 12.22 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.004725, allocations: 123.8 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.004912, allocations: 239.6 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.004929, allocations: 4 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.5e-05/0.005024, allocations: 55.86 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.868e-05/0.005113, allocations: 91.69 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.005152, allocations: 35.75 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.005378, allocations: 215.1 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00538, allocations: 0 / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005381, allocations: 0 / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.005386, allocations: 0 / 382.9 MB, free: 13.89 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.0005417/0.005928, allocations: 0.7086 MB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.005975, allocations: 12.03 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.006033, allocations: 48.66 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.006227, allocations: 244.9 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.006237, allocations: 12.38 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.006262, allocations: 384 / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.006375, allocations: 62.89 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.006384, allocations: 192 / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.006396, allocations: 12.3 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.006402, allocations: 384 / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.585e-05/0.006438, allocations: 19.92 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.006845, allocations: 439.5 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.728e-05/0.006912, allocations: 39.06 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.006937, allocations: 15.77 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.006957, allocations: 7.938 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.00698, allocations: 41.39 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.006981, allocations: 0 / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005444/0.007525, allocations: 256.6 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.007552, allocations: 55.41 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/0.007946, allocations: 0.6277 MB / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.007963, allocations: 29.7 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.008101, allocations: 278.8 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.008127, allocations: 35.73 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.008159, allocations: 27.38 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.008308, allocations: 0.5547 MB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.008331, allocations: 12 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.008349, allocations: 8 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.354e-05/0.008403, allocations: 39.66 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.008403, allocations: 0 / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001042/0.008508, allocations: 109.3 kB / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.008519, allocations: 4 kB / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.008523, allocations: 0 / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.008538, allocations: 4 kB / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.003e-05/0.008608, allocations: 19.98 kB / 386.6 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.008612, allocations: 0 / 386.6 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.008637, allocations: 4 kB / 386.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.008643, allocations: 0 / 386.6 MB, free: 9.977 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 7.001e-05/0.008713, allocations: 164.5 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.008748, allocations: 47.67 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.008896, allocations: 121.8 kB / 386.9 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.008898, allocations: 0 / 386.9 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.008901, allocations: 4 kB / 387 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.008904, allocations: 0 / 387 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.009278, allocations: 0.5125 MB / 387.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.00928, allocations: 0 / 387.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.009321, allocations: 23.98 kB / 387.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.009323, allocations: 0 / 387.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.00933, allocations: 0 / 387.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.009332, allocations: 4 kB / 387.5 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009333, allocations: 0 / 387.5 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.009461, allocations: 267.2 kB / 387.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.009485, allocations: 44.16 kB / 387.8 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.009501, allocations: 4 kB / 387.8 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.00954, allocations: 4 kB / 387.8 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.009571, allocations: 11.92 kB / 387.8 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.009575, allocations: 0 / 387.8 MB, free: 8.691 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002377/0.009813, allocations: 434.8 kB / 388.2 MB, free: 8.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009813, allocations: 0 / 388.2 MB, free: 8.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00017/0.009983, allocations: 24 kB / 388.3 MB, free: 8.246 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.0008417/0.01082, allocations: 429.9 kB / 388.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.01093, allocations: 43.61 kB / 388.7 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.01093, allocations: 0 / 388.7 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.01097, allocations: 31.61 kB / 388.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.0112, allocations: 37.62 kB / 388.8 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006909/0.0119, allocations: 0.608 MB / 389.4 MB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.318e-05/0.01198, allocations: 127.2 kB / 389.5 MB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.509e-05/0.01202, allocations: 20.72 kB / 389.5 MB, free: 7.031 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.01205, allocations: 12.5 kB / 389.6 MB, free: 7.02 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01206, allocations: 0 / 389.6 MB, free: 7.02 MB / 362.7 MB Notification: Performance of Templates: time 0.004074/0.01613, allocations: 1.646 MB / 391.2 MB, free: 5.383 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","",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.3018350559286773]