Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001699/0.001699, 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.342/1.342, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 100.9 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3561/0.3561, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 60.14 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2975, allocations: 62.02 MB / 0.5152 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002828/0.3003, allocations: 1.733 MB / 0.5168 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007946/0.3012, allocations: 0.5744 MB / 0.5174 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.3012, allocations: 3.938 kB / 0.5174 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.3015, allocations: 55.61 kB / 0.5175 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.3017, allocations: 74.33 kB / 0.5175 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.3021, allocations: 172.9 kB / 0.5177 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.3023, allocations: 82.78 kB / 0.5178 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3024, allocations: 22.94 kB / 0.5178 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.732e-05/0.3025, allocations: 33.75 kB / 0.5178 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.3026, allocations: 42.8 kB / 0.5179 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3026, allocations: 2.625 kB / 0.5179 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.3027, allocations: 42.78 kB / 0.5179 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.811e-05/0.3028, allocations: 27.19 kB / 0.5179 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.3029, allocations: 37.69 kB / 0.518 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.3031, allocations: 109 kB / 0.5181 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3031, allocations: 0 / 0.5181 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3031, allocations: 4 kB / 0.5181 GB, free: 35.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3031, allocations: 0 / 0.5181 GB, free: 35.96 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.000577/0.3037, allocations: 413.4 kB / 0.5185 GB, free: 35.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3038, allocations: 11.72 kB / 0.5185 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.3038, allocations: 11.27 kB / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.304, allocations: 199.9 kB / 0.5187 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.304, allocations: 7.188 kB / 0.5187 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.3041, allocations: 7.188 kB / 0.5187 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.3042, allocations: 75.83 kB / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3043, allocations: 0 / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3043, allocations: 4 kB / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3043, allocations: 0 / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.3044, allocations: 38.34 kB / 0.5188 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.3048, allocations: 323.2 kB / 0.5191 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.3051, allocations: 55.97 kB / 0.5192 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.23e-05/0.3052, allocations: 27.83 kB / 0.5192 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.3052, allocations: 2.969 kB / 0.5192 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.3052, allocations: 42.53 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3052, allocations: 0 / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001353/0.3066, allocations: 414.2 kB / 0.5196 GB, free: 34.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.3066, allocations: 59.34 kB / 0.5197 GB, free: 34.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.3068, allocations: 186.6 kB / 0.5199 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.3068, allocations: 37.06 kB / 0.5199 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.3069, allocations: 105.8 kB / 0.52 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.3069, allocations: 34.81 kB / 0.52 GB, free: 34.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.307, allocations: 23.53 kB / 0.5201 GB, free: 34.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.31e-05/0.3071, allocations: 323.8 kB / 0.5204 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3072, allocations: 52.84 kB / 0.5204 GB, free: 34.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.3073, allocations: 55.27 kB / 0.5205 GB, free: 34.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.3076, allocations: 129.8 kB / 0.5206 GB, free: 33.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3076, allocations: 0 / 0.5206 GB, free: 33.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002857/0.3079, allocations: 167.3 kB / 0.5208 GB, free: 33.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3079, allocations: 3.562 kB / 0.5208 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.3079, allocations: 3.844 kB / 0.5208 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3079, allocations: 8 kB / 0.5208 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/0.308, allocations: 28.84 kB / 0.5208 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.308, allocations: 2.688 kB / 0.5208 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.682e-05/0.3081, allocations: 12.66 kB / 0.5208 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.3081, allocations: 2.812 kB / 0.5208 GB, free: 33.9 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 (11): * Single equations (assignments): 11 * 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 7.213e-05/0.3082, allocations: 135.5 kB / 0.521 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.3082, allocations: 9.312 kB / 0.521 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.3086, allocations: 188.1 kB / 0.5211 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3086, allocations: 10.88 kB / 0.5212 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.3086, allocations: 0 / 0.5212 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3086, allocations: 3.328 kB / 0.5212 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.3092, allocations: 0.4946 MB / 0.5216 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3092, allocations: 0 / 0.5216 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.182e-05/0.3093, allocations: 36.44 kB / 0.5217 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3093, allocations: 0 / 0.5217 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3094, allocations: 2.844 kB / 0.5217 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3094, allocations: 0 / 0.5217 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3094, allocations: 2.812 kB / 0.5217 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/0.3099, allocations: 0.9041 MB / 0.5226 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.31, allocations: 91.55 kB / 0.5226 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.31, allocations: 2.656 kB / 0.5227 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.684e-05/0.3101, allocations: 7.906 kB / 0.5227 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.3102, allocations: 17.06 kB / 0.5227 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3102, allocations: 6.312 kB / 0.5227 GB, free: 32.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.918e-05/0.3102, allocations: 141.2 kB / 0.5228 GB, free: 32.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3103, allocations: 2.906 kB / 0.5228 GB, free: 32.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003343/0.3106, allocations: 29 kB / 0.5228 GB, free: 32.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008979/0.3115, allocations: 449.5 kB / 0.5233 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.3118, allocations: 135.6 kB / 0.5234 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3118, allocations: 0 / 0.5234 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.312, allocations: 68.39 kB / 0.5235 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.3124, allocations: 25 kB / 0.5235 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.3129, allocations: 473.7 kB / 0.5239 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.313, allocations: 0.7197 MB / 0.5246 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.608e-05/0.3131, allocations: 30.94 kB / 0.5247 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.3132, allocations: 19.5 kB / 0.5247 GB, free: 30.88 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3132, allocations: 0 / 0.5247 GB, free: 30.88 MB / 378.7 MB Notification: Performance of Templates: time 0.003932/0.3171, allocations: 1.56 MB / 0.5262 GB, free: 30.7 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches