Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 118.1 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00169/0.00169, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.27/0.27, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 75.86 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3849, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003193/0.3881, allocations: 1.686 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3892, allocations: 0.556 MB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.3893, allocations: 1.156 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005661/0.3898, allocations: 461.1 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004627/0.3903, allocations: 289 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.3907, allocations: 134.5 kB / 0.5341 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.391, allocations: 178.5 kB / 0.5342 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3911, allocations: 21.2 kB / 0.5342 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.3912, allocations: 120 kB / 0.5344 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.3915, allocations: 211.3 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.3916, allocations: 4.625 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.3917, allocations: 51.92 kB / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.3918, allocations: 83.31 kB / 0.5347 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.956e-05/0.3919, allocations: 115.7 kB / 0.5348 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.3923, allocations: 270.4 kB / 0.5351 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.3923, allocations: 9 kB / 0.5351 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3923, allocations: 0 / 0.5351 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.3923, allocations: 0 / 0.5351 GB, free: 10.88 MB / 398.1 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.0008177/0.3931, allocations: 0.6485 MB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3932, allocations: 13.39 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.031e-05/0.3933, allocations: 43.97 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.3936, allocations: 302.3 kB / 0.536 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3936, allocations: 5.688 kB / 0.536 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.3936, allocations: 2.906 kB / 0.5361 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.3938, allocations: 68.39 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3938, allocations: 0 / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3939, allocations: 1.094 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3939, allocations: 1.156 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.394, allocations: 46.48 kB / 0.5362 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.3945, allocations: 398.6 kB / 0.5365 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.3948, allocations: 63.48 kB / 0.5366 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.695e-05/0.3949, allocations: 24.59 kB / 0.5366 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.3949, allocations: 1.188 kB / 0.5366 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.395, allocations: 35.69 kB / 0.5367 GB, free: 9.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.395, allocations: 0 / 0.5367 GB, free: 9.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001566/0.3965, allocations: 467.9 kB / 0.5371 GB, free: 9.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.3966, allocations: 56.34 kB / 0.5372 GB, free: 9.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009378/0.3975, allocations: 0.8627 MB / 0.538 GB, free: 8.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3976, allocations: 26.92 kB / 0.538 GB, free: 8.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.3978, allocations: 223.8 kB / 0.5382 GB, free: 8.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.3978, allocations: 43.09 kB / 0.5383 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.3979, allocations: 25.47 kB / 0.5383 GB, free: 8.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3981, allocations: 364.3 kB / 0.5387 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.3982, allocations: 39.12 kB / 0.5387 GB, free: 8.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.3983, allocations: 40.38 kB / 0.5387 GB, free: 8.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.3986, allocations: 104.8 kB / 0.5388 GB, free: 7.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3986, allocations: 0 / 0.5388 GB, free: 7.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003791/0.399, allocations: 175.7 kB / 0.539 GB, free: 7.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.399, allocations: 5.812 kB / 0.539 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.399, allocations: 0 / 0.539 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.399, allocations: 1.312 kB / 0.539 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.3992, allocations: 48.38 kB / 0.5391 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3992, allocations: 0 / 0.5391 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.687e-05/0.3993, allocations: 9.766 kB / 0.5391 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.3993, allocations: 3.312 kB / 0.5391 GB, free: 7.816 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.3995, allocations: 211 kB / 0.5393 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.448e-05/0.3996, allocations: 42.28 kB / 0.5393 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004606/0.4001, allocations: 212.9 kB / 0.5395 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.4001, allocations: 6.156 kB / 0.5395 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.4001, allocations: 0.5625 kB / 0.5395 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4001, allocations: 3.938 kB / 0.5395 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009356/0.4011, allocations: 0.5661 MB / 0.5401 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4011, allocations: 1.062 kB / 0.5401 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.4012, allocations: 28.67 kB / 0.5401 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4012, allocations: 1.562 kB / 0.5401 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.4012, allocations: 5.562 kB / 0.5401 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4012, allocations: 1.406 kB / 0.5401 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4012, allocations: 1.469 kB / 0.5401 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.4017, allocations: 285.4 kB / 0.5404 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.842e-05/0.4018, allocations: 105.9 kB / 0.5405 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.4018, allocations: 9.047 kB / 0.5405 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.4019, allocations: 6.281 kB / 0.5405 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.402, allocations: 16.61 kB / 0.5405 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.402, allocations: 4.125 kB / 0.5405 GB, free: 6.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008385/0.4028, allocations: 0.6559 MB / 0.5412 GB, free: 6.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4028, allocations: 0 / 0.5412 GB, free: 6.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003/0.4032, allocations: 28.34 kB / 0.5412 GB, free: 6.336 MB / 398.1 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 (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.001151/0.4043, allocations: 458.8 kB / 0.5416 GB, free: 6.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000359/0.4047, allocations: 106.4 kB / 0.5417 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4047, allocations: 1.094 kB / 0.5417 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.4049, allocations: 62.47 kB / 0.5418 GB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.4054, allocations: 37.62 kB / 0.5418 GB, free: 6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.407, allocations: 0.8505 MB / 0.5427 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.4076, allocations: 0.8344 MB / 0.5435 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.686e-05/0.4077, allocations: 8.562 kB / 0.5435 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.4078, allocations: 19.61 kB / 0.5435 GB, free: 4.711 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4078, allocations: 0 / 0.5435 GB, free: 4.711 MB / 398.1 MB Notification: Performance of Templates: time 0.006986/0.4148, allocations: 1.878 MB / 0.5453 GB, free: 2.84 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches