Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001844/0.001844, 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.288/1.288, allocations: 226.8 MB / 245.5 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009538/0.000954, allocations: 113.3 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.3805/0.3805, allocations: 44.83 MB / 392.7 MB, free: 34.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 63.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3342, allocations: 62.01 MB / 0.5151 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002662/0.337, allocations: 1.719 MB / 0.5168 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008545/0.3378, allocations: 0.5722 MB / 0.5174 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.3379, allocations: 0 / 0.5174 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004837/0.3384, allocations: 454.8 kB / 0.5178 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.3387, allocations: 265.9 kB / 0.5181 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.3391, allocations: 170.8 kB / 0.5182 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.3393, allocations: 170.3 kB / 0.5184 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3394, allocations: 16.66 kB / 0.5184 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.186e-05/0.3395, allocations: 106.6 kB / 0.5185 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.3397, allocations: 205.5 kB / 0.5187 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.3397, allocations: 0 / 0.5187 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.653e-05/0.3398, allocations: 28.05 kB / 0.5187 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.3399, allocations: 87.89 kB / 0.5188 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.12e-05/0.34, allocations: 108.1 kB / 0.5189 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.3402, allocations: 256 kB / 0.5192 GB, free: 35.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3402, allocations: 0 / 0.5192 GB, free: 35.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.3402, allocations: 0 / 0.5192 GB, free: 35.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3402, allocations: 0 / 0.5192 GB, free: 35.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005744/0.3408, allocations: 0.6374 MB / 0.5198 GB, free: 35.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3408, allocations: 8.531 kB / 0.5198 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.3409, allocations: 40.56 kB / 0.5198 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.3411, allocations: 296.6 kB / 0.5201 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.3411, allocations: 4.312 kB / 0.5201 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3412, allocations: 11.22 kB / 0.5201 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.3413, allocations: 54.75 kB / 0.5202 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3413, allocations: 0 / 0.5202 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.3414, allocations: 4 kB / 0.5202 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3414, allocations: 2.875 kB / 0.5202 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.884e-05/0.3415, allocations: 24.98 kB / 0.5202 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.3419, allocations: 403.9 kB / 0.5206 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.3421, allocations: 46.73 kB / 0.5206 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.3422, allocations: 18.16 kB / 0.5207 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.3422, allocations: 3.938 kB / 0.5207 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.3422, allocations: 33.53 kB / 0.5207 GB, free: 34.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3422, allocations: 0 / 0.5207 GB, free: 34.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005467/0.3428, allocations: 238.1 kB / 0.5209 GB, free: 34.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.3428, allocations: 55.34 kB / 0.521 GB, free: 34.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006113/0.3434, allocations: 0.8659 MB / 0.5218 GB, free: 33.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.3434, allocations: 25.7 kB / 0.5218 GB, free: 33.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3436, allocations: 223.8 kB / 0.5221 GB, free: 33.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.3436, allocations: 17.77 kB / 0.5221 GB, free: 33.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.3436, allocations: 22.97 kB / 0.5221 GB, free: 33.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.3437, allocations: 363.5 kB / 0.5224 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.3438, allocations: 20.31 kB / 0.5225 GB, free: 33.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-05/0.3438, allocations: 27.94 kB / 0.5225 GB, free: 33.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.344, allocations: 53.34 kB / 0.5225 GB, free: 33.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.344, allocations: 0 / 0.5225 GB, free: 33.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001776/0.3441, allocations: 120.6 kB / 0.5227 GB, free: 33.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3442, allocations: 4.969 kB / 0.5227 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3442, allocations: 6.688 kB / 0.5227 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3442, allocations: 0 / 0.5227 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.604e-05/0.3443, allocations: 11.62 kB / 0.5227 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.3443, allocations: 2.906 kB / 0.5227 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.3443, allocations: 13.77 kB / 0.5227 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.3443, allocations: 0 / 0.5227 GB, free: 33.18 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 (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.0001369/0.3445, allocations: 217.7 kB / 0.5229 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.3445, allocations: 45.03 kB / 0.5229 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.3448, allocations: 139.4 kB / 0.5231 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3448, allocations: 288 / 0.5231 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3448, allocations: 0 / 0.5231 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3448, allocations: 7.922 kB / 0.5231 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.3453, allocations: 471.3 kB / 0.5235 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3453, allocations: 0 / 0.5235 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.3453, allocations: 14.23 kB / 0.5236 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3453, allocations: 0 / 0.5236 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3453, allocations: 3.938 kB / 0.5236 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3454, allocations: 0 / 0.5236 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3454, allocations: 6.406 kB / 0.5236 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.3458, allocations: 0.8819 MB / 0.5244 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.3459, allocations: 111.1 kB / 0.5245 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.3459, allocations: 0 / 0.5245 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.346, allocations: 2.688 kB / 0.5245 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.346, allocations: 9.828 kB / 0.5245 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.346, allocations: 2.969 kB / 0.5245 GB, free: 31.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004659/0.3465, allocations: 0.6565 MB / 0.5252 GB, free: 31.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3465, allocations: 2.75 kB / 0.5252 GB, free: 31.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003497/0.3469, allocations: 24.53 kB / 0.5252 GB, free: 31.41 MB / 378.7 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.0007974/0.3477, allocations: 399.8 kB / 0.5256 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.3479, allocations: 53.77 kB / 0.5256 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3479, allocations: 0 / 0.5256 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.949e-05/0.348, allocations: 31.69 kB / 0.5257 GB, free: 31.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.3483, allocations: 31.25 kB / 0.5257 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009384/0.3493, allocations: 0.9983 MB / 0.5267 GB, free: 30.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.3495, allocations: 0.8251 MB / 0.5275 GB, free: 29.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.595e-05/0.3496, allocations: 26.3 kB / 0.5275 GB, free: 29.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.3496, allocations: 12.66 kB / 0.5275 GB, free: 29.88 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3496, allocations: 0 / 0.5275 GB, free: 29.88 MB / 378.7 MB Notification: Performance of Templates: time 0.004119/0.3537, allocations: 1.465 MB / 0.529 GB, free: 29.68 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches