Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 196.5 kB / 17.43 MB, free: 4.117 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 229.5 MB / 247.7 MB, free: 6.289 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007158/0.0007159, allocations: 100.6 kB / 299.9 MB, free: 5.367 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2786/0.2786, allocations: 44.99 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002754/0.0002752, allocations: 8 kB / 470.8 MB, free: 7.129 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3021, allocations: 63.1 MB / 0.5214 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.001504/0.3036, allocations: 1.354 MB / 0.5227 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007542/0.3044, allocations: 0.7456 MB / 0.5234 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.3044, allocations: 0 / 0.5234 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.3048, allocations: 453.7 kB / 0.5238 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.3051, allocations: 275.7 kB / 0.5241 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.3054, allocations: 119.1 kB / 0.5242 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.3056, allocations: 166.6 kB / 0.5244 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.254e-05/0.3057, allocations: 23.39 kB / 0.5244 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.919e-05/0.3058, allocations: 97.94 kB / 0.5245 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.3059, allocations: 202 kB / 0.5247 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.306, allocations: 2.625 kB / 0.5247 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.401e-05/0.306, allocations: 34.72 kB / 0.5247 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.623e-05/0.3061, allocations: 87.72 kB / 0.5248 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.3062, allocations: 126.2 kB / 0.5249 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.3064, allocations: 249.8 kB / 0.5252 GB, free: 36.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3064, allocations: 3.938 kB / 0.5252 GB, free: 36.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3064, allocations: 0 / 0.5252 GB, free: 36.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3064, allocations: 0 / 0.5252 GB, free: 36.32 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.0004455/0.3069, allocations: 0.5925 MB / 0.5258 GB, free: 35.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.3069, allocations: 15.59 kB / 0.5258 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.307, allocations: 41.69 kB / 0.5258 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.3071, allocations: 303.7 kB / 0.5261 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-06/0.3072, allocations: 3.375 kB / 0.5261 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.3072, allocations: 384 / 0.5261 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.3073, allocations: 65.11 kB / 0.5262 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3073, allocations: 0 / 0.5262 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.3073, allocations: 0 / 0.5262 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.3074, allocations: 4 kB / 0.5262 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.3075, allocations: 50.95 kB / 0.5262 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.3078, allocations: 382 kB / 0.5266 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.3079, allocations: 53.66 kB / 0.5266 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/0.308, allocations: 26.36 kB / 0.5267 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.308, allocations: 0 / 0.5267 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.308, allocations: 37.38 kB / 0.5267 GB, free: 35.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.308, allocations: 0 / 0.5267 GB, free: 35.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006824/0.3087, allocations: 319.4 kB / 0.527 GB, free: 34.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.3088, allocations: 55.34 kB / 0.527 GB, free: 34.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000564/0.3093, allocations: 0.8628 MB / 0.5279 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.3093, allocations: 25.7 kB / 0.5279 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3094, allocations: 217.2 kB / 0.5281 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.3095, allocations: 21.66 kB / 0.5281 GB, free: 34.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.3095, allocations: 0 / 0.5281 GB, free: 34.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.3095, allocations: 367.5 kB / 0.5285 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.3097, allocations: 38.66 kB / 0.5285 GB, free: 33.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-05/0.3098, allocations: 44.14 kB / 0.5286 GB, free: 33.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.3099, allocations: 90.17 kB / 0.5287 GB, free: 33.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.31, allocations: 0 / 0.5287 GB, free: 33.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002456/0.3102, allocations: 158.9 kB / 0.5288 GB, free: 33.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3102, allocations: 3.125 kB / 0.5288 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3102, allocations: 0 / 0.5288 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3103, allocations: 3.031 kB / 0.5288 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3104, allocations: 24.59 kB / 0.5288 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3104, allocations: 6.656 kB / 0.5288 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/0.3105, allocations: 23.95 kB / 0.5289 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.3105, allocations: 2.781 kB / 0.5289 GB, free: 33.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.3106, allocations: 214.6 kB / 0.5291 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.3106, allocations: 43.06 kB / 0.5291 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.311, allocations: 191.2 kB / 0.5293 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.311, allocations: 0 / 0.5293 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.311, allocations: 3.984 kB / 0.5293 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.311, allocations: 7.938 kB / 0.5293 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.3115, allocations: 0.5028 MB / 0.5298 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3115, allocations: 0 / 0.5298 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.621e-05/0.3116, allocations: 22.67 kB / 0.5298 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3116, allocations: 2.938 kB / 0.5298 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3116, allocations: 3.938 kB / 0.5298 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3116, allocations: 0 / 0.5298 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3116, allocations: 0 / 0.5298 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.3118, allocations: 264.6 kB / 0.5301 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.3119, allocations: 112.9 kB / 0.5302 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.3119, allocations: 11.94 kB / 0.5302 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.115e-05/0.312, allocations: 19.12 kB / 0.5302 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.3121, allocations: 6.062 kB / 0.5302 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.3121, allocations: 0 / 0.5302 GB, free: 32.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004121/0.3125, allocations: 0.6502 MB / 0.5309 GB, free: 32.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3125, allocations: 0 / 0.5309 GB, free: 32.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002143/0.3127, allocations: 22.31 kB / 0.5309 GB, free: 32.62 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008562/0.3136, allocations: 464.3 kB / 0.5313 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002853/0.3139, allocations: 96.73 kB / 0.5314 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3139, allocations: 0 / 0.5314 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.314, allocations: 43.19 kB / 0.5315 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.3144, allocations: 30.39 kB / 0.5315 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009689/0.3154, allocations: 0.8886 MB / 0.5324 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.3157, allocations: 0.8214 MB / 0.5332 GB, free: 31.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.713e-05/0.3157, allocations: 20.67 kB / 0.5332 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.3158, allocations: 16.69 kB / 0.5332 GB, free: 31.13 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3158, allocations: 4 kB / 0.5332 GB, free: 31.12 MB / 378.7 MB Notification: Performance of Templates: time 0.003849/0.3196, allocations: 1.436 MB / 0.5346 GB, free: 30.95 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches