Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 193.8 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.409/1.409, allocations: 226.6 MB / 243.4 MB, free: 6.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009247/0.0009248, allocations: 103.5 kB / 295.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.392/0.392, allocations: 44.81 MB / 392.3 MB, free: 35.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003032, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3367, allocations: 62.96 MB / 0.5159 GB, free: 37.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.001634/0.3384, allocations: 1.286 MB / 0.5171 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006788/0.3391, allocations: 489.6 kB / 0.5176 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.3391, allocations: 2.938 kB / 0.5176 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.3393, allocations: 28.11 kB / 0.5176 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.3395, allocations: 58.84 kB / 0.5177 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.3398, allocations: 83.91 kB / 0.5178 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.3399, allocations: 56.66 kB / 0.5178 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.34, allocations: 18.14 kB / 0.5178 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.976e-05/0.3401, allocations: 23.66 kB / 0.5179 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.706e-05/0.3401, allocations: 20.84 kB / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.3402, allocations: 0 / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.736e-05/0.3402, allocations: 28.22 kB / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.3403, allocations: 10.02 kB / 0.5179 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.3403, allocations: 55.19 kB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.3405, allocations: 61.22 kB / 0.518 GB, free: 35.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3405, allocations: 3.281 kB / 0.518 GB, free: 35.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3405, allocations: 0 / 0.518 GB, free: 35.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3405, allocations: 0 / 0.518 GB, free: 35.78 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003925/0.3409, allocations: 378.1 kB / 0.5184 GB, free: 35.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.341, allocations: 8.531 kB / 0.5184 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.341, allocations: 7.906 kB / 0.5184 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.3411, allocations: 204.7 kB / 0.5186 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.3412, allocations: 4.375 kB / 0.5186 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.3412, allocations: 6.875 kB / 0.5186 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.3413, allocations: 51.98 kB / 0.5187 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3413, allocations: 0 / 0.5187 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3414, allocations: 4 kB / 0.5187 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3414, allocations: 3.938 kB / 0.5187 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.312e-05/0.3415, allocations: 24.39 kB / 0.5187 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.3417, allocations: 285 kB / 0.519 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.3419, allocations: 48.84 kB / 0.519 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.342, allocations: 14.89 kB / 0.519 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.342, allocations: 10.64 kB / 0.519 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.3421, allocations: 30.56 kB / 0.5191 GB, free: 34.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3421, allocations: 0 / 0.5191 GB, free: 34.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004923/0.3426, allocations: 161.9 kB / 0.5192 GB, free: 34.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.3426, allocations: 54.19 kB / 0.5193 GB, free: 34.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3427, allocations: 178.9 kB / 0.5194 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.3428, allocations: 28.7 kB / 0.5195 GB, free: 34.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.3428, allocations: 98.47 kB / 0.5196 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.3428, allocations: 18.72 kB / 0.5196 GB, free: 34.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.3428, allocations: 0 / 0.5196 GB, free: 34.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.729e-05/0.3429, allocations: 325.8 kB / 0.5199 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.411e-05/0.343, allocations: 22.28 kB / 0.5199 GB, free: 34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-05/0.343, allocations: 26.08 kB / 0.5199 GB, free: 34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.3431, allocations: 55.08 kB / 0.52 GB, free: 33.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3432, allocations: 0 / 0.52 GB, free: 33.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001477/0.3433, allocations: 81.39 kB / 0.5201 GB, free: 33.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3433, allocations: 10.3 kB / 0.5201 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3433, allocations: 0 / 0.5201 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3434, allocations: 4 kB / 0.5201 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.704e-05/0.3434, allocations: 17.08 kB / 0.5201 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3434, allocations: 3 kB / 0.5201 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.3435, allocations: 10.75 kB / 0.5201 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3435, allocations: 3.031 kB / 0.5201 GB, free: 33.92 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 6.485e-05/0.3436, allocations: 118.9 kB / 0.5202 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.3436, allocations: 9.656 kB / 0.5202 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.3438, allocations: 104.5 kB / 0.5203 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3438, allocations: 0 / 0.5203 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3438, allocations: 2.812 kB / 0.5203 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3438, allocations: 3.938 kB / 0.5203 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.3442, allocations: 360.3 kB / 0.5207 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3442, allocations: 6.906 kB / 0.5207 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/0.3442, allocations: 11.95 kB / 0.5207 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3442, allocations: 2.719 kB / 0.5207 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3442, allocations: 3.938 kB / 0.5207 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3443, allocations: 0 / 0.5207 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3443, allocations: 4 kB / 0.5207 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.3444, allocations: 185.6 kB / 0.5209 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.3445, allocations: 83.86 kB / 0.521 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.3445, allocations: 7.547 kB / 0.521 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.45e-05/0.3446, allocations: 10.06 kB / 0.521 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.3446, allocations: 10.09 kB / 0.521 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.3446, allocations: 0 / 0.521 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.987e-05/0.3447, allocations: 128.6 kB / 0.5211 GB, free: 33.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3447, allocations: 0 / 0.5211 GB, free: 33.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002215/0.345, allocations: 26.91 kB / 0.5211 GB, free: 33.04 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.0007853/0.3458, allocations: 400.3 kB / 0.5215 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.3459, allocations: 48.2 kB / 0.5216 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.346, allocations: 2.625 kB / 0.5216 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.449e-05/0.346, allocations: 35.33 kB / 0.5216 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.3464, allocations: 23.89 kB / 0.5216 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.3468, allocations: 225.6 kB / 0.5218 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.347, allocations: 0.6971 MB / 0.5225 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.3471, allocations: 17.41 kB / 0.5225 GB, free: 31.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3471, allocations: 0 / 0.5225 GB, free: 31.91 MB / 378.7 MB Notification: Performance of Templates: time 0.002926/0.35, allocations: 1.444 MB / 0.524 GB, free: 31.75 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches