Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 200.1 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.438/1.438, allocations: 226.6 MB / 243.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007538/0.0007538, allocations: 107.4 kB / 295.5 MB, free: 6.848 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3495/0.3495, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002707, allocations: 8 kB / 465.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3464, allocations: 62.96 MB / 0.5159 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002435/0.3489, allocations: 1.341 MB / 0.5172 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.3505, allocations: 1.1 MB / 0.5183 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.597e-05/0.3506, allocations: 3.062 kB / 0.5183 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.3508, allocations: 17.02 kB / 0.5183 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.3512, allocations: 72.53 kB / 0.5184 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.3515, allocations: 117.3 kB / 0.5185 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.3517, allocations: 54.84 kB / 0.5185 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3518, allocations: 20.45 kB / 0.5185 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.122e-05/0.3519, allocations: 27.94 kB / 0.5186 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.352, allocations: 27.16 kB / 0.5186 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.352, allocations: 2.875 kB / 0.5186 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.3522, allocations: 90.09 kB / 0.5187 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.3522, allocations: 16.86 kB / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.3523, allocations: 47.59 kB / 0.5187 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.3524, allocations: 104.5 kB / 0.5188 GB, free: 35.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3524, allocations: 0 / 0.5188 GB, free: 35.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3524, allocations: 0 / 0.5188 GB, free: 35.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.3525, allocations: 0 / 0.5188 GB, free: 35.08 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.0004538/0.3529, allocations: 402.2 kB / 0.5192 GB, free: 34.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.353, allocations: 8.656 kB / 0.5192 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.353, allocations: 7.469 kB / 0.5192 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.3532, allocations: 187.2 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3532, allocations: 3.188 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.3532, allocations: 11.23 kB / 0.5194 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3534, allocations: 91.06 kB / 0.5195 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3534, allocations: 0 / 0.5195 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3535, allocations: 0 / 0.5195 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3535, allocations: 3.938 kB / 0.5195 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.3536, allocations: 46.98 kB / 0.5196 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.3539, allocations: 296.8 kB / 0.5198 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.3541, allocations: 42.3 kB / 0.5199 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/0.3541, allocations: 31.2 kB / 0.5199 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.3542, allocations: 3.531 kB / 0.5199 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.3542, allocations: 34.03 kB / 0.52 GB, free: 34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3542, allocations: 0 / 0.52 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007185/0.3549, allocations: 239.7 kB / 0.5202 GB, free: 33.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.355, allocations: 83.97 kB / 0.5203 GB, free: 33.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3551, allocations: 145.6 kB / 0.5204 GB, free: 33.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.3551, allocations: 25.7 kB / 0.5204 GB, free: 33.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.3552, allocations: 91.02 kB / 0.5205 GB, free: 33.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.3552, allocations: 25.88 kB / 0.5205 GB, free: 33.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.3552, allocations: 7.438 kB / 0.5205 GB, free: 33.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.3553, allocations: 318.2 kB / 0.5208 GB, free: 33.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.3554, allocations: 37.17 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.3555, allocations: 62.05 kB / 0.5209 GB, free: 33.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.3557, allocations: 95.94 kB / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3557, allocations: 3.75 kB / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002421/0.356, allocations: 125.5 kB / 0.5212 GB, free: 33.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.356, allocations: 5.219 kB / 0.5212 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.356, allocations: 0 / 0.5212 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.356, allocations: 0 / 0.5212 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3561, allocations: 22.22 kB / 0.5212 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.3562, allocations: 3.938 kB / 0.5212 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.3562, allocations: 23.16 kB / 0.5212 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3562, allocations: 0 / 0.5212 GB, free: 33.11 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 (7): * Single equations (assignments): 7 * 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.622e-05/0.3563, allocations: 122.9 kB / 0.5213 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3563, allocations: 6.875 kB / 0.5213 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003199/0.3567, allocations: 141.4 kB / 0.5215 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3567, allocations: 2.719 kB / 0.5215 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3567, allocations: 0 / 0.5215 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3567, allocations: 3.938 kB / 0.5215 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.3571, allocations: 410.8 kB / 0.5219 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3571, allocations: 3.188 kB / 0.5219 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/0.3572, allocations: 28.88 kB / 0.5219 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3572, allocations: 2.781 kB / 0.5219 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3573, allocations: 3.938 kB / 0.5219 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3573, allocations: 0 / 0.5219 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3573, allocations: 0 / 0.5219 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.3575, allocations: 224.5 kB / 0.5221 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.3576, allocations: 95.08 kB / 0.5222 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.3576, allocations: 6.781 kB / 0.5222 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.498e-05/0.3577, allocations: 12.05 kB / 0.5222 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.3578, allocations: 14.36 kB / 0.5222 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.3578, allocations: 3.062 kB / 0.5222 GB, free: 32.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.691e-05/0.3578, allocations: 110.2 kB / 0.5223 GB, free: 32.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3578, allocations: 0 / 0.5223 GB, free: 32.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002704/0.3581, allocations: 45.47 kB / 0.5224 GB, free: 32.19 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 (7): * Single equations (assignments): 7 * 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.001015/0.3591, allocations: 488.5 kB / 0.5229 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.3594, allocations: 98.34 kB / 0.523 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3594, allocations: 0 / 0.523 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.3595, allocations: 51.03 kB / 0.523 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.3598, allocations: 16.66 kB / 0.523 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.3602, allocations: 218.9 kB / 0.5232 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.3603, allocations: 0.7008 MB / 0.5239 GB, free: 31.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.3604, allocations: 16.38 kB / 0.5239 GB, free: 31.03 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3604, allocations: 3.938 kB / 0.5239 GB, free: 31.02 MB / 378.7 MB Notification: Performance of Templates: time 0.003134/0.3636, allocations: 2.065 MB / 0.5259 GB, free: 30.77 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches