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.001346/0.001346, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 210.8 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 76.09 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3014, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003048/0.3045, allocations: 1.672 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3055, allocations: 0.5685 MB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.3056, allocations: 0 / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.3061, allocations: 449 kB / 0.5343 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005195/0.3067, allocations: 297 kB / 0.5346 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.307, allocations: 137 kB / 0.5347 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.3073, allocations: 182.8 kB / 0.5349 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3074, allocations: 21.25 kB / 0.5349 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.3075, allocations: 111.8 kB / 0.535 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.3078, allocations: 219.7 kB / 0.5352 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.3078, allocations: 8.281 kB / 0.5352 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.308, allocations: 48.14 kB / 0.5353 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.3081, allocations: 86.92 kB / 0.5354 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.355e-05/0.3082, allocations: 112.3 kB / 0.5355 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.3086, allocations: 275.1 kB / 0.5357 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3086, allocations: 3.938 kB / 0.5357 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3086, allocations: 0 / 0.5357 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3086, allocations: 0 / 0.5357 GB, free: 10.86 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.0008321/0.3094, allocations: 0.6485 MB / 0.5364 GB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3095, allocations: 9.438 kB / 0.5364 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.3096, allocations: 43.84 kB / 0.5364 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.3098, allocations: 298 kB / 0.5367 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3099, allocations: 10.5 kB / 0.5367 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.3099, allocations: 6.516 kB / 0.5367 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3101, allocations: 68.17 kB / 0.5368 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3101, allocations: 0 / 0.5368 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.3101, allocations: 1.062 kB / 0.5368 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3101, allocations: 1.031 kB / 0.5368 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.3103, allocations: 38.72 kB / 0.5368 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.3109, allocations: 403.4 kB / 0.5372 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.3111, allocations: 53.8 kB / 0.5373 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.003e-05/0.3112, allocations: 25.78 kB / 0.5373 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.3112, allocations: 1.094 kB / 0.5373 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3113, allocations: 39.52 kB / 0.5373 GB, free: 9.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.3113, allocations: 0 / 0.5373 GB, free: 9.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001616/0.3129, allocations: 468.1 kB / 0.5378 GB, free: 9.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/0.313, allocations: 56.38 kB / 0.5378 GB, free: 9.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008499/0.3138, allocations: 0.8632 MB / 0.5387 GB, free: 8.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3139, allocations: 29.7 kB / 0.5387 GB, free: 8.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.3141, allocations: 220.1 kB / 0.5389 GB, free: 8.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.3141, allocations: 35.84 kB / 0.5389 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.3142, allocations: 29.33 kB / 0.539 GB, free: 8.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3144, allocations: 360.3 kB / 0.5393 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.3145, allocations: 44.12 kB / 0.5394 GB, free: 8.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3146, allocations: 43.62 kB / 0.5394 GB, free: 7.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.3149, allocations: 97.03 kB / 0.5395 GB, free: 7.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3149, allocations: 3.938 kB / 0.5395 GB, free: 7.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003958/0.3153, allocations: 183.7 kB / 0.5397 GB, free: 7.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3154, allocations: 4.5 kB / 0.5397 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3154, allocations: 9.094 kB / 0.5397 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3154, allocations: 0 / 0.5397 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3155, allocations: 33.3 kB / 0.5397 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3155, allocations: 0 / 0.5397 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.058e-05/0.3156, allocations: 10.61 kB / 0.5397 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.3156, allocations: 2.281 kB / 0.5397 GB, free: 7.805 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.0001903/0.3158, allocations: 218.8 kB / 0.5399 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.3159, allocations: 47.38 kB / 0.54 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.3164, allocations: 201.4 kB / 0.5402 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3164, allocations: 5.031 kB / 0.5402 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3164, allocations: 0 / 0.5402 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3164, allocations: 9.016 kB / 0.5402 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008228/0.3173, allocations: 0.5653 MB / 0.5407 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3173, allocations: 1.438 kB / 0.5407 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.3174, allocations: 28.44 kB / 0.5408 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3174, allocations: 1.406 kB / 0.5408 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3174, allocations: 5.469 kB / 0.5408 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3174, allocations: 1.469 kB / 0.5408 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3174, allocations: 5.344 kB / 0.5408 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.3178, allocations: 284.7 kB / 0.5411 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-05/0.3179, allocations: 106.9 kB / 0.5412 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.318, allocations: 6.188 kB / 0.5412 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.3181, allocations: 14.14 kB / 0.5412 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.3182, allocations: 8.703 kB / 0.5412 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.3182, allocations: 7.719 kB / 0.5412 GB, free: 6.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006725/0.3189, allocations: 0.6517 MB / 0.5418 GB, free: 6.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.064e-06/0.3189, allocations: 0 / 0.5418 GB, free: 6.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003149/0.3192, allocations: 36.2 kB / 0.5419 GB, free: 6.312 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.001073/0.3203, allocations: 457.6 kB / 0.5423 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003665/0.3206, allocations: 102.1 kB / 0.5424 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3207, allocations: 4 kB / 0.5424 GB, free: 6.035 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.3208, allocations: 62.39 kB / 0.5425 GB, free: 6.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.3212, allocations: 40.75 kB / 0.5425 GB, free: 5.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.3225, allocations: 0.8896 MB / 0.5434 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.3231, allocations: 0.8272 MB / 0.5442 GB, free: 4.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.3231, allocations: 23.42 kB / 0.5442 GB, free: 4.672 MB / 398.1 MB Notification: Performance of SimCode: time 3.546e-06/0.3232, allocations: 0 / 0.5442 GB, free: 4.672 MB / 398.1 MB Notification: Performance of Templates: time 0.007414/0.3306, allocations: 4.116 MB / 0.5482 GB, free: 0.5508 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches