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.001412/0.001412, allocations: 91.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.001531/0.001531, allocations: 156.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.005/1.005, allocations: 177 MB / 204.8 MB, free: 5.625 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.2866/0.2866, allocations: 34.87 MB / 296.3 MB, free: 0.5625 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.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 3.277e-06/3.277e-06, allocations: 3.984 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/3.067e-05, allocations: 6.312 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003318/0.003349, allocations: 1.711 MB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.004351, allocations: 0.5563 MB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.243e-05/0.004414, allocations: 0 / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.005012, allocations: 455.1 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005707/0.005582, allocations: 295.2 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.005981, allocations: 135.5 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.006313, allocations: 175.6 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.006426, allocations: 15.97 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.006596, allocations: 119.8 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.006867, allocations: 243.6 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.00689, allocations: 4 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.007017, allocations: 51.91 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.007146, allocations: 87.7 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.007198, allocations: 39.69 kB / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.007531, allocations: 207.1 kB / 382.9 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.007534, allocations: 0 / 382.9 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.007535, allocations: 0 / 382.9 MB, free: 14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.007541, allocations: 0 / 382.9 MB, free: 14 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.0007078/0.008249, allocations: 0.7009 MB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.008295, allocations: 8.031 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.106e-05/0.008376, allocations: 48.64 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.00862, allocations: 252.8 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.008631, allocations: 4.375 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.008654, allocations: 12.31 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.0088, allocations: 70.88 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.008813, allocations: 192 / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.008825, allocations: 384 / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.008834, allocations: 384 / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.278e-05/0.008887, allocations: 27.86 kB / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.009473, allocations: 431.6 kB / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.739e-05/0.009561, allocations: 47.08 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.009588, allocations: 7.688 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.009613, allocations: 7.938 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.009639, allocations: 33.39 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.00964, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007092/0.01035, allocations: 257.1 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.01039, allocations: 59.41 kB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005856/0.01097, allocations: 0.6277 MB / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.01099, allocations: 25.7 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.01119, allocations: 286.7 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.01122, allocations: 27.73 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.01127, allocations: 27.38 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.01148, allocations: 0.5586 MB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.877e-05/0.01151, allocations: 8 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.693e-05/0.01153, allocations: 15.92 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/0.01189, allocations: 31.69 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.0119, allocations: 0 / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001524/0.01205, allocations: 113.4 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.01207, allocations: 4 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.01207, allocations: 0 / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.01209, allocations: 0 / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.01219, allocations: 19.92 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.0122, allocations: 4 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.885e-05/0.01224, allocations: 0 / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.01225, allocations: 7.984 kB / 386.5 MB, free: 10.1 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.0001032/0.01235, allocations: 160.5 kB / 386.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.01241, allocations: 51.7 kB / 386.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.01262, allocations: 113.8 kB / 386.9 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01262, allocations: 3.938 kB / 386.9 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01262, allocations: 0 / 386.9 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01263, allocations: 0 / 386.9 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.01315, allocations: 0.5087 MB / 387.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01316, allocations: 0 / 387.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.01321, allocations: 19.92 kB / 387.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.01322, allocations: 4 kB / 387.4 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.01323, allocations: 8.031 kB / 387.4 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01323, allocations: 0 / 387.4 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01323, allocations: 0 / 387.4 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.01342, allocations: 271.3 kB / 387.7 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.01346, allocations: 31.72 kB / 387.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.01348, allocations: 7.938 kB / 387.7 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.01355, allocations: 0 / 387.7 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.01359, allocations: 15.92 kB / 387.7 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.0136, allocations: 4 kB / 387.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000356/0.01395, allocations: 426.8 kB / 388.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01395, allocations: 0 / 388.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003048/0.01426, allocations: 31.94 kB / 388.2 MB, free: 8.375 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.001252/0.01551, allocations: 419 kB / 388.6 MB, free: 8.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.01566, allocations: 43.59 kB / 388.6 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.01567, allocations: 4 kB / 388.6 MB, free: 8.039 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.262e-05/0.01571, allocations: 23.67 kB / 388.7 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.01609, allocations: 32.28 kB / 388.7 MB, free: 7.984 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009604/0.01705, allocations: 0.6094 MB / 389.3 MB, free: 7.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.01716, allocations: 123.2 kB / 389.4 MB, free: 7.199 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.331e-05/0.01722, allocations: 8.734 kB / 389.4 MB, free: 7.188 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.01727, allocations: 20.48 kB / 389.4 MB, free: 7.168 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01727, allocations: 3.938 kB / 389.4 MB, free: 7.164 MB / 362.7 MB Notification: Performance of Templates: time 0.005425/0.02269, allocations: 1.718 MB / 391.2 MB, free: 5.457 MB / 362.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.1645770417526364]