Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001375, allocations: 195.8 kB / 16.1 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 226.6 MB / 243.4 MB, free: 8.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007799/0.0007796, allocations: 98.39 kB / 295.5 MB, free: 6.844 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3121/0.3121, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002825, allocations: 11.98 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3624, allocations: 62.95 MB / 0.5159 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.001695/0.3641, allocations: 1.306 MB / 0.5171 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007105/0.3649, allocations: 0.5021 MB / 0.5176 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.3649, allocations: 0 / 0.5176 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.3652, allocations: 79.44 kB / 0.5177 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.3654, allocations: 82.69 kB / 0.5178 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.3656, allocations: 98.14 kB / 0.5179 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3658, allocations: 75.58 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3659, allocations: 20.48 kB / 0.518 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.387e-05/0.366, allocations: 31.28 kB / 0.518 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.075e-05/0.3661, allocations: 44.14 kB / 0.518 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.3661, allocations: 2.938 kB / 0.5181 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.952e-05/0.3662, allocations: 45.67 kB / 0.5181 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.3662, allocations: 13.23 kB / 0.5181 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.3663, allocations: 59.23 kB / 0.5182 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.3664, allocations: 79.33 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3664, allocations: 0 / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3664, allocations: 0 / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.3664, allocations: 0 / 0.5182 GB, free: 35.54 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.0004134/0.3668, allocations: 395.3 kB / 0.5186 GB, free: 35.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3669, allocations: 9.625 kB / 0.5186 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.3669, allocations: 14.91 kB / 0.5186 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3671, allocations: 207.2 kB / 0.5188 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3671, allocations: 7.344 kB / 0.5188 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.3671, allocations: 4.375 kB / 0.5188 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.3673, allocations: 59.22 kB / 0.5189 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3673, allocations: 2.906 kB / 0.5189 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3673, allocations: 0 / 0.5189 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3673, allocations: 0 / 0.5189 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.217e-05/0.3674, allocations: 34.91 kB / 0.5189 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.3678, allocations: 309.7 kB / 0.5192 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.176e-05/0.3679, allocations: 43.28 kB / 0.5193 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.912e-05/0.3679, allocations: 23.72 kB / 0.5193 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.368, allocations: 4 kB / 0.5193 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.368, allocations: 33.8 kB / 0.5193 GB, free: 34.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.368, allocations: 0 / 0.5193 GB, free: 34.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008018/0.3688, allocations: 273.5 kB / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.3688, allocations: 59.34 kB / 0.5197 GB, free: 34.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.369, allocations: 218.8 kB / 0.5199 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.369, allocations: 25.7 kB / 0.5199 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.3691, allocations: 111.9 kB / 0.52 GB, free: 34.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.3691, allocations: 26.06 kB / 0.52 GB, free: 34.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.3691, allocations: 0 / 0.52 GB, free: 34.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.3692, allocations: 321.2 kB / 0.5203 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.866e-05/0.3692, allocations: 38.64 kB / 0.5204 GB, free: 33.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-05/0.3693, allocations: 31.45 kB / 0.5204 GB, free: 33.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.3695, allocations: 78.89 kB / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3695, allocations: 4 kB / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001888/0.3697, allocations: 124.3 kB / 0.5206 GB, free: 33.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3697, allocations: 8.781 kB / 0.5206 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3697, allocations: 0 / 0.5206 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3697, allocations: 2.781 kB / 0.5206 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.401e-05/0.3698, allocations: 21.84 kB / 0.5206 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3698, allocations: 4 kB / 0.5206 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.3699, allocations: 16.8 kB / 0.5206 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.3699, allocations: 7.281 kB / 0.5206 GB, free: 33.56 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 (8): * Single equations (assignments): 8 * 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.551e-05/0.37, allocations: 122.1 kB / 0.5208 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.37, allocations: 9.625 kB / 0.5208 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.3703, allocations: 143 kB / 0.5209 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3703, allocations: 0 / 0.5209 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3703, allocations: 0 / 0.5209 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3703, allocations: 7.312 kB / 0.5209 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.3707, allocations: 428 kB / 0.5213 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3707, allocations: 0 / 0.5213 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.408e-05/0.3708, allocations: 18.89 kB / 0.5213 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.3708, allocations: 6.844 kB / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3708, allocations: 7.188 kB / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3709, allocations: 3.656 kB / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3709, allocations: 0 / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.3711, allocations: 223.6 kB / 0.5216 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.3711, allocations: 95.89 kB / 0.5217 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.3711, allocations: 2.781 kB / 0.5217 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.3712, allocations: 13.39 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.3713, allocations: 10.23 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3713, allocations: 2.938 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.3714, allocations: 157.2 kB / 0.5218 GB, free: 32.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3714, allocations: 0 / 0.5218 GB, free: 32.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.3717, allocations: 18.69 kB / 0.5219 GB, free: 32.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008908/0.3726, allocations: 450 kB / 0.5223 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3728, allocations: 84.23 kB / 0.5224 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3728, allocations: 3 kB / 0.5224 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.65e-05/0.3729, allocations: 44.47 kB / 0.5224 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.3732, allocations: 23.83 kB / 0.5224 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.3737, allocations: 312.5 kB / 0.5227 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.3738, allocations: 0.707 MB / 0.5234 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.3738, allocations: 13.47 kB / 0.5234 GB, free: 31.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3739, allocations: 0 / 0.5234 GB, free: 31.41 MB / 378.7 MB Notification: Performance of Templates: time 0.002955/0.3768, allocations: 1.791 MB / 0.5252 GB, free: 31.21 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches