Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009836/0.0009836, allocations: 177 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.245/1.245, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009113/0.0009113, allocations: 94.94 kB / 292.1 MB, free: 10.92 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.3667/0.3667, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004112, allocations: 8 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.432, allocations: 61.9 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.5558, allocations: 89.3 MB / 0.5968 GB, free: 5.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.556, allocations: 87.88 kB / 0.5968 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01508/0.5711, allocations: 5.593 MB / 0.6023 GB, free: 152 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5712, allocations: 0 / 0.6023 GB, free: 152 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.5712, allocations: 7.938 kB / 0.6023 GB, free: 144 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.0004906/0.5717, allocations: 406.9 kB / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.5718, allocations: 8.031 kB / 0.6027 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.5718, allocations: 11.89 kB / 0.6027 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.5721, allocations: 223.7 kB / 0.6029 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.5721, allocations: 7.953 kB / 0.6029 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.5721, allocations: 8 kB / 0.603 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.5723, allocations: 53.67 kB / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.5723, allocations: 0 / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.5723, allocations: 0 / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.5723, allocations: 4 kB / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.283e-05/0.5724, allocations: 15.98 kB / 0.603 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.5728, allocations: 296.8 kB / 0.6033 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.573, allocations: 58.69 kB / 0.6034 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.573, allocations: 7.969 kB / 0.6034 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.5732, allocations: 67.45 kB / 0.6034 GB, free: 14.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.5732, allocations: 4 kB / 0.6034 GB, free: 14.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005707/0.5738, allocations: 177.2 kB / 0.6036 GB, free: 14.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.5738, allocations: 55.34 kB / 0.6037 GB, free: 14.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.574, allocations: 171.1 kB / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.574, allocations: 29.7 kB / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.5741, allocations: 100.1 kB / 0.6039 GB, free: 14.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.5741, allocations: 27.64 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-06/0.5741, allocations: 4 kB / 0.604 GB, free: 14.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5743, allocations: 323 kB / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.588e-05/0.5743, allocations: 24 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.5744, allocations: 37.7 kB / 0.6043 GB, free: 13.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.072e-05/0.5745, allocations: 28.05 kB / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.5745, allocations: 0 / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001789/0.5747, allocations: 109.4 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.5747, allocations: 4 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.5747, allocations: 0 / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.5747, allocations: 4.031 kB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.5748, allocations: 16.38 kB / 0.6045 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5748, allocations: 0 / 0.6045 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.5749, allocations: 3.984 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.5749, allocations: 12 kB / 0.6045 GB, free: 13.67 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.0001037/0.575, allocations: 126.3 kB / 0.6046 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.575, allocations: 11.91 kB / 0.6046 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.5753, allocations: 122.3 kB / 0.6048 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5753, allocations: 7.938 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.5753, allocations: 0 / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5753, allocations: 0 / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.5758, allocations: 411.3 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5758, allocations: 0 / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.5758, allocations: 12 kB / 0.6052 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5758, allocations: 0 / 0.6052 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.5759, allocations: 3.984 kB / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5759, allocations: 4.031 kB / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5759, allocations: 4.281 kB / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.5761, allocations: 233.8 kB / 0.6054 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.5762, allocations: 89 kB / 0.6055 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.5762, allocations: 8 kB / 0.6055 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.5763, allocations: 4 kB / 0.6055 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.5764, allocations: 7.984 kB / 0.6055 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.5764, allocations: 7.953 kB / 0.6055 GB, free: 12.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001202/0.5765, allocations: 148 kB / 0.6057 GB, free: 12.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5765, allocations: 0 / 0.6057 GB, free: 12.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.5768, allocations: 31.94 kB / 0.6057 GB, free: 12.34 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.001055/0.5778, allocations: 476.7 kB / 0.6061 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.578, allocations: 59.91 kB / 0.6062 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.578, allocations: 0 / 0.6062 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.575e-05/0.5781, allocations: 36.12 kB / 0.6062 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.5784, allocations: 35.22 kB / 0.6063 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/0.5788, allocations: 246.3 kB / 0.6065 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.5791, allocations: 0.7121 MB / 0.6072 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.342e-05/0.5792, allocations: 16.55 kB / 0.6072 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.5793, allocations: 23.38 kB / 0.6072 GB, free: 10.87 MB / 426.7 MB Notification: Performance of SimCode: time 4.2e-07/0.5793, allocations: 0 / 0.6072 GB, free: 10.87 MB / 426.7 MB Notification: Performance of Templates: time 0.004328/0.5836, allocations: 1.689 MB / 0.6089 GB, free: 9.203 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches