Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001465, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.946/1.946, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001122/0.001122, allocations: 91.25 kB / 270.9 MB, free: 8.379 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.5082/0.5082, allocations: 43.55 MB / 362.7 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004664, allocations: 12 kB / 431.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1229, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.537/0.66, allocations: 86.64 MB / 0.5633 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004074/0.6605, allocations: 75.95 kB / 0.5634 GB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02643/0.6869, allocations: 4.301 MB / 0.5676 GB, free: 11.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.687, allocations: 0 / 0.5676 GB, free: 11.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.687, allocations: 0 / 0.5676 GB, free: 11.6 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.000654/0.6877, allocations: 384.1 kB / 0.568 GB, free: 11.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.6878, allocations: 16.02 kB / 0.568 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.6879, allocations: 3.906 kB / 0.568 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.6882, allocations: 195.8 kB / 0.5682 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.6883, allocations: 4 kB / 0.5682 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.6883, allocations: 0 / 0.5682 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.6886, allocations: 67.34 kB / 0.5682 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.6887, allocations: 0 / 0.5682 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.6887, allocations: 0.75 kB / 0.5682 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.6887, allocations: 0 / 0.5682 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.6889, allocations: 33 kB / 0.5683 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.6896, allocations: 268.9 kB / 0.5685 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.69, allocations: 42.5 kB / 0.5686 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.69, allocations: 4.078 kB / 0.5686 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.6901, allocations: 38.56 kB / 0.5686 GB, free: 10.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 3.266e-06/0.6901, allocations: 0 / 0.5686 GB, free: 10.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001262/0.6914, allocations: 159.6 kB / 0.5688 GB, free: 10.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.433e-05/0.6915, allocations: 81.11 kB / 0.5688 GB, free: 10.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.6918, allocations: 120.9 kB / 0.569 GB, free: 10.03 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.6919, allocations: 25.7 kB / 0.569 GB, free: 9.996 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.692, allocations: 162.5 kB / 0.5691 GB, free: 9.836 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.692, allocations: 23.72 kB / 0.5692 GB, free: 9.812 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.692, allocations: 0 / 0.5692 GB, free: 9.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6922, allocations: 314.8 kB / 0.5695 GB, free: 9.496 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.6924, allocations: 23.98 kB / 0.5695 GB, free: 9.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.6926, allocations: 33.7 kB / 0.5695 GB, free: 9.434 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.6929, allocations: 28.02 kB / 0.5695 GB, free: 9.406 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6929, allocations: 4 kB / 0.5695 GB, free: 9.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004608/0.6934, allocations: 81.61 kB / 0.5696 GB, free: 9.316 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.6934, allocations: 4 kB / 0.5696 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.6935, allocations: 3.984 kB / 0.5696 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.6935, allocations: 3.984 kB / 0.5696 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.6937, allocations: 16 kB / 0.5696 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.6937, allocations: 0 / 0.5696 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.6939, allocations: 11.98 kB / 0.5697 GB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.6939, allocations: 3.953 kB / 0.5697 GB, free: 9.273 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.000156/0.6941, allocations: 113.8 kB / 0.5698 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.081e-05/0.6942, allocations: 7.906 kB / 0.5698 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005515/0.6948, allocations: 105.7 kB / 0.5699 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.6948, allocations: 0 / 0.5699 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6948, allocations: 0 / 0.5699 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6948, allocations: 4 kB / 0.5699 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009279/0.6958, allocations: 350.5 kB / 0.5702 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6958, allocations: 0 / 0.5702 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.696, allocations: 19.92 kB / 0.5702 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-06/0.696, allocations: 0 / 0.5702 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.6961, allocations: 0 / 0.5702 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.6961, allocations: 0 / 0.5702 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6961, allocations: 4 kB / 0.5702 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005658/0.6967, allocations: 187.4 kB / 0.5704 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-05/0.6968, allocations: 93 kB / 0.5705 GB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.6969, allocations: 0.75 kB / 0.5705 GB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.6971, allocations: 4 kB / 0.5705 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.6971, allocations: 11.98 kB / 0.5705 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.6972, allocations: 0 / 0.5705 GB, free: 8.289 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001778/0.6974, allocations: 122.4 kB / 0.5706 GB, free: 8.172 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.6974, allocations: 0 / 0.5706 GB, free: 8.172 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006211/0.698, allocations: 23.98 kB / 0.5707 GB, free: 8.148 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.002021/0.7001, allocations: 468.7 kB / 0.5711 GB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006965/0.7008, allocations: 51.97 kB / 0.5712 GB, free: 7.734 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.7008, allocations: 0 / 0.5712 GB, free: 7.734 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.701, allocations: 27.98 kB / 0.5712 GB, free: 7.707 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.7015, allocations: 23.92 kB / 0.5712 GB, free: 7.684 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007519/0.7023, allocations: 188.8 kB / 0.5714 GB, free: 7.469 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.7027, allocations: 0.6926 MB / 0.5721 GB, free: 6.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.7028, allocations: 15.44 kB / 0.5721 GB, free: 6.738 MB / 394.7 MB Notification: Performance of SimCode: time 1.432e-06/0.7028, allocations: 0 / 0.5721 GB, free: 6.738 MB / 394.7 MB Notification: Performance of Templates: time 0.006851/0.7097, allocations: 1.569 MB / 0.5736 GB, free: 5.172 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches