Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001616/0.001616, 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.347/1.347, allocations: 226.7 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.000984/0.000984, allocations: 106.6 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3806/0.3806, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 68.12 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3204, allocations: 62.01 MB / 0.5152 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002721/0.3232, allocations: 1.711 MB / 0.5168 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007924/0.324, allocations: 0.5396 MB / 0.5173 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.324, allocations: 6.75 kB / 0.5174 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.3245, allocations: 451.1 kB / 0.5178 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.3248, allocations: 272 kB / 0.518 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.3252, allocations: 116.2 kB / 0.5182 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.3253, allocations: 166.8 kB / 0.5183 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.837e-05/0.3254, allocations: 16.56 kB / 0.5183 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.07e-05/0.3255, allocations: 107.3 kB / 0.5184 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.3257, allocations: 204.5 kB / 0.5186 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.3258, allocations: 0 / 0.5186 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.699e-05/0.3258, allocations: 29.94 kB / 0.5187 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.335e-05/0.3259, allocations: 90.02 kB / 0.5187 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.326, allocations: 104.7 kB / 0.5188 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.3262, allocations: 243.9 kB / 0.5191 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3262, allocations: 2.719 kB / 0.5191 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.3262, allocations: 0 / 0.5191 GB, free: 35.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3263, allocations: 0 / 0.5191 GB, free: 35.88 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.0005632/0.3268, allocations: 0.6399 MB / 0.5197 GB, free: 35.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3269, allocations: 11.38 kB / 0.5197 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.3269, allocations: 38.94 kB / 0.5197 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.3272, allocations: 302.4 kB / 0.52 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3272, allocations: 7.281 kB / 0.52 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.3272, allocations: 384 / 0.52 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.3273, allocations: 62.69 kB / 0.5201 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3274, allocations: 0 / 0.5201 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3274, allocations: 0 / 0.5201 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3274, allocations: 0 / 0.5201 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.516e-05/0.3275, allocations: 21.84 kB / 0.5201 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.3279, allocations: 396.8 kB / 0.5205 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.3281, allocations: 39.81 kB / 0.5205 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.3281, allocations: 13.67 kB / 0.5206 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3282, allocations: 0 / 0.5206 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.3282, allocations: 34.56 kB / 0.5206 GB, free: 34.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3282, allocations: 0 / 0.5206 GB, free: 34.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000546/0.3288, allocations: 226.9 kB / 0.5208 GB, free: 34.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.3288, allocations: 51.41 kB / 0.5209 GB, free: 34.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006488/0.3294, allocations: 0.8619 MB / 0.5217 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.3295, allocations: 29.64 kB / 0.5217 GB, free: 34.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.3296, allocations: 223.5 kB / 0.5219 GB, free: 33.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.3296, allocations: 21.58 kB / 0.522 GB, free: 33.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.3296, allocations: 22.88 kB / 0.522 GB, free: 33.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.3297, allocations: 363 kB / 0.5223 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.309e-05/0.3298, allocations: 21.42 kB / 0.5223 GB, free: 33.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.413e-05/0.3298, allocations: 23.52 kB / 0.5224 GB, free: 33.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.33, allocations: 43.2 kB / 0.5224 GB, free: 33.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.33, allocations: 0 / 0.5224 GB, free: 33.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001712/0.3301, allocations: 116.9 kB / 0.5225 GB, free: 33.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3302, allocations: 5.812 kB / 0.5225 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3302, allocations: 0 / 0.5225 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3302, allocations: 3.938 kB / 0.5225 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.158e-05/0.3303, allocations: 15.97 kB / 0.5225 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3303, allocations: 2.906 kB / 0.5225 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.3303, allocations: 10.81 kB / 0.5226 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.3303, allocations: 0 / 0.5226 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 (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.0001464/0.3305, allocations: 218.6 kB / 0.5228 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.3305, allocations: 43.53 kB / 0.5228 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.3308, allocations: 128 kB / 0.5229 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3308, allocations: 0 / 0.5229 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3308, allocations: 0 / 0.5229 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3308, allocations: 6.812 kB / 0.5229 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.3312, allocations: 463 kB / 0.5234 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3313, allocations: 0 / 0.5234 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.3313, allocations: 13.61 kB / 0.5234 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3313, allocations: 0 / 0.5234 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.3313, allocations: 7.938 kB / 0.5234 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3313, allocations: 0 / 0.5234 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3313, allocations: 2.625 kB / 0.5234 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.3318, allocations: 0.8703 MB / 0.5243 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.3318, allocations: 105.1 kB / 0.5244 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.3319, allocations: 0 / 0.5244 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.3319, allocations: 5.438 kB / 0.5244 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.332, allocations: 11.2 kB / 0.5244 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.332, allocations: 2.781 kB / 0.5244 GB, free: 31.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004501/0.3324, allocations: 0.6572 MB / 0.525 GB, free: 31.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3325, allocations: 0 / 0.525 GB, free: 31.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003334/0.3328, allocations: 27.16 kB / 0.525 GB, free: 31.59 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.0007972/0.3336, allocations: 400 kB / 0.5254 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.3338, allocations: 41.92 kB / 0.5255 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3338, allocations: 0 / 0.5255 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.603e-05/0.3339, allocations: 38.45 kB / 0.5255 GB, free: 31.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.3342, allocations: 30.39 kB / 0.5255 GB, free: 31.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008918/0.3351, allocations: 0.9732 MB / 0.5265 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.3354, allocations: 0.8279 MB / 0.5273 GB, free: 30.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.352e-05/0.3354, allocations: 9.656 kB / 0.5273 GB, free: 30.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.3354, allocations: 13.33 kB / 0.5273 GB, free: 30.06 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3355, allocations: 0 / 0.5273 GB, free: 30.06 MB / 378.7 MB Notification: Performance of Templates: time 0.003839/0.3393, allocations: 1.432 MB / 0.5287 GB, free: 29.88 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches