Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001883/0.001883, allocations: 89.14 kB / 20.68 MB, free: 1.023 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.002223/0.002223, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.586/1.586, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 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.2149/0.2149, allocations: 34.26 MB / 294.8 MB, free: 14.51 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 442.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.641e-05, allocations: 6.219 kB / 442.7 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003039/0.003066, allocations: 1.646 MB / 444.3 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.004174, allocations: 0.533 MB / 444.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.004225, allocations: 4 kB / 444.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006236/0.004848, allocations: 451 kB / 445.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005098/0.005358, allocations: 295.2 kB / 445.6 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.005711, allocations: 135.5 kB / 445.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.005969, allocations: 171.6 kB / 445.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.006071, allocations: 11.84 kB / 445.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.00624, allocations: 119.8 kB / 446 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.006526, allocations: 239.5 kB / 446.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.00655, allocations: 8 kB / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-05/0.006648, allocations: 39.91 kB / 446.3 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.006767, allocations: 83.72 kB / 446.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.006825, allocations: 31.75 kB / 446.4 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.00717, allocations: 243.1 kB / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.007174, allocations: 0 / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.007175, allocations: 0 / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.00718, allocations: 0 / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007832/0.007963, allocations: 0.5853 MB / 447.2 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.007998, allocations: 12.03 kB / 447.3 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.231e-05/0.00807, allocations: 40.66 kB / 447.3 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.008362, allocations: 246 kB / 447.5 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.008372, allocations: 384 / 447.5 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.008399, allocations: 4.375 kB / 447.5 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.008544, allocations: 50.25 kB / 447.6 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.008556, allocations: 192 / 447.6 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.008569, allocations: 4.359 kB / 447.6 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.008574, allocations: 384 / 447.6 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.008682, allocations: 43.81 kB / 447.6 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.189/0.1977, allocations: 315.4 kB / 447.9 MB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.198, allocations: 45.47 kB / 448 MB, free: 19.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.198, allocations: 13.88 kB / 448 MB, free: 19.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.1981, allocations: 4.438 kB / 448 MB, free: 19.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.1981, allocations: 35.56 kB / 448 MB, free: 19.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.1981, allocations: 1.062 kB / 448 MB, free: 19.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006597/0.1988, allocations: 235.5 kB / 448.3 MB, free: 19.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.1988, allocations: 52.53 kB / 448.3 MB, free: 19.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/0.1996, allocations: 0.8617 MB / 449.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.1996, allocations: 29.7 kB / 449.2 MB, free: 18.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.1997, allocations: 213.1 kB / 449.4 MB, free: 18.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1997, allocations: 12.8 kB / 449.4 MB, free: 18.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.1998, allocations: 19.98 kB / 449.5 MB, free: 18.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.1999, allocations: 363.5 kB / 449.8 MB, free: 18.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.281e-05/0.1999, allocations: 23.05 kB / 449.8 MB, free: 18.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-05/0.2, allocations: 15.27 kB / 449.8 MB, free: 18.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.2001, allocations: 49.8 kB / 449.9 MB, free: 18.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.2001, allocations: 0 / 449.9 MB, free: 18.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002053/0.2003, allocations: 119.2 kB / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2004, allocations: 4.594 kB / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2004, allocations: 4.641 kB / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2004, allocations: 0 / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.835e-05/0.2004, allocations: 17.34 kB / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.2004, allocations: 3.938 kB / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.764e-05/0.2005, allocations: 6.094 kB / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.2005, allocations: 1.156 kB / 450 MB, free: 18.2 MB / 366.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 0.0001496/0.2007, allocations: 214.9 kB / 450.3 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.2007, allocations: 43.42 kB / 450.3 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.201, allocations: 134.3 kB / 450.4 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.201, allocations: 1.312 kB / 450.4 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.201, allocations: 0 / 450.4 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.201, allocations: 7.094 kB / 450.4 MB, free: 17.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.2015, allocations: 404.8 kB / 450.8 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2015, allocations: 0 / 450.8 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/0.2015, allocations: 13.42 kB / 450.8 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2015, allocations: 2.875 kB / 450.9 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.2016, allocations: 0 / 450.9 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2016, allocations: 4.547 kB / 450.9 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2016, allocations: 0.9688 kB / 450.9 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.2018, allocations: 224 kB / 451.1 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.2019, allocations: 35.34 kB / 451.1 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.2019, allocations: 0 / 451.1 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.652e-05/0.202, allocations: 9.172 kB / 451.1 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.202, allocations: 11 kB / 451.1 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.202, allocations: 1.75 kB / 451.1 MB, free: 17.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000628/0.2026, allocations: 0.6517 MB / 451.8 MB, free: 17.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2026, allocations: 0 / 451.8 MB, free: 17.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.2029, allocations: 22.61 kB / 451.8 MB, free: 17.24 MB / 366.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.001624/0.2045, allocations: 421.6 kB / 452.2 MB, free: 17.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.2048, allocations: 46.58 kB / 452.3 MB, free: 17.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2048, allocations: 0 / 452.3 MB, free: 17.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.657e-05/0.2049, allocations: 27.83 kB / 452.3 MB, free: 17.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.2053, allocations: 20.55 kB / 452.3 MB, free: 17.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.2067, allocations: 0.7965 MB / 453.1 MB, free: 16.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.2069, allocations: 222.1 kB / 453.3 MB, free: 16.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.452e-05/0.207, allocations: 6.641 kB / 453.3 MB, free: 16.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.207, allocations: 13.91 kB / 453.3 MB, free: 16.59 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.207, allocations: 0 / 453.3 MB, free: 16.59 MB / 366.1 MB Notification: Performance of Templates: time 0.00575/0.2128, allocations: 1.352 MB / 454.7 MB, free: 16.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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: 4.970503151416779]