Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 181 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009477/0.0009478, allocations: 97.75 kB / 292.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3438/0.3438, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 8 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.458, allocations: 61.91 MB / 0.5096 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1221/0.5801, allocations: 89.3 MB / 0.5968 GB, free: 5.844 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.5804, allocations: 75.94 kB / 0.5968 GB, free: 5.773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01539/0.5958, allocations: 5.55 MB / 0.6023 GB, free: 232 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5958, allocations: 0 / 0.6023 GB, free: 232 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.5958, allocations: 8 kB / 0.6023 GB, free: 224 kB / 410.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.0005482/0.5964, allocations: 410.9 kB / 0.6027 GB, free: 15.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5965, allocations: 12.03 kB / 0.6027 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.5965, allocations: 7.906 kB / 0.6027 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.5968, allocations: 214.7 kB / 0.6029 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.5968, allocations: 7.953 kB / 0.6029 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.5969, allocations: 0 / 0.6029 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.597, allocations: 57.66 kB / 0.603 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.597, allocations: 0 / 0.603 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.597, allocations: 8 kB / 0.603 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5971, allocations: 0 / 0.603 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.551e-05/0.5971, allocations: 23.98 kB / 0.603 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.5975, allocations: 292.8 kB / 0.6033 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.5977, allocations: 58.67 kB / 0.6033 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.5977, allocations: 4 kB / 0.6033 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.5979, allocations: 67.42 kB / 0.6034 GB, free: 14.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.5979, allocations: 3.938 kB / 0.6034 GB, free: 14.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005675/0.5985, allocations: 169.3 kB / 0.6036 GB, free: 14.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.5985, allocations: 51.41 kB / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.5987, allocations: 168.2 kB / 0.6038 GB, free: 14.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.5987, allocations: 29.7 kB / 0.6038 GB, free: 14.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.5988, allocations: 100.1 kB / 0.6039 GB, free: 14.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.5988, allocations: 27.69 kB / 0.6039 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-06/0.5989, allocations: 8 kB / 0.6039 GB, free: 14.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.599, allocations: 323 kB / 0.6042 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.336e-05/0.5991, allocations: 20 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/0.5991, allocations: 37.7 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.054e-05/0.5992, allocations: 23.98 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5992, allocations: 4 kB / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001789/0.5994, allocations: 105.5 kB / 0.6044 GB, free: 13.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5994, allocations: 11.98 kB / 0.6044 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5994, allocations: 0 / 0.6044 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.5994, allocations: 0 / 0.6044 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.934e-05/0.5995, allocations: 12 kB / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.5996, allocations: 4 kB / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.5996, allocations: 3.984 kB / 0.6044 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.5996, allocations: 4.375 kB / 0.6044 GB, free: 13.78 MB / 426.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.0001029/0.5997, allocations: 142.2 kB / 0.6046 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.5998, allocations: 7.906 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.6, allocations: 118.3 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-06/0.6, allocations: 0 / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6001, allocations: 4 kB / 0.6047 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.6001, allocations: 12.25 kB / 0.6047 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.6005, allocations: 411.2 kB / 0.6051 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6005, allocations: 0 / 0.6051 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.6006, allocations: 15.94 kB / 0.6051 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.6006, allocations: 4 kB / 0.6051 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.6006, allocations: 0 / 0.6051 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6006, allocations: 0 / 0.6051 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6006, allocations: 0 / 0.6051 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.6009, allocations: 229.9 kB / 0.6053 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.6009, allocations: 93.02 kB / 0.6054 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.601, allocations: 0 / 0.6054 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.6011, allocations: 7.984 kB / 0.6054 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.6011, allocations: 8 kB / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.6011, allocations: 7.938 kB / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.6012, allocations: 131.2 kB / 0.6056 GB, free: 12.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6012, allocations: 4 kB / 0.6056 GB, free: 12.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.6015, allocations: 28 kB / 0.6056 GB, free: 12.46 MB / 426.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.001148/0.6027, allocations: 474.6 kB / 0.6061 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.6029, allocations: 59.98 kB / 0.6061 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6029, allocations: 3.938 kB / 0.6061 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.603, allocations: 31.98 kB / 0.6062 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.6032, allocations: 31.88 kB / 0.6062 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.6037, allocations: 230.5 kB / 0.6064 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.604, allocations: 0.7121 MB / 0.6071 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.043e-05/0.604, allocations: 12.55 kB / 0.6071 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.6041, allocations: 19.42 kB / 0.6071 GB, free: 11.02 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6041, allocations: 4 kB / 0.6071 GB, free: 11.01 MB / 426.7 MB Notification: Performance of Templates: time 0.004401/0.6085, allocations: 1.662 MB / 0.6088 GB, free: 9.367 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches