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.0007512/0.0007512, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001757, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006828/0.0006828, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008652/0.001548, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9155/0.9155, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09607/1.012, allocations: 53.87 MB / 243.7 MB, free: 14.9 MB / 250.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.2603/0.2603, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02166/0.282, allocations: 13.23 MB / 292.6 MB, free: 6.457 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 1.242e-06/1.242e-06, allocations: 0 / 293.9 MB, free: 5.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.262e-05, allocations: 10.05 kB / 293.9 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002185/0.002198, allocations: 1.738 MB / 295.6 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007798/0.002978, allocations: 0.5756 MB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.00302, allocations: 0 / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004473/0.003468, allocations: 494.9 kB / 296.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.003799, allocations: 315.1 kB / 297 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.004035, allocations: 131.6 kB / 297.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.004212, allocations: 167.7 kB / 297.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.031e-05/0.004283, allocations: 11.98 kB / 297.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.004445, allocations: 163.7 kB / 297.5 MB, free: 1.559 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.004621, allocations: 195.6 kB / 297.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.004637, allocations: 4 kB / 297.7 MB, free: 1.363 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.004728, allocations: 47.92 kB / 297.7 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.968e-05/0.004808, allocations: 83.7 kB / 297.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.004846, allocations: 39.75 kB / 297.8 MB, free: 1.195 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.005069, allocations: 207 kB / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/0.005081, allocations: 3.984 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.005081, allocations: 0 / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.005091, allocations: 0 / 298 MB, free: 0.9883 MB / 282.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.003563/0.008654, allocations: 0.6004 MB / 298.6 MB, free: 368 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.008685, allocations: 8.922 kB / 298.6 MB, free: 360 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.008728, allocations: 24.91 kB / 298.7 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.008921, allocations: 246 kB / 298.9 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.008929, allocations: 4.375 kB / 298.9 MB, free: 60 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.008947, allocations: 8.328 kB / 298.9 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.009055, allocations: 63.5 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.009062, allocations: 4.188 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.009068, allocations: 384 / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.009072, allocations: 384 / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.763e-05/0.009099, allocations: 21.64 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.009307, allocations: 176.2 kB / 299.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.075e-05/0.009358, allocations: 30.59 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/0.009373, allocations: 8.859 kB / 299.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.009391, allocations: 4 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.009411, allocations: 38.62 kB / 299.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.02e-07/0.009412, allocations: 4 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004363/0.009848, allocations: 161.3 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.009876, allocations: 55.41 kB / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.01026, allocations: 0.5322 MB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.01027, allocations: 25.7 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.01034, allocations: 137.3 kB / 300.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.01036, allocations: 31.73 kB / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.0104, allocations: 21.7 kB / 300.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.0105, allocations: 366.6 kB / 300.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.01052, allocations: 8 kB / 300.6 MB, free: 14.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.01053, allocations: 7.938 kB / 300.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.64e-05/0.01057, allocations: 24.84 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.01057, allocations: 0 / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.945e-05/0.01065, allocations: 73.59 kB / 300.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.01066, allocations: 4 kB / 300.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.01066, allocations: 0 / 300.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/0.01067, allocations: 0 / 300.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.01074, allocations: 19.98 kB / 300.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.01074, allocations: 7.938 kB / 300.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.497e-05/0.01078, allocations: 11.98 kB / 300.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.01078, allocations: 0 / 300.7 MB, free: 14.12 MB / 298.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 6.814e-05/0.01085, allocations: 112.7 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.01089, allocations: 31.91 kB / 300.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.01101, allocations: 89.55 kB / 301 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.01101, allocations: 7.984 kB / 301 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01102, allocations: 0 / 301 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01102, allocations: 0 / 301 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.0113, allocations: 307.8 kB / 301.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01131, allocations: 0 / 301.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.01135, allocations: 23.92 kB / 301.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003037/0.01439, allocations: 31.72 kB / 301.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.01439, allocations: 4 kB / 301.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.0144, allocations: 7.984 kB / 301.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01441, allocations: 4 kB / 301.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01441, allocations: 0 / 301.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.01453, allocations: 180.4 kB / 301.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.01455, allocations: 0 / 301.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.01462, allocations: 15.97 kB / 301.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.01464, allocations: 7.984 kB / 301.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.01464, allocations: 0 / 301.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002324/0.01488, allocations: 283.2 kB / 301.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01488, allocations: 0 / 301.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.01508, allocations: 31.92 kB / 301.9 MB, free: 12.95 MB / 298.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.001549/0.01663, allocations: 0.6125 MB / 302.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.77e-05/0.01671, allocations: 44.7 kB / 302.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.01671, allocations: 4 kB / 302.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.01674, allocations: 16.86 kB / 302.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.01697, allocations: 41.89 kB / 302.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.02078, allocations: 0.6105 MB / 303.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.096e-05/0.02087, allocations: 119.2 kB / 303.3 MB, free: 11.78 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.772e-05/0.02092, allocations: 17.02 kB / 303.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.02097, allocations: 59.38 kB / 303.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02098, allocations: 0 / 303.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of Templates: time 0.007186/0.02816, allocations: 1.726 MB / 305.1 MB, free: 9.98 MB / 298.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 -ignoreHideResult -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: 2.727764317765832]