Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002029/0.002029, 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.354/1.354, 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.000723/0.000723, allocations: 93.06 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.2874/0.2874, allocations: 43.56 MB / 363.8 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005034, allocations: 12 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1052, allocations: 58.84 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2589/0.3642, allocations: 86.39 MB / 0.5643 GB, free: 15.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.3645, allocations: 75.97 kB / 0.5644 GB, free: 15.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01232/0.3768, allocations: 3.529 MB / 0.5678 GB, free: 12.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3768, allocations: 0 / 0.5678 GB, free: 12.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.3769, allocations: 0 / 0.5678 GB, free: 12.33 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.0004919/0.3774, allocations: 388 kB / 0.5682 GB, free: 11.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3774, allocations: 12.03 kB / 0.5682 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.3775, allocations: 9.969 kB / 0.5682 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.3778, allocations: 196.1 kB / 0.5684 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3778, allocations: 384 / 0.5684 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3778, allocations: 4.375 kB / 0.5684 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.378, allocations: 54.23 kB / 0.5684 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.378, allocations: 192 / 0.5684 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.378, allocations: 3.938 kB / 0.5684 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.378, allocations: 0 / 0.5684 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.3782, allocations: 27.98 kB / 0.5685 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.3786, allocations: 272.9 kB / 0.5687 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.3789, allocations: 42.5 kB / 0.5688 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/0.379, allocations: 27.77 kB / 0.5688 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.379, allocations: 0 / 0.5688 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.379, allocations: 37.08 kB / 0.5688 GB, free: 11.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.615e-06/0.379, allocations: 3.984 kB / 0.5688 GB, free: 11.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006763/0.3797, allocations: 157.2 kB / 0.569 GB, free: 10.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3798, allocations: 55.41 kB / 0.569 GB, free: 10.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.3799, allocations: 134.1 kB / 0.5692 GB, free: 10.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.38, allocations: 25.7 kB / 0.5692 GB, free: 10.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.38, allocations: 92.14 kB / 0.5693 GB, free: 10.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.3801, allocations: 23.8 kB / 0.5693 GB, free: 10.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.3801, allocations: 0 / 0.5693 GB, free: 10.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3802, allocations: 319 kB / 0.5696 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.584e-05/0.3803, allocations: 31.86 kB / 0.5696 GB, free: 10.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/0.3804, allocations: 15.98 kB / 0.5696 GB, free: 10.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.3806, allocations: 60.83 kB / 0.5697 GB, free: 10.17 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3806, allocations: 0 / 0.5697 GB, free: 10.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002451/0.3809, allocations: 81.58 kB / 0.5698 GB, free: 10.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3809, allocations: 12 kB / 0.5698 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3809, allocations: 0 / 0.5698 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3809, allocations: 0 / 0.5698 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.375e-05/0.381, allocations: 15.98 kB / 0.5698 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.381, allocations: 3.938 kB / 0.5698 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.118e-05/0.3811, allocations: 7.984 kB / 0.5698 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3811, allocations: 0.75 kB / 0.5698 GB, free: 10.05 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.95e-05/0.3812, allocations: 133.7 kB / 0.57 GB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.3813, allocations: 3.906 kB / 0.57 GB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.3816, allocations: 102.6 kB / 0.5701 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.3816, allocations: 0 / 0.5701 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3816, allocations: 320 / 0.5701 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3816, allocations: 0 / 0.5701 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.3822, allocations: 366.4 kB / 0.5704 GB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3822, allocations: 1.031 kB / 0.5704 GB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-05/0.3823, allocations: 12 kB / 0.5704 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3823, allocations: 0 / 0.5704 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3823, allocations: 4 kB / 0.5704 GB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.3823, allocations: 8 kB / 0.5704 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3823, allocations: 3.984 kB / 0.5704 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.3826, allocations: 183.3 kB / 0.5706 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.3827, allocations: 85.02 kB / 0.5707 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.3827, allocations: 7.984 kB / 0.5707 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3829, allocations: 8 kB / 0.5707 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.3829, allocations: 3.938 kB / 0.5707 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.383, allocations: 11.92 kB / 0.5707 GB, free: 9.031 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.3831, allocations: 107.3 kB / 0.5708 GB, free: 8.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3831, allocations: 0 / 0.5708 GB, free: 8.926 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003897/0.3835, allocations: 16 kB / 0.5708 GB, free: 8.91 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.001251/0.3847, allocations: 417 kB / 0.5712 GB, free: 8.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.385, allocations: 51.91 kB / 0.5713 GB, free: 8.531 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.385, allocations: 4 kB / 0.5713 GB, free: 8.527 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.3851, allocations: 27.98 kB / 0.5713 GB, free: 8.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.3856, allocations: 11.98 kB / 0.5713 GB, free: 8.488 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004714/0.3861, allocations: 204.8 kB / 0.5715 GB, free: 8.266 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.3864, allocations: 0.7004 MB / 0.5722 GB, free: 7.539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.3864, allocations: 11.44 kB / 0.5722 GB, free: 7.531 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.3864, allocations: 0 / 0.5722 GB, free: 7.531 MB / 394.7 MB Notification: Performance of Templates: time 0.003762/0.3902, allocations: 1.351 MB / 0.5735 GB, free: 6.184 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches