Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001596/0.001596, allocations: 184.2 kB / 15.76 MB, free: 6.367 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.651/1.651, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009569/0.000957, allocations: 90.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2914/0.2914, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003965, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1356, allocations: 58.84 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.441/0.5767, allocations: 87.72 MB / 0.5644 GB, free: 12.08 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.577, allocations: 81.14 kB / 0.5645 GB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01542/0.5925, allocations: 5.628 MB / 0.57 GB, free: 7.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5925, allocations: 0 / 0.57 GB, free: 7.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.5925, allocations: 4 kB / 0.57 GB, free: 7.25 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005747/0.5931, allocations: 436.9 kB / 0.5704 GB, free: 6.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.5932, allocations: 8.031 kB / 0.5704 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.5932, allocations: 15.81 kB / 0.5704 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.5936, allocations: 234.2 kB / 0.5707 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.5936, allocations: 7.25 kB / 0.5707 GB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.5936, allocations: 4 kB / 0.5707 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.5938, allocations: 57.53 kB / 0.5707 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.5938, allocations: 0 / 0.5707 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.5938, allocations: 4 kB / 0.5707 GB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5938, allocations: 0 / 0.5707 GB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.032e-05/0.5939, allocations: 27.05 kB / 0.5708 GB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.5944, allocations: 305.9 kB / 0.571 GB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.5946, allocations: 64.17 kB / 0.5711 GB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.5946, allocations: 4 kB / 0.5711 GB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.5948, allocations: 74.36 kB / 0.5712 GB, free: 5.941 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.5948, allocations: 0 / 0.5712 GB, free: 5.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005926/0.5954, allocations: 178.2 kB / 0.5714 GB, free: 5.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.5954, allocations: 55.36 kB / 0.5714 GB, free: 5.727 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.5957, allocations: 220.2 kB / 0.5716 GB, free: 5.535 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.5957, allocations: 25.7 kB / 0.5716 GB, free: 5.504 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.5958, allocations: 117.2 kB / 0.5718 GB, free: 5.406 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.5958, allocations: 26.91 kB / 0.5718 GB, free: 5.383 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-06/0.5958, allocations: 0 / 0.5718 GB, free: 5.383 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.596, allocations: 330.1 kB / 0.5721 GB, free: 5.059 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.596, allocations: 18.56 kB / 0.5721 GB, free: 5.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.5961, allocations: 32.83 kB / 0.5721 GB, free: 5.016 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.206e-05/0.5962, allocations: 34.61 kB / 0.5722 GB, free: 4.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5962, allocations: 0 / 0.5722 GB, free: 4.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000187/0.5964, allocations: 107.1 kB / 0.5723 GB, free: 4.898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.5964, allocations: 10.64 kB / 0.5723 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5964, allocations: 0 / 0.5723 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.5964, allocations: 0 / 0.5723 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.833e-05/0.5965, allocations: 16 kB / 0.5723 GB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.5965, allocations: 0 / 0.5723 GB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.5966, allocations: 11.39 kB / 0.5723 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.5966, allocations: 3.984 kB / 0.5723 GB, free: 4.863 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001188/0.5967, allocations: 139.3 kB / 0.5725 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.5968, allocations: 15.8 kB / 0.5725 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.597, allocations: 132.1 kB / 0.5726 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.597, allocations: 0 / 0.5726 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5971, allocations: 0 / 0.5726 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5971, allocations: 0 / 0.5726 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.5976, allocations: 434.2 kB / 0.573 GB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5976, allocations: 0 / 0.573 GB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.5976, allocations: 15.23 kB / 0.573 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5977, allocations: 0 / 0.573 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.5977, allocations: 7.938 kB / 0.573 GB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5977, allocations: 3.953 kB / 0.573 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.5977, allocations: 0 / 0.573 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.598, allocations: 226.3 kB / 0.5732 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.5981, allocations: 100.2 kB / 0.5733 GB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.5981, allocations: 4.766 kB / 0.5733 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.841e-05/0.5982, allocations: 13.11 kB / 0.5734 GB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.5982, allocations: 5 kB / 0.5734 GB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.5982, allocations: 4.5 kB / 0.5734 GB, free: 3.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001756/0.5984, allocations: 189.1 kB / 0.5736 GB, free: 3.621 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5984, allocations: 4 kB / 0.5736 GB, free: 3.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.5987, allocations: 31.5 kB / 0.5736 GB, free: 3.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001091/0.5998, allocations: 472.4 kB / 0.574 GB, free: 3.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.6, allocations: 65.09 kB / 0.5741 GB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6, allocations: 0 / 0.5741 GB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.163e-05/0.6001, allocations: 35.61 kB / 0.5741 GB, free: 3.105 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.6004, allocations: 23.92 kB / 0.5742 GB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.6009, allocations: 303 kB / 0.5744 GB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.6013, allocations: 0.716 MB / 0.5751 GB, free: 2.043 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.325e-05/0.6013, allocations: 24.84 kB / 0.5752 GB, free: 2.016 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.6014, allocations: 22.62 kB / 0.5752 GB, free: 1.996 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6014, allocations: 0 / 0.5752 GB, free: 1.996 MB / 378.7 MB Notification: Performance of Templates: time 0.004499/0.6059, allocations: 1.776 MB / 0.5769 GB, free: 244 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches