Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 177.1 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.305/1.305, allocations: 223.2 MB / 241 MB, free: 11.86 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.0009472/0.0009475, allocations: 88.88 kB / 292.1 MB, free: 10.9 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.3653/0.3653, allocations: 44.21 MB / 387.5 MB, free: 39.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003872, allocations: 11.94 kB / 459.9 MB, free: 1.738 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4049, allocations: 61.91 MB / 0.5096 GB, free: 38.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.5265, allocations: 89.3 MB / 0.5968 GB, free: 5.832 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.5269, allocations: 79.92 kB / 0.5969 GB, free: 5.758 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0155/0.5424, allocations: 5.66 MB / 0.6024 GB, free: 104 kB / 410.7 MB Notification: Performance of FrontEnd: time 4.759e-06/0.5424, allocations: 0 / 0.6024 GB, free: 104 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.5424, allocations: 3.938 kB / 0.6024 GB, free: 100 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.0005441/0.543, allocations: 426.8 kB / 0.6028 GB, free: 15.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.5431, allocations: 8.031 kB / 0.6028 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.5431, allocations: 7.906 kB / 0.6028 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.5434, allocations: 220.3 kB / 0.603 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.5434, allocations: 11.95 kB / 0.603 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.5435, allocations: 0 / 0.603 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.5436, allocations: 57.66 kB / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5436, allocations: 0 / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.5437, allocations: 4 kB / 0.6031 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.5437, allocations: 4 kB / 0.6031 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.835e-05/0.5438, allocations: 27.92 kB / 0.6031 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.5442, allocations: 288.9 kB / 0.6034 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.5444, allocations: 58.66 kB / 0.6034 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.5444, allocations: 4 kB / 0.6034 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.5446, allocations: 71.45 kB / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.5446, allocations: 0 / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005597/0.5451, allocations: 189 kB / 0.6037 GB, free: 14.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.5452, allocations: 51.41 kB / 0.6037 GB, free: 14.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.5454, allocations: 178.5 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.5454, allocations: 33.7 kB / 0.6039 GB, free: 14.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.5455, allocations: 100.1 kB / 0.604 GB, free: 14.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.5455, allocations: 35.62 kB / 0.6041 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.5455, allocations: 0 / 0.6041 GB, free: 14.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.5457, allocations: 331 kB / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.999e-05/0.5458, allocations: 19.98 kB / 0.6044 GB, free: 13.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.5458, allocations: 33.7 kB / 0.6044 GB, free: 13.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.158e-05/0.5459, allocations: 24 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.5459, allocations: 0 / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002337/0.5461, allocations: 105.5 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.5462, allocations: 4.188 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5462, allocations: 4 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5462, allocations: 3.938 kB / 0.6046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.601e-05/0.5463, allocations: 19.94 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.5463, allocations: 0 / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.5464, allocations: 7.984 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.5464, allocations: 4 kB / 0.6046 GB, free: 13.58 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.0001151/0.5465, allocations: 130.4 kB / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.5466, allocations: 19.8 kB / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.5468, allocations: 122.9 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.5468, allocations: 0 / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5468, allocations: 0 / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5469, allocations: 0 / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.5474, allocations: 415.3 kB / 0.6053 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5474, allocations: 8.016 kB / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.5474, allocations: 8 kB / 0.6053 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5474, allocations: 0 / 0.6053 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.5474, allocations: 4 kB / 0.6053 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5474, allocations: 0 / 0.6053 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5474, allocations: 384 / 0.6053 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.5477, allocations: 237.8 kB / 0.6055 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.5478, allocations: 89.02 kB / 0.6056 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.5479, allocations: 8 kB / 0.6056 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/0.548, allocations: 7.984 kB / 0.6056 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.548, allocations: 4 kB / 0.6056 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.5481, allocations: 11.89 kB / 0.6056 GB, free: 12.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001857/0.5483, allocations: 156.9 kB / 0.6058 GB, free: 12.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5483, allocations: 0 / 0.6058 GB, free: 12.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003153/0.5486, allocations: 31.94 kB / 0.6058 GB, free: 12.23 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.001442/0.55, allocations: 476.8 kB / 0.6063 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.5503, allocations: 63.91 kB / 0.6063 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5503, allocations: 4.062 kB / 0.6063 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.5504, allocations: 31.98 kB / 0.6064 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.5508, allocations: 23.98 kB / 0.6064 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/0.5515, allocations: 258.2 kB / 0.6066 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.5519, allocations: 0.7082 MB / 0.6073 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.433e-05/0.552, allocations: 12.55 kB / 0.6073 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.5521, allocations: 15.44 kB / 0.6073 GB, free: 10.79 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5521, allocations: 4 kB / 0.6074 GB, free: 10.78 MB / 426.7 MB Notification: Performance of Templates: time 0.005376/0.5574, allocations: 1.71 MB / 0.609 GB, free: 9.086 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches