Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 200.4 kB / 16.1 MB, free: 5.574 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 226.6 MB / 243.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000782/0.0007822, allocations: 98.98 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.281/0.281, allocations: 44.81 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003276, allocations: 12 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3819, allocations: 62.96 MB / 0.5159 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.001785/0.3837, allocations: 1.362 MB / 0.5172 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007733/0.3845, allocations: 0.5379 MB / 0.5177 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.3846, allocations: 0 / 0.5177 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.3848, allocations: 73.22 kB / 0.5178 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.385, allocations: 78.75 kB / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.3854, allocations: 165.7 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.3855, allocations: 76.88 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3857, allocations: 20.16 kB / 0.5181 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.962e-05/0.3857, allocations: 43.7 kB / 0.5182 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.252e-05/0.3858, allocations: 41.75 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.3858, allocations: 0 / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.619e-05/0.3859, allocations: 37.62 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.386, allocations: 26.8 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.386, allocations: 58.72 kB / 0.5183 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.3862, allocations: 87.69 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3862, allocations: 2.906 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3862, allocations: 0 / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3862, allocations: 0 / 0.5184 GB, free: 35.6 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004104/0.3866, allocations: 413.1 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3867, allocations: 9.406 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.3867, allocations: 14.66 kB / 0.5188 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.3869, allocations: 208.4 kB / 0.519 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3869, allocations: 7.188 kB / 0.519 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.3869, allocations: 3.219 kB / 0.519 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.3871, allocations: 74.38 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3871, allocations: 3.938 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.3871, allocations: 0 / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.3871, allocations: 2.781 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.3872, allocations: 51.8 kB / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.3876, allocations: 335.2 kB / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.3879, allocations: 64.67 kB / 0.5195 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.054e-05/0.3879, allocations: 33.75 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.388, allocations: 0 / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.388, allocations: 37.09 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.388, allocations: 0 / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001287/0.3893, allocations: 0.4893 MB / 0.5201 GB, free: 34.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.3893, allocations: 59.28 kB / 0.5201 GB, free: 34.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.3895, allocations: 214.4 kB / 0.5203 GB, free: 34.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.3895, allocations: 25.7 kB / 0.5204 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.3896, allocations: 117.1 kB / 0.5205 GB, free: 34.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.3896, allocations: 36.48 kB / 0.5205 GB, free: 34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.3896, allocations: 4 kB / 0.5205 GB, free: 34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.28e-05/0.3897, allocations: 324.3 kB / 0.5208 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.3898, allocations: 62.7 kB / 0.5209 GB, free: 33.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.3899, allocations: 62.08 kB / 0.521 GB, free: 33.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.3902, allocations: 146.4 kB / 0.5211 GB, free: 33.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3902, allocations: 0 / 0.5211 GB, free: 33.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000282/0.3905, allocations: 181 kB / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3905, allocations: 5.875 kB / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3905, allocations: 0 / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3905, allocations: 0 / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3906, allocations: 33.92 kB / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3906, allocations: 2.812 kB / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.575e-05/0.3907, allocations: 16.03 kB / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.3907, allocations: 2.875 kB / 0.5213 GB, free: 33.52 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 (11): * Single equations (assignments): 11 * 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 7.483e-05/0.3908, allocations: 131 kB / 0.5214 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.3908, allocations: 13.44 kB / 0.5215 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/0.3912, allocations: 214.1 kB / 0.5217 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3912, allocations: 7.438 kB / 0.5217 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3912, allocations: 0 / 0.5217 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3912, allocations: 0 / 0.5217 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/0.3918, allocations: 0.5202 MB / 0.5222 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3918, allocations: 6.812 kB / 0.5222 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.3919, allocations: 29.64 kB / 0.5222 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3919, allocations: 0 / 0.5222 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3919, allocations: 6.969 kB / 0.5222 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3919, allocations: 3.031 kB / 0.5222 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3919, allocations: 0 / 0.5222 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.3922, allocations: 302.7 kB / 0.5225 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.3923, allocations: 86.8 kB / 0.5226 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.3923, allocations: 3.328 kB / 0.5226 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/0.3924, allocations: 18.67 kB / 0.5226 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.3924, allocations: 6.344 kB / 0.5226 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.3925, allocations: 2.906 kB / 0.5226 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.411e-05/0.3926, allocations: 163.2 kB / 0.5228 GB, free: 32.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3926, allocations: 7.094 kB / 0.5228 GB, free: 32.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.3928, allocations: 22.12 kB / 0.5228 GB, free: 32.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008987/0.3937, allocations: 454 kB / 0.5232 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003388/0.3941, allocations: 145.4 kB / 0.5234 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3941, allocations: 4 kB / 0.5234 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.3942, allocations: 75.83 kB / 0.5235 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.3945, allocations: 27.67 kB / 0.5235 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.395, allocations: 368.1 kB / 0.5238 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.3951, allocations: 0.722 MB / 0.5245 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.3952, allocations: 15.72 kB / 0.5246 GB, free: 31.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3952, allocations: 0 / 0.5246 GB, free: 31.19 MB / 378.7 MB Notification: Performance of Templates: time 0.003113/0.3983, allocations: 2.082 MB / 0.5266 GB, free: 30.96 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches