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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001079/0.001079, allocations: 98.33 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3212/0.3212, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 63.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3274, allocations: 62.02 MB / 0.5152 GB, free: 37.72 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002409/0.3299, allocations: 1.725 MB / 0.5168 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006953/0.3306, allocations: 0.5518 MB / 0.5174 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.3307, allocations: 0 / 0.5174 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.3311, allocations: 448.4 kB / 0.5178 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.3313, allocations: 272.5 kB / 0.5181 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.3316, allocations: 123.4 kB / 0.5182 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.3317, allocations: 170.9 kB / 0.5183 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.048e-05/0.3318, allocations: 12.22 kB / 0.5184 GB, free: 36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.391e-05/0.3319, allocations: 101.5 kB / 0.5185 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.3321, allocations: 219.2 kB / 0.5187 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3321, allocations: 2.875 kB / 0.5187 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.197e-05/0.3322, allocations: 50.95 kB / 0.5187 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.3323, allocations: 85.33 kB / 0.5188 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.3323, allocations: 99.91 kB / 0.5189 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.3325, allocations: 258.4 kB / 0.5191 GB, free: 35.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3325, allocations: 0 / 0.5191 GB, free: 35.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.3325, allocations: 0 / 0.5191 GB, free: 35.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.3325, allocations: 4 kB / 0.5191 GB, free: 35.71 MB / 378.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.0004973/0.333, allocations: 0.6499 MB / 0.5198 GB, free: 35.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.752e-05/0.3331, allocations: 10.59 kB / 0.5198 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.3331, allocations: 43.31 kB / 0.5198 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.3333, allocations: 299.2 kB / 0.5201 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-06/0.3333, allocations: 7.094 kB / 0.5201 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.3333, allocations: 3.344 kB / 0.5201 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.3334, allocations: 58.55 kB / 0.5202 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3335, allocations: 4 kB / 0.5202 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3335, allocations: 7.984 kB / 0.5202 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3335, allocations: 2.625 kB / 0.5202 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.04e-05/0.3336, allocations: 26.5 kB / 0.5202 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.3339, allocations: 401.7 kB / 0.5206 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.032e-05/0.334, allocations: 42.83 kB / 0.5206 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.334, allocations: 18.03 kB / 0.5207 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3341, allocations: 6.906 kB / 0.5207 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.3341, allocations: 30.56 kB / 0.5207 GB, free: 34.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3341, allocations: 0 / 0.5207 GB, free: 34.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007521/0.3349, allocations: 307.3 kB / 0.521 GB, free: 34.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.3349, allocations: 59.34 kB / 0.521 GB, free: 34.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.3355, allocations: 0.8654 MB / 0.5219 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.3355, allocations: 28.45 kB / 0.5219 GB, free: 33.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.3356, allocations: 218.2 kB / 0.5221 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.3356, allocations: 29.67 kB / 0.5222 GB, free: 33.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.3357, allocations: 23.41 kB / 0.5222 GB, free: 33.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.25e-05/0.3357, allocations: 362.4 kB / 0.5225 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.876e-05/0.3358, allocations: 24.89 kB / 0.5225 GB, free: 33.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.944e-05/0.3359, allocations: 25.7 kB / 0.5226 GB, free: 33.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.336, allocations: 62.98 kB / 0.5226 GB, free: 33.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.336, allocations: 0 / 0.5226 GB, free: 33.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001861/0.3362, allocations: 144.1 kB / 0.5228 GB, free: 33.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.3362, allocations: 5.75 kB / 0.5228 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3362, allocations: 0 / 0.5228 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3362, allocations: 6.875 kB / 0.5228 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.3363, allocations: 17.3 kB / 0.5228 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3363, allocations: 6.812 kB / 0.5228 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.3364, allocations: 2.625 kB / 0.5228 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.3364, allocations: 2.531 kB / 0.5228 GB, free: 33.11 MB / 378.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.0001338/0.3366, allocations: 222.6 kB / 0.523 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.3366, allocations: 42.88 kB / 0.5231 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.3369, allocations: 154.8 kB / 0.5232 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3369, allocations: 2.906 kB / 0.5232 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.3369, allocations: 3.938 kB / 0.5232 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3369, allocations: 0 / 0.5232 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.3374, allocations: 0.5015 MB / 0.5237 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3374, allocations: 3.938 kB / 0.5237 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.3374, allocations: 16.42 kB / 0.5237 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3374, allocations: 0 / 0.5237 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.3375, allocations: 2.875 kB / 0.5237 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3375, allocations: 3.938 kB / 0.5237 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3375, allocations: 0 / 0.5237 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.3379, allocations: 0.9064 MB / 0.5246 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.338, allocations: 112.1 kB / 0.5247 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.338, allocations: 0 / 0.5247 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.071e-05/0.3381, allocations: 16.52 kB / 0.5247 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.3381, allocations: 2.969 kB / 0.5247 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.3381, allocations: 2.719 kB / 0.5247 GB, free: 31.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004602/0.3386, allocations: 0.6598 MB / 0.5254 GB, free: 31.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3386, allocations: 0 / 0.5254 GB, free: 31.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003436/0.3389, allocations: 27.02 kB / 0.5254 GB, free: 31.28 MB / 378.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.000846/0.3398, allocations: 446.7 kB / 0.5258 GB, free: 31.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.34, allocations: 79.28 kB / 0.5259 GB, free: 31.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.34, allocations: 6.844 kB / 0.5259 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.391e-05/0.3401, allocations: 34.44 kB / 0.526 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3404, allocations: 31.14 kB / 0.526 GB, free: 31.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008402/0.3413, allocations: 1.021 MB / 0.527 GB, free: 30.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.3415, allocations: 0.8384 MB / 0.5278 GB, free: 29.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.971e-05/0.3416, allocations: 5.906 kB / 0.5278 GB, free: 29.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.3416, allocations: 19.47 kB / 0.5278 GB, free: 29.69 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3416, allocations: 0 / 0.5278 GB, free: 29.69 MB / 378.7 MB Notification: Performance of Templates: time 0.003938/0.3455, allocations: 1.676 MB / 0.5295 GB, free: 29.49 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches