Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008619/0.0008618, allocations: 181.2 kB / 17.41 MB, free: 4.285 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.514/1.514, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007955/0.0007956, allocations: 90.08 kB / 271.9 MB, free: 8.258 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.3418/0.3418, allocations: 43.56 MB / 363.8 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 12 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1064, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2721/0.3785, allocations: 86.53 MB / 0.5644 GB, free: 15.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.3788, allocations: 79.95 kB / 0.5645 GB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009534/0.3883, allocations: 3.858 MB / 0.5683 GB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3884, allocations: 0 / 0.5683 GB, free: 11.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.3884, allocations: 0 / 0.5683 GB, free: 11.98 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.0003979/0.3888, allocations: 402.7 kB / 0.5687 GB, free: 11.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3888, allocations: 8.031 kB / 0.5687 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.3889, allocations: 13.78 kB / 0.5687 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.3891, allocations: 208 kB / 0.5689 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3891, allocations: 4.375 kB / 0.5689 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.3892, allocations: 384 / 0.5689 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.3893, allocations: 59.11 kB / 0.5689 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3893, allocations: 192 / 0.5689 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3893, allocations: 3.938 kB / 0.5689 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3894, allocations: 0 / 0.5689 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.817e-05/0.3894, allocations: 23.98 kB / 0.569 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.3898, allocations: 296.9 kB / 0.5692 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.3901, allocations: 46.5 kB / 0.5693 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.963e-05/0.3901, allocations: 27.84 kB / 0.5693 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.3902, allocations: 0 / 0.5693 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.3902, allocations: 38.56 kB / 0.5693 GB, free: 10.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3902, allocations: 0 / 0.5693 GB, free: 10.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006061/0.3908, allocations: 169.6 kB / 0.5695 GB, free: 10.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.3909, allocations: 55.41 kB / 0.5696 GB, free: 10.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.3911, allocations: 183.2 kB / 0.5697 GB, free: 10.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.3911, allocations: 29.7 kB / 0.5698 GB, free: 10.26 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.3912, allocations: 100.1 kB / 0.5699 GB, free: 10.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.3912, allocations: 15.73 kB / 0.5699 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.3912, allocations: 4 kB / 0.5699 GB, free: 10.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.3914, allocations: 326.8 kB / 0.5702 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.062e-05/0.3915, allocations: 23.98 kB / 0.5702 GB, free: 9.785 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.471e-05/0.3915, allocations: 27.92 kB / 0.5702 GB, free: 9.758 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3917, allocations: 60.83 kB / 0.5703 GB, free: 9.695 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3917, allocations: 0 / 0.5703 GB, free: 9.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000198/0.3919, allocations: 97.56 kB / 0.5704 GB, free: 9.594 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3919, allocations: 4 kB / 0.5704 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3919, allocations: 4 kB / 0.5704 GB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.392, allocations: 4.031 kB / 0.5704 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.392, allocations: 15.98 kB / 0.5704 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.392, allocations: 1.094 kB / 0.5704 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.3921, allocations: 8 kB / 0.5704 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3921, allocations: 0 / 0.5704 GB, free: 9.559 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 0.0001115/0.3922, allocations: 141.7 kB / 0.5706 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.3923, allocations: 15.81 kB / 0.5706 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.3925, allocations: 102 kB / 0.5707 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3925, allocations: 0 / 0.5707 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.3925, allocations: 0 / 0.5707 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3925, allocations: 7.984 kB / 0.5707 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005218/0.3931, allocations: 382.4 kB / 0.571 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3931, allocations: 1.406 kB / 0.5711 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.3932, allocations: 15.98 kB / 0.5711 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3932, allocations: 0 / 0.5711 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3932, allocations: 4 kB / 0.5711 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3932, allocations: 4 kB / 0.5711 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.3932, allocations: 7.984 kB / 0.5711 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.3935, allocations: 191.3 kB / 0.5713 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/0.3936, allocations: 97 kB / 0.5714 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.3936, allocations: 4 kB / 0.5714 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.3937, allocations: 4 kB / 0.5714 GB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.3937, allocations: 11.92 kB / 0.5714 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.3938, allocations: 3.938 kB / 0.5714 GB, free: 8.484 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.3939, allocations: 152.2 kB / 0.5715 GB, free: 8.336 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3939, allocations: 0 / 0.5715 GB, free: 8.336 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.3941, allocations: 24 kB / 0.5715 GB, free: 8.312 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.0008499/0.395, allocations: 398.9 kB / 0.5719 GB, free: 8.012 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.3952, allocations: 51.97 kB / 0.572 GB, free: 7.961 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3952, allocations: 4 kB / 0.572 GB, free: 7.957 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.202e-05/0.3953, allocations: 39.92 kB / 0.572 GB, free: 7.918 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.3956, allocations: 13.2 kB / 0.572 GB, free: 7.906 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.396, allocations: 264.9 kB / 0.5723 GB, free: 7.621 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.3963, allocations: 0.7131 MB / 0.573 GB, free: 6.883 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.3963, allocations: 11.44 kB / 0.573 GB, free: 6.871 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3963, allocations: 0 / 0.573 GB, free: 6.871 MB / 394.7 MB Notification: Performance of Templates: time 0.002886/0.3992, allocations: 1.521 MB / 0.5745 GB, free: 5.355 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches