Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001429/0.001429, allocations: 106 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00184/0.00184, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 75.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2833, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.00282/0.2861, allocations: 1.659 MB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009521/0.2871, allocations: 0.5564 MB / 0.5339 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.2872, allocations: 1.156 kB / 0.5339 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005476/0.2877, allocations: 461.1 kB / 0.5343 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004218/0.2882, allocations: 287 kB / 0.5346 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.2885, allocations: 138.6 kB / 0.5347 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.2888, allocations: 171.8 kB / 0.5349 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.2889, allocations: 21.61 kB / 0.5349 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.289, allocations: 114.8 kB / 0.535 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.2892, allocations: 214.3 kB / 0.5352 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.2893, allocations: 4.156 kB / 0.5352 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.2894, allocations: 56.34 kB / 0.5353 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.937e-05/0.2895, allocations: 82.72 kB / 0.5353 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.881e-05/0.2896, allocations: 98.62 kB / 0.5354 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.2899, allocations: 278.3 kB / 0.5357 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2899, allocations: 1.219 kB / 0.5357 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2899, allocations: 0 / 0.5357 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.29, allocations: 0 / 0.5357 GB, free: 10.93 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.0007174/0.2907, allocations: 0.6443 MB / 0.5363 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.2907, allocations: 9.938 kB / 0.5363 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.2908, allocations: 47.42 kB / 0.5364 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.291, allocations: 297.8 kB / 0.5367 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.2911, allocations: 6.625 kB / 0.5367 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.2911, allocations: 10.81 kB / 0.5367 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.2913, allocations: 60.91 kB / 0.5367 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.2913, allocations: 3.984 kB / 0.5367 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2913, allocations: 1 kB / 0.5367 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2913, allocations: 4.938 kB / 0.5368 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.2915, allocations: 24.14 kB / 0.5368 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.2919, allocations: 399.1 kB / 0.5372 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.2921, allocations: 42.22 kB / 0.5372 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.296e-05/0.2921, allocations: 21.44 kB / 0.5372 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.2922, allocations: 7.984 kB / 0.5372 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.2922, allocations: 35.5 kB / 0.5373 GB, free: 9.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.2922, allocations: 1.188 kB / 0.5373 GB, free: 9.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009684/0.2932, allocations: 303 kB / 0.5375 GB, free: 9.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.2933, allocations: 60.62 kB / 0.5376 GB, free: 9.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008675/0.2941, allocations: 0.8643 MB / 0.5384 GB, free: 8.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2942, allocations: 27.02 kB / 0.5385 GB, free: 8.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.2943, allocations: 229.5 kB / 0.5387 GB, free: 8.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.2944, allocations: 22.38 kB / 0.5387 GB, free: 8.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.2944, allocations: 21.06 kB / 0.5387 GB, free: 8.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2946, allocations: 363.7 kB / 0.5391 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.2947, allocations: 26.11 kB / 0.5391 GB, free: 8.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.2947, allocations: 26.23 kB / 0.5391 GB, free: 8.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.2949, allocations: 64.58 kB / 0.5392 GB, free: 8.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.2949, allocations: 1.594 kB / 0.5392 GB, free: 8.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002829/0.2952, allocations: 133.5 kB / 0.5393 GB, free: 8.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2952, allocations: 5.531 kB / 0.5393 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2952, allocations: 7.938 kB / 0.5393 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2952, allocations: 1.781 kB / 0.5393 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.874e-05/0.2953, allocations: 17.36 kB / 0.5394 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2954, allocations: 3.938 kB / 0.5394 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.2954, allocations: 7.219 kB / 0.5394 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.2954, allocations: 6.234 kB / 0.5394 GB, free: 8.02 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 (8): * Single equations (assignments): 8 * 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.000177/0.2956, allocations: 210.9 kB / 0.5396 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.2957, allocations: 42.34 kB / 0.5396 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.2961, allocations: 160.6 kB / 0.5398 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2961, allocations: 3.938 kB / 0.5398 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2961, allocations: 5.125 kB / 0.5398 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2961, allocations: 3.984 kB / 0.5398 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.2967, allocations: 0.5034 MB / 0.5403 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.2967, allocations: 3.938 kB / 0.5403 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.2968, allocations: 18.42 kB / 0.5403 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2969, allocations: 1.438 kB / 0.5403 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.2969, allocations: 1.5 kB / 0.5403 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2969, allocations: 0 / 0.5403 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2969, allocations: 1.406 kB / 0.5403 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.2972, allocations: 242.9 kB / 0.5405 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.732e-05/0.2972, allocations: 114.7 kB / 0.5406 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.2973, allocations: 9 kB / 0.5406 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/0.2974, allocations: 7.266 kB / 0.5407 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.2974, allocations: 3.625 kB / 0.5407 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.2974, allocations: 6.016 kB / 0.5407 GB, free: 6.953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006239/0.2981, allocations: 0.6538 MB / 0.5413 GB, free: 6.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2981, allocations: 4 kB / 0.5413 GB, free: 6.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.2983, allocations: 30.28 kB / 0.5413 GB, free: 6.625 MB / 398.1 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 (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.00103/0.2994, allocations: 452.8 kB / 0.5418 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002839/0.2997, allocations: 75.66 kB / 0.5418 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2997, allocations: 0 / 0.5418 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/0.2998, allocations: 38.73 kB / 0.5419 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.3002, allocations: 29.64 kB / 0.5419 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.3013, allocations: 0.8499 MB / 0.5427 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.3018, allocations: 0.8324 MB / 0.5435 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.3018, allocations: 14.72 kB / 0.5436 GB, free: 5.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3018, allocations: 0 / 0.5436 GB, free: 5.07 MB / 398.1 MB Notification: Performance of Templates: time 0.006977/0.3088, allocations: 3.964 MB / 0.5474 GB, free: 1.391 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches