Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00158/0.00158, allocations: 199.4 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 226.5 MB / 243.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007675/0.0007676, allocations: 95.83 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.339/0.339, allocations: 44.82 MB / 392.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003137, allocations: 12 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3334, allocations: 62.95 MB / 0.5159 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.001573/0.335, allocations: 1.34 MB / 0.5172 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007239/0.3358, allocations: 0.5061 MB / 0.5177 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.3358, allocations: 0 / 0.5177 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.3363, allocations: 444.2 kB / 0.5181 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.3366, allocations: 271.4 kB / 0.5184 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.3369, allocations: 114.9 kB / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.3371, allocations: 131.1 kB / 0.5186 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3372, allocations: 20.94 kB / 0.5186 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.497e-05/0.3373, allocations: 100.6 kB / 0.5187 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.3374, allocations: 173.3 kB / 0.5189 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.3374, allocations: 0 / 0.5189 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.262e-05/0.3375, allocations: 27.97 kB / 0.5189 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-05/0.3376, allocations: 81.98 kB / 0.519 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.3377, allocations: 115.3 kB / 0.5191 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.3379, allocations: 185.8 kB / 0.5193 GB, free: 35.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3379, allocations: 0 / 0.5193 GB, free: 35.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3379, allocations: 0 / 0.5193 GB, free: 35.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3379, allocations: 0 / 0.5193 GB, free: 35.3 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.0004899/0.3384, allocations: 0.5961 MB / 0.5199 GB, free: 34.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3384, allocations: 11.22 kB / 0.5199 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.3385, allocations: 45.11 kB / 0.5199 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.3387, allocations: 295.2 kB / 0.5202 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3387, allocations: 384 / 0.5202 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.3387, allocations: 3.188 kB / 0.5202 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.3388, allocations: 62.36 kB / 0.5203 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3389, allocations: 0 / 0.5203 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.3389, allocations: 0 / 0.5203 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3389, allocations: 6.719 kB / 0.5203 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.983e-05/0.339, allocations: 28.8 kB / 0.5203 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.3393, allocations: 376 kB / 0.5206 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.3396, allocations: 60.2 kB / 0.5207 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.624e-05/0.3396, allocations: 12.55 kB / 0.5207 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3396, allocations: 6.797 kB / 0.5207 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.3397, allocations: 37.7 kB / 0.5208 GB, free: 33.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3397, allocations: 0 / 0.5208 GB, free: 33.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005278/0.3402, allocations: 241.8 kB / 0.521 GB, free: 33.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.3402, allocations: 51.41 kB / 0.521 GB, free: 33.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006471/0.3409, allocations: 0.8633 MB / 0.5219 GB, free: 33.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.3409, allocations: 28.55 kB / 0.5219 GB, free: 33.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.341, allocations: 230.5 kB / 0.5221 GB, free: 33.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.3411, allocations: 18 kB / 0.5221 GB, free: 33.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.3411, allocations: 0 / 0.5221 GB, free: 33.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.235e-05/0.3411, allocations: 365 kB / 0.5225 GB, free: 32.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.3412, allocations: 21.81 kB / 0.5225 GB, free: 32.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.522e-05/0.3413, allocations: 25.8 kB / 0.5225 GB, free: 32.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.3414, allocations: 52.69 kB / 0.5226 GB, free: 32.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3414, allocations: 2.594 kB / 0.5226 GB, free: 32.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001765/0.3416, allocations: 132.8 kB / 0.5227 GB, free: 32.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3416, allocations: 4.875 kB / 0.5227 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3416, allocations: 0 / 0.5227 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.3416, allocations: 0 / 0.5227 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.3417, allocations: 13.86 kB / 0.5227 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3417, allocations: 6.656 kB / 0.5227 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.317e-05/0.3418, allocations: 9.562 kB / 0.5227 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.3418, allocations: 0 / 0.5227 GB, free: 32.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.3419, allocations: 221.2 kB / 0.523 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.342, allocations: 42.69 kB / 0.523 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.3422, allocations: 140.6 kB / 0.5231 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3422, allocations: 0 / 0.5231 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3423, allocations: 4 kB / 0.5231 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3423, allocations: 6.938 kB / 0.5231 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.3427, allocations: 464.2 kB / 0.5236 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3427, allocations: 0 / 0.5236 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.3428, allocations: 19.11 kB / 0.5236 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3428, allocations: 0 / 0.5236 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.3428, allocations: 3.938 kB / 0.5236 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3428, allocations: 2.625 kB / 0.5236 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3428, allocations: 0 / 0.5236 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.343, allocations: 224.2 kB / 0.5238 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.3431, allocations: 108.5 kB / 0.5239 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.3431, allocations: 8.188 kB / 0.5239 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.3432, allocations: 9.438 kB / 0.5239 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.3432, allocations: 10.03 kB / 0.524 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3432, allocations: 2.812 kB / 0.524 GB, free: 31.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000482/0.3437, allocations: 0.6572 MB / 0.5246 GB, free: 31.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3437, allocations: 0 / 0.5246 GB, free: 31.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000236/0.344, allocations: 21.72 kB / 0.5246 GB, free: 31.66 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 (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.0008081/0.3448, allocations: 391.9 kB / 0.525 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.345, allocations: 58.36 kB / 0.5251 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.345, allocations: 0 / 0.5251 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.3451, allocations: 34.42 kB / 0.5251 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.3454, allocations: 20.66 kB / 0.5251 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009274/0.3464, allocations: 0.8622 MB / 0.5259 GB, free: 31.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.3466, allocations: 0.8195 MB / 0.5267 GB, free: 30.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.3467, allocations: 17.06 kB / 0.5268 GB, free: 30.29 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3467, allocations: 0 / 0.5268 GB, free: 30.29 MB / 378.7 MB Notification: Performance of Templates: time 0.005811/0.3525, allocations: 3.637 MB / 0.5303 GB, free: 29.48 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches