Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001336, 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.352/1.352, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001012/0.001013, allocations: 105.5 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3335/0.3335, allocations: 44.82 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 67.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3418, allocations: 62.01 MB / 0.5152 GB, free: 37.69 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002555/0.3445, allocations: 1.671 MB / 0.5168 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007409/0.3452, allocations: 0.5289 MB / 0.5173 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.3453, allocations: 0 / 0.5173 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.3457, allocations: 444.3 kB / 0.5177 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.346, allocations: 276.2 kB / 0.518 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.3463, allocations: 112.4 kB / 0.5181 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.3465, allocations: 158.7 kB / 0.5182 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.551e-05/0.3466, allocations: 9.844 kB / 0.5183 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.495e-05/0.3466, allocations: 105.1 kB / 0.5184 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.3468, allocations: 205.8 kB / 0.5186 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3468, allocations: 2.75 kB / 0.5186 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.052e-05/0.3469, allocations: 24.52 kB / 0.5186 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.775e-05/0.347, allocations: 83.89 kB / 0.5187 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.3471, allocations: 92.28 kB / 0.5187 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.3473, allocations: 237.8 kB / 0.519 GB, free: 35.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3473, allocations: 0 / 0.519 GB, free: 35.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.3473, allocations: 0 / 0.519 GB, free: 35.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3473, allocations: 0 / 0.519 GB, free: 35.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005283/0.3478, allocations: 0.6362 MB / 0.5196 GB, free: 35.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3479, allocations: 11.91 kB / 0.5196 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.3479, allocations: 41.62 kB / 0.5196 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.3481, allocations: 292.1 kB / 0.5199 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.3481, allocations: 384 / 0.5199 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.3482, allocations: 3.281 kB / 0.5199 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.3483, allocations: 52.73 kB / 0.52 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3483, allocations: 0 / 0.52 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.3483, allocations: 4 kB / 0.52 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3483, allocations: 6.906 kB / 0.52 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.138e-05/0.3484, allocations: 22.8 kB / 0.52 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.3487, allocations: 370.4 kB / 0.5204 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.985e-05/0.3488, allocations: 30.36 kB / 0.5204 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.3489, allocations: 13.83 kB / 0.5204 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.3489, allocations: 6.812 kB / 0.5204 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.254e-05/0.3489, allocations: 38.5 kB / 0.5204 GB, free: 34.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3489, allocations: 0 / 0.5204 GB, free: 34.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002124/0.3491, allocations: 91.3 kB / 0.5205 GB, free: 34.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.3492, allocations: 53.97 kB / 0.5206 GB, free: 34.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006746/0.3498, allocations: 0.8664 MB / 0.5214 GB, free: 34.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.3499, allocations: 29.83 kB / 0.5215 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.35, allocations: 226.5 kB / 0.5217 GB, free: 33.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.35, allocations: 7.094 kB / 0.5217 GB, free: 33.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.35, allocations: 12.75 kB / 0.5217 GB, free: 33.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.3501, allocations: 363.5 kB / 0.522 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.794e-05/0.3502, allocations: 10.11 kB / 0.5221 GB, free: 33.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.759e-05/0.3502, allocations: 2.5 kB / 0.5221 GB, free: 33.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.203e-05/0.3503, allocations: 33.5 kB / 0.5221 GB, free: 33.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3503, allocations: 0 / 0.5221 GB, free: 33.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001146/0.3504, allocations: 90.41 kB / 0.5222 GB, free: 33.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3504, allocations: 9.156 kB / 0.5222 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3504, allocations: 0 / 0.5222 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3505, allocations: 2.219 kB / 0.5222 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.839e-05/0.3505, allocations: 6.625 kB / 0.5222 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3505, allocations: 2.844 kB / 0.5222 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.01e-05/0.3506, allocations: 7.453 kB / 0.5222 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3506, allocations: 2.875 kB / 0.5222 GB, free: 33.35 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 (2): * Single equations (assignments): 2 * 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.0001246/0.3507, allocations: 211.1 kB / 0.5224 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.3508, allocations: 41.12 kB / 0.5224 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.3509, allocations: 107.4 kB / 0.5225 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3509, allocations: 6.391 kB / 0.5226 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.351, allocations: 0 / 0.5226 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.351, allocations: 4.031 kB / 0.5226 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.3511, allocations: 287.6 kB / 0.5228 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3512, allocations: 3.188 kB / 0.5228 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.3512, allocations: 2.938 kB / 0.5228 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.3512, allocations: 0 / 0.5228 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.3512, allocations: 2.688 kB / 0.5228 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3512, allocations: 0 / 0.5228 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3512, allocations: 4 kB / 0.5228 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.3515, allocations: 0.8285 MB / 0.5237 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.3516, allocations: 104.5 kB / 0.5238 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.3516, allocations: 3.938 kB / 0.5238 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.588e-05/0.3517, allocations: 5.516 kB / 0.5238 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.3517, allocations: 2.219 kB / 0.5238 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.3517, allocations: 0 / 0.5238 GB, free: 31.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004775/0.3522, allocations: 0.6542 MB / 0.5244 GB, free: 31.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3522, allocations: 7.938 kB / 0.5244 GB, free: 31.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003236/0.3526, allocations: 24.5 kB / 0.5244 GB, free: 31.73 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 (2): * Single equations (assignments): 2 * 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.000695/0.3533, allocations: 341.5 kB / 0.5248 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.3534, allocations: 24.28 kB / 0.5248 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3534, allocations: 0 / 0.5248 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.3535, allocations: 15.2 kB / 0.5248 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.3538, allocations: 28.95 kB / 0.5248 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008018/0.3546, allocations: 0.9332 MB / 0.5257 GB, free: 31.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.3549, allocations: 0.8232 MB / 0.5265 GB, free: 30.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.997e-05/0.3549, allocations: 10.83 kB / 0.5265 GB, free: 30.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.016e-05/0.3549, allocations: 10.31 kB / 0.5266 GB, free: 30.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3549, allocations: 0 / 0.5266 GB, free: 30.28 MB / 378.7 MB Notification: Performance of Templates: time 0.003674/0.3586, allocations: 1.249 MB / 0.5278 GB, free: 30.11 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches