Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28,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.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 181.2 kB / 17.41 MB, free: 4.406 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.575/1.575, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0008112/0.0008111, allocations: 89.41 kB / 271.9 MB, free: 8.25 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.3403/0.3403, allocations: 43.55 MB / 363.8 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 16 kB / 432.6 MB, free: 5.859 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1072, allocations: 58.84 MB / 491.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2726/0.3798, allocations: 86.42 MB / 0.5643 GB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.38, allocations: 75.97 kB / 0.5644 GB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009655/0.3897, allocations: 4.049 MB / 0.5683 GB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3897, allocations: 0 / 0.5683 GB, free: 11.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.3897, allocations: 4 kB / 0.5683 GB, free: 11.9 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.0003912/0.3901, allocations: 417.9 kB / 0.5687 GB, free: 11.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3902, allocations: 8.031 kB / 0.5688 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.3902, allocations: 13.88 kB / 0.5688 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.3905, allocations: 218.9 kB / 0.569 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.3905, allocations: 384 / 0.569 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.3905, allocations: 4.375 kB / 0.569 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.3906, allocations: 54.17 kB / 0.569 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3906, allocations: 4.188 kB / 0.569 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3907, allocations: 3.938 kB / 0.569 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3907, allocations: 7.984 kB / 0.569 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.3908, allocations: 23.98 kB / 0.5691 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.3911, allocations: 285 kB / 0.5693 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.3913, allocations: 58.44 kB / 0.5694 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.3914, allocations: 15.77 kB / 0.5694 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.3914, allocations: 0 / 0.5694 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.3914, allocations: 34.64 kB / 0.5694 GB, free: 10.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.3914, allocations: 0 / 0.5694 GB, free: 10.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005139/0.3919, allocations: 177.2 kB / 0.5696 GB, free: 10.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.392, allocations: 51.41 kB / 0.5697 GB, free: 10.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.3922, allocations: 230.7 kB / 0.5699 GB, free: 10.14 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.3922, allocations: 25.7 kB / 0.5699 GB, free: 10.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.3923, allocations: 108.1 kB / 0.57 GB, free: 10 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.3923, allocations: 15.8 kB / 0.57 GB, free: 9.984 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.3923, allocations: 3.938 kB / 0.57 GB, free: 9.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3925, allocations: 330.8 kB / 0.5703 GB, free: 9.648 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.363e-05/0.3925, allocations: 19.98 kB / 0.5704 GB, free: 9.629 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.202e-05/0.3926, allocations: 23.98 kB / 0.5704 GB, free: 9.605 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.3927, allocations: 56.77 kB / 0.5704 GB, free: 9.547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.3927, allocations: 0 / 0.5704 GB, free: 9.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001674/0.3929, allocations: 93.48 kB / 0.5705 GB, free: 9.449 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3929, allocations: 8 kB / 0.5705 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3929, allocations: 0 / 0.5705 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.393, allocations: 0 / 0.5705 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.393, allocations: 15.98 kB / 0.5706 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.393, allocations: 0 / 0.5706 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.3931, allocations: 8.875 kB / 0.5706 GB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.3931, allocations: 4 kB / 0.5706 GB, free: 9.414 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.675e-05/0.3932, allocations: 137.8 kB / 0.5707 GB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.3932, allocations: 11.84 kB / 0.5707 GB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.3935, allocations: 114.6 kB / 0.5708 GB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3935, allocations: 0 / 0.5708 GB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3935, allocations: 320 / 0.5708 GB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3935, allocations: 3.984 kB / 0.5708 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.394, allocations: 390.4 kB / 0.5712 GB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.394, allocations: 5.031 kB / 0.5712 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.104e-05/0.394, allocations: 15.98 kB / 0.5712 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.394, allocations: 4 kB / 0.5712 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.394, allocations: 0 / 0.5712 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3941, allocations: 0 / 0.5712 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3941, allocations: 0 / 0.5712 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.3943, allocations: 191.3 kB / 0.5714 GB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/0.3944, allocations: 97 kB / 0.5715 GB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3944, allocations: 4 kB / 0.5715 GB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.485e-05/0.3945, allocations: 4 kB / 0.5715 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.3945, allocations: 15.86 kB / 0.5715 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.3945, allocations: 3.938 kB / 0.5715 GB, free: 8.332 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001567/0.3947, allocations: 184.3 kB / 0.5717 GB, free: 8.152 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3947, allocations: 4 kB / 0.5717 GB, free: 8.148 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.3949, allocations: 23.94 kB / 0.5717 GB, free: 8.125 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.0008042/0.3957, allocations: 395.7 kB / 0.5721 GB, free: 7.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.3959, allocations: 51.97 kB / 0.5722 GB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3959, allocations: 4 kB / 0.5722 GB, free: 7.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.105e-05/0.396, allocations: 31.92 kB / 0.5722 GB, free: 7.742 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.3963, allocations: 19.97 kB / 0.5722 GB, free: 7.723 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.3968, allocations: 309.6 kB / 0.5725 GB, free: 7.391 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.3971, allocations: 0.7121 MB / 0.5732 GB, free: 6.652 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.3971, allocations: 15.44 kB / 0.5732 GB, free: 6.637 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3971, allocations: 0 / 0.5732 GB, free: 6.637 MB / 394.7 MB Notification: Performance of Templates: time 0.00295/0.4001, allocations: 1.63 MB / 0.5748 GB, free: 5.012 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches