Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001755/0.001756, allocations: 191.1 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.6 MB / 243.4 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008893/0.0008895, allocations: 92.39 kB / 295.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3151/0.3151, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003462, allocations: 12 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3128, allocations: 62.96 MB / 0.5159 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.001974/0.3148, allocations: 1.686 MB / 0.5175 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.3161, allocations: 0.9377 MB / 0.5184 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.3163, allocations: 2.938 kB / 0.5184 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.3167, allocations: 246.5 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.317, allocations: 228 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008483/0.3179, allocations: 442.7 kB / 0.5193 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.3182, allocations: 269.6 kB / 0.5196 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.3184, allocations: 72.39 kB / 0.5196 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.3185, allocations: 115 kB / 0.5197 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.3186, allocations: 171.2 kB / 0.5199 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.3187, allocations: 2.656 kB / 0.5199 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.3188, allocations: 87.11 kB / 0.52 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.423e-05/0.3189, allocations: 79.95 kB / 0.5201 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.319, allocations: 127.4 kB / 0.5202 GB, free: 34.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.3192, allocations: 240.3 kB / 0.5204 GB, free: 34.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3192, allocations: 0 / 0.5204 GB, free: 34.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3193, allocations: 4 kB / 0.5204 GB, free: 34.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3193, allocations: 0 / 0.5204 GB, free: 34.52 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005626/0.3198, allocations: 0.6033 MB / 0.521 GB, free: 33.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3199, allocations: 11 kB / 0.521 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.652e-05/0.3199, allocations: 39.47 kB / 0.5211 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.3202, allocations: 323.3 kB / 0.5214 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3203, allocations: 6.906 kB / 0.5214 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.3203, allocations: 12.44 kB / 0.5214 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.3205, allocations: 109.7 kB / 0.5215 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3205, allocations: 0 / 0.5215 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3206, allocations: 3.375 kB / 0.5215 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3206, allocations: 2.688 kB / 0.5215 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.3207, allocations: 80.75 kB / 0.5216 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.3212, allocations: 492.9 kB / 0.522 GB, free: 33.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.3214, allocations: 94.84 kB / 0.5221 GB, free: 33.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.3215, allocations: 33.88 kB / 0.5222 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.3215, allocations: 7.984 kB / 0.5222 GB, free: 33.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.3215, allocations: 44.55 kB / 0.5222 GB, free: 33.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.3215, allocations: 0 / 0.5222 GB, free: 33.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007943/0.3223, allocations: 414.3 kB / 0.5226 GB, free: 32.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.3224, allocations: 54.41 kB / 0.5227 GB, free: 32.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/0.3228, allocations: 0.5548 MB / 0.5232 GB, free: 32.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.3228, allocations: 25.7 kB / 0.5232 GB, free: 32.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.852e-05/0.323, allocations: 207.1 kB / 0.5234 GB, free: 32.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.323, allocations: 65.86 kB / 0.5235 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/0.323, allocations: 4 kB / 0.5235 GB, free: 32.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.3231, allocations: 350.9 kB / 0.5238 GB, free: 32.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3232, allocations: 55.77 kB / 0.5239 GB, free: 32.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.129e-05/0.3233, allocations: 56.55 kB / 0.5239 GB, free: 32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.3235, allocations: 125.9 kB / 0.5241 GB, free: 31.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3235, allocations: 3.938 kB / 0.5241 GB, free: 31.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002755/0.3238, allocations: 204.8 kB / 0.5243 GB, free: 31.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3238, allocations: 5.688 kB / 0.5243 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3238, allocations: 4 kB / 0.5243 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3238, allocations: 2.781 kB / 0.5243 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.324, allocations: 35.89 kB / 0.5243 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.324, allocations: 0 / 0.5243 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.195e-05/0.3241, allocations: 13.06 kB / 0.5243 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.3241, allocations: 6.891 kB / 0.5243 GB, free: 31.84 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.3242, allocations: 180.4 kB / 0.5245 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.3243, allocations: 44.75 kB / 0.5245 GB, free: 31.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/0.3247, allocations: 234.3 kB / 0.5248 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3247, allocations: 2.844 kB / 0.5248 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3247, allocations: 4 kB / 0.5248 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3247, allocations: 7.281 kB / 0.5248 GB, free: 31.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.3254, allocations: 0.6332 MB / 0.5254 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3254, allocations: 0 / 0.5254 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.666e-05/0.3255, allocations: 38.02 kB / 0.5254 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3255, allocations: 0 / 0.5254 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3255, allocations: 14.28 kB / 0.5254 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3255, allocations: 2.938 kB / 0.5254 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3255, allocations: 3.938 kB / 0.5254 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.3258, allocations: 309.9 kB / 0.5257 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.3259, allocations: 119.8 kB / 0.5259 GB, free: 30.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.3259, allocations: 4 kB / 0.5259 GB, free: 30.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.326, allocations: 3.938 kB / 0.5259 GB, free: 30.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.3261, allocations: 23.42 kB / 0.5259 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.3261, allocations: 6.938 kB / 0.5259 GB, free: 30.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003222/0.3264, allocations: 415.1 kB / 0.5263 GB, free: 30.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3264, allocations: 4 kB / 0.5263 GB, free: 30.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.3267, allocations: 52.12 kB / 0.5263 GB, free: 30.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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001319/0.328, allocations: 0.675 MB / 0.527 GB, free: 30.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.3283, allocations: 145.9 kB / 0.5271 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3283, allocations: 0 / 0.5271 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.3284, allocations: 79.89 kB / 0.5272 GB, free: 30.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.3289, allocations: 70.11 kB / 0.5273 GB, free: 30.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.3297, allocations: 0.7601 MB / 0.528 GB, free: 29.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.3299, allocations: 0.801 MB / 0.5288 GB, free: 29.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.33, allocations: 34.09 kB / 0.5288 GB, free: 29.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.33, allocations: 4 kB / 0.5288 GB, free: 29.02 MB / 378.7 MB Notification: Performance of Templates: time 0.005583/0.3356, allocations: 4.444 MB / 0.5332 GB, free: 28.43 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches