Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 180.5 kB / 17.41 MB, free: 4.383 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 223.6 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007039/0.000704, allocations: 89.36 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3584/0.3584, allocations: 43.55 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003716, allocations: 16 kB / 432.6 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1279, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.354/0.4819, allocations: 86.49 MB / 0.5644 GB, free: 15.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.4822, allocations: 71.97 kB / 0.5645 GB, free: 15.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009247/0.4914, allocations: 3.629 MB / 0.568 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4915, allocations: 7.938 kB / 0.568 GB, free: 12.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.4915, allocations: 0 / 0.568 GB, free: 12.28 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004334/0.4919, allocations: 387.8 kB / 0.5684 GB, free: 11.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.492, allocations: 8.031 kB / 0.5684 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.492, allocations: 9.719 kB / 0.5684 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.4922, allocations: 196.2 kB / 0.5686 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.4923, allocations: 12.36 kB / 0.5686 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.4923, allocations: 384 / 0.5686 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.4924, allocations: 50.25 kB / 0.5686 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.4925, allocations: 4.125 kB / 0.5686 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.4925, allocations: 13.44 kB / 0.5687 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4925, allocations: 0 / 0.5687 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.936e-05/0.4926, allocations: 27.97 kB / 0.5687 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.493, allocations: 285 kB / 0.569 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.4932, allocations: 54.42 kB / 0.569 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.4933, allocations: 16.86 kB / 0.569 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.4933, allocations: 0 / 0.569 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.4933, allocations: 38.56 kB / 0.5691 GB, free: 11.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.4933, allocations: 0 / 0.5691 GB, free: 11.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005475/0.4939, allocations: 169.3 kB / 0.5692 GB, free: 10.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.4939, allocations: 55.41 kB / 0.5693 GB, free: 10.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.4941, allocations: 161.2 kB / 0.5694 GB, free: 10.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.4941, allocations: 25.7 kB / 0.5695 GB, free: 10.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.4942, allocations: 100 kB / 0.5695 GB, free: 10.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.4942, allocations: 15.75 kB / 0.5696 GB, free: 10.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.4942, allocations: 3.938 kB / 0.5696 GB, free: 10.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4943, allocations: 329.6 kB / 0.5699 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.409e-05/0.4944, allocations: 27.98 kB / 0.5699 GB, free: 10.13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.634e-05/0.4945, allocations: 23.98 kB / 0.5699 GB, free: 10.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.4946, allocations: 60.83 kB / 0.57 GB, free: 10.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.4946, allocations: 0 / 0.57 GB, free: 10.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000184/0.4948, allocations: 101.5 kB / 0.5701 GB, free: 9.938 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.4949, allocations: 4 kB / 0.5701 GB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4949, allocations: 0 / 0.5701 GB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.4949, allocations: 0 / 0.5701 GB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.219e-05/0.495, allocations: 19.98 kB / 0.5701 GB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.495, allocations: 0 / 0.5701 GB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.925e-05/0.495, allocations: 4 kB / 0.5701 GB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.495, allocations: 4 kB / 0.5701 GB, free: 9.906 MB / 394.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 (5): * Single equations (assignments): 5 * 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 9.03e-05/0.4951, allocations: 129.8 kB / 0.5702 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.4952, allocations: 7.906 kB / 0.5702 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.4954, allocations: 113.9 kB / 0.5704 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4954, allocations: 0 / 0.5704 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4954, allocations: 0 / 0.5704 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.4954, allocations: 4 kB / 0.5704 GB, free: 9.645 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.4959, allocations: 378.8 kB / 0.5707 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4959, allocations: 0 / 0.5707 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.496, allocations: 19.92 kB / 0.5707 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.496, allocations: 0 / 0.5707 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.496, allocations: 0 / 0.5707 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.496, allocations: 0 / 0.5707 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.496, allocations: 0 / 0.5707 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.4962, allocations: 195.4 kB / 0.5709 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.4963, allocations: 89.02 kB / 0.571 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.4963, allocations: 3.938 kB / 0.571 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.4964, allocations: 11.98 kB / 0.571 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.4964, allocations: 8.219 kB / 0.571 GB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.4964, allocations: 0 / 0.571 GB, free: 8.863 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.4965, allocations: 134.7 kB / 0.5712 GB, free: 8.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4965, allocations: 0 / 0.5712 GB, free: 8.734 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002292/0.4968, allocations: 23.94 kB / 0.5712 GB, free: 8.711 MB / 394.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 (5): * Single equations (assignments): 5 * 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.0008638/0.4977, allocations: 414.2 kB / 0.5716 GB, free: 8.395 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.4979, allocations: 55.97 kB / 0.5716 GB, free: 8.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4979, allocations: 0 / 0.5716 GB, free: 8.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.893e-05/0.498, allocations: 27.98 kB / 0.5717 GB, free: 8.312 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.4983, allocations: 19.92 kB / 0.5717 GB, free: 8.293 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.4988, allocations: 245.1 kB / 0.5719 GB, free: 8.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.4991, allocations: 0.7004 MB / 0.5726 GB, free: 7.297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.4991, allocations: 15.44 kB / 0.5726 GB, free: 7.281 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4991, allocations: 0 / 0.5726 GB, free: 7.281 MB / 394.7 MB Notification: Performance of Templates: time 0.003678/0.5028, allocations: 1.452 MB / 0.574 GB, free: 5.836 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches