Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001738/0.001738, 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.396/1.396, 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.0009281/0.0009284, allocations: 102.3 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.3546/0.3546, allocations: 44.83 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 63.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3063, allocations: 62.01 MB / 0.5152 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002687/0.309, allocations: 1.731 MB / 0.5168 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008478/0.3099, allocations: 0.5688 MB / 0.5174 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.3099, allocations: 0 / 0.5174 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.3101, allocations: 60.67 kB / 0.5175 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.3104, allocations: 85.55 kB / 0.5175 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.3107, allocations: 154.7 kB / 0.5177 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3108, allocations: 88.88 kB / 0.5178 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3109, allocations: 22.89 kB / 0.5178 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.648e-05/0.311, allocations: 32.88 kB / 0.5178 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/0.3111, allocations: 49.98 kB / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.3111, allocations: 6.562 kB / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-05/0.3112, allocations: 47.8 kB / 0.5179 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.3112, allocations: 23.59 kB / 0.5179 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.3113, allocations: 33.52 kB / 0.518 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.3114, allocations: 109.7 kB / 0.5181 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3115, allocations: 0 / 0.5181 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3115, allocations: 0 / 0.5181 GB, free: 35.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.3115, allocations: 3.938 kB / 0.5181 GB, free: 35.91 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.0003954/0.3119, allocations: 416.3 kB / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.3119, allocations: 9.812 kB / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.3119, allocations: 11.72 kB / 0.5185 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3121, allocations: 206.3 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3121, allocations: 7.312 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.3121, allocations: 7.234 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3123, allocations: 68.44 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3123, allocations: 0 / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.3123, allocations: 4 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3123, allocations: 0 / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.3125, allocations: 52.06 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.3128, allocations: 318.7 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.3131, allocations: 64.12 kB / 0.5192 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.565e-05/0.3131, allocations: 28.14 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3132, allocations: 0 / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.049e-05/0.3132, allocations: 37.41 kB / 0.5193 GB, free: 34.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.3132, allocations: 0 / 0.5193 GB, free: 34.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001289/0.3145, allocations: 426.3 kB / 0.5197 GB, free: 34.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.3145, allocations: 55.34 kB / 0.5197 GB, free: 34.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.3146, allocations: 199.2 kB / 0.5199 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.3147, allocations: 28.27 kB / 0.5199 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.3147, allocations: 104.6 kB / 0.52 GB, free: 34.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.3147, allocations: 41.61 kB / 0.5201 GB, free: 34.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.3148, allocations: 27.75 kB / 0.5201 GB, free: 34.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.773e-05/0.3148, allocations: 324.9 kB / 0.5204 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.315, allocations: 51.08 kB / 0.5205 GB, free: 33.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3151, allocations: 56.64 kB / 0.5205 GB, free: 33.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.3153, allocations: 121.9 kB / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3153, allocations: 2.938 kB / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002868/0.3156, allocations: 164.8 kB / 0.5208 GB, free: 33.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3156, allocations: 11.09 kB / 0.5208 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3157, allocations: 0 / 0.5208 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3157, allocations: 0 / 0.5208 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.3158, allocations: 35.17 kB / 0.5208 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.3158, allocations: 0 / 0.5208 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.3158, allocations: 13.17 kB / 0.5208 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3159, allocations: 2.906 kB / 0.5209 GB, free: 33.82 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.814e-05/0.3159, allocations: 136.6 kB / 0.521 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.316, allocations: 13.16 kB / 0.521 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.3164, allocations: 189.2 kB / 0.5212 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3164, allocations: 3.938 kB / 0.5212 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3164, allocations: 0 / 0.5212 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3164, allocations: 0 / 0.5212 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005542/0.3169, allocations: 0.5028 MB / 0.5217 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.317, allocations: 0 / 0.5217 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.891e-05/0.3171, allocations: 26.3 kB / 0.5217 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3171, allocations: 96 / 0.5217 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3171, allocations: 10.72 kB / 0.5217 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.3171, allocations: 6.719 kB / 0.5217 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3171, allocations: 0 / 0.5217 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006444/0.3177, allocations: 0.899 MB / 0.5226 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.3178, allocations: 87.45 kB / 0.5227 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.3178, allocations: 6.656 kB / 0.5227 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/0.3179, allocations: 8.766 kB / 0.5227 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.318, allocations: 16.7 kB / 0.5227 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.318, allocations: 10.78 kB / 0.5227 GB, free: 32.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.725e-05/0.3181, allocations: 150 kB / 0.5229 GB, free: 32.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3181, allocations: 4 kB / 0.5229 GB, free: 32.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.3184, allocations: 22.19 kB / 0.5229 GB, free: 32.17 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.0008647/0.3193, allocations: 456 kB / 0.5233 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.3196, allocations: 124.8 kB / 0.5234 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3196, allocations: 0 / 0.5234 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.3197, allocations: 69.08 kB / 0.5235 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.3201, allocations: 18.81 kB / 0.5235 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.3206, allocations: 493.8 kB / 0.524 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.3207, allocations: 0.7197 MB / 0.5247 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.158e-05/0.3208, allocations: 32.53 kB / 0.5247 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.3209, allocations: 24.38 kB / 0.5247 GB, free: 30.79 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3209, allocations: 0 / 0.5247 GB, free: 30.79 MB / 378.7 MB Notification: Performance of Templates: time 0.003273/0.3242, allocations: 1.563 MB / 0.5263 GB, free: 30.62 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches