Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.00103, allocations: 176.8 kB / 17.06 MB, free: 5.098 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.21/1.21, 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.0007897/0.0007897, allocations: 91.86 kB / 292.2 MB, free: 10.93 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.3742/0.3742, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003002, allocations: 8 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3353, allocations: 61.92 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.4631, allocations: 89.23 MB / 0.5967 GB, free: 5.891 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/0.4636, allocations: 83.92 kB / 0.5968 GB, free: 5.812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01453/0.4781, allocations: 5.397 MB / 0.6021 GB, free: 428 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4782, allocations: 3.938 kB / 0.6021 GB, free: 424 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.4782, allocations: 7.938 kB / 0.6021 GB, free: 416 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.000551/0.4787, allocations: 403 kB / 0.6025 GB, free: 15.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4788, allocations: 8.031 kB / 0.6025 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.4788, allocations: 11.81 kB / 0.6025 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.4792, allocations: 207.4 kB / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.4792, allocations: 11.95 kB / 0.6027 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.4792, allocations: 0 / 0.6027 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.4794, allocations: 57.61 kB / 0.6027 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.4794, allocations: 4 kB / 0.6028 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.4794, allocations: 0 / 0.6028 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4794, allocations: 0 / 0.6028 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.463e-05/0.4795, allocations: 23.98 kB / 0.6028 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.4799, allocations: 288.8 kB / 0.603 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.4801, allocations: 62.61 kB / 0.6031 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.4801, allocations: 4 kB / 0.6031 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.4802, allocations: 63.52 kB / 0.6032 GB, free: 15.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.4803, allocations: 0 / 0.6032 GB, free: 15.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005972/0.4809, allocations: 177.2 kB / 0.6033 GB, free: 14.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.4809, allocations: 59.41 kB / 0.6034 GB, free: 14.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.4811, allocations: 143.8 kB / 0.6035 GB, free: 14.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.4811, allocations: 33.7 kB / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.4811, allocations: 92.12 kB / 0.6037 GB, free: 14.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.4812, allocations: 23.66 kB / 0.6037 GB, free: 14.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.4812, allocations: 4 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4813, allocations: 326.8 kB / 0.604 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.547e-05/0.4814, allocations: 19.98 kB / 0.604 GB, free: 14.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.796e-05/0.4815, allocations: 45.64 kB / 0.6041 GB, free: 14.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.967e-05/0.4815, allocations: 24.19 kB / 0.6041 GB, free: 14.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4815, allocations: 0 / 0.6041 GB, free: 14.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.4817, allocations: 101.5 kB / 0.6042 GB, free: 14.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4818, allocations: 9.406 kB / 0.6042 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4818, allocations: 3.984 kB / 0.6042 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.4818, allocations: 0 / 0.6042 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.537e-05/0.4819, allocations: 20.02 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4819, allocations: 4 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.4819, allocations: 4.562 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.482, allocations: 4 kB / 0.6042 GB, free: 13.98 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 8.873e-05/0.4821, allocations: 132.4 kB / 0.6043 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.4821, allocations: 7.906 kB / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.4823, allocations: 114.3 kB / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4824, allocations: 15.94 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4824, allocations: 0 / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.4824, allocations: 0 / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.4828, allocations: 411.2 kB / 0.6049 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4828, allocations: 0 / 0.6049 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.4829, allocations: 11.94 kB / 0.6049 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4829, allocations: 0 / 0.6049 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.4829, allocations: 7.984 kB / 0.6049 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4829, allocations: 0 / 0.6049 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4829, allocations: 4.031 kB / 0.6049 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.4831, allocations: 225.9 kB / 0.6051 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.4832, allocations: 89 kB / 0.6052 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.4832, allocations: 4 kB / 0.6052 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.4833, allocations: 4 kB / 0.6052 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.4833, allocations: 11.98 kB / 0.6052 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.4833, allocations: 7.953 kB / 0.6052 GB, free: 12.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.063e-05/0.4834, allocations: 125.9 kB / 0.6053 GB, free: 12.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4834, allocations: 0 / 0.6053 GB, free: 12.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002529/0.4837, allocations: 31.94 kB / 0.6054 GB, free: 12.69 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.001038/0.4848, allocations: 482.9 kB / 0.6058 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.4849, allocations: 59.92 kB / 0.6059 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.485, allocations: 0 / 0.6059 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.502e-05/0.485, allocations: 35.92 kB / 0.6059 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.4853, allocations: 27.91 kB / 0.6059 GB, free: 12.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.4857, allocations: 222.2 kB / 0.6062 GB, free: 12.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.486, allocations: 0.7043 MB / 0.6068 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.027e-05/0.486, allocations: 12.55 kB / 0.6069 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.4861, allocations: 15.44 kB / 0.6069 GB, free: 11.27 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4861, allocations: 0 / 0.6069 GB, free: 11.27 MB / 426.7 MB Notification: Performance of Templates: time 0.004126/0.4902, allocations: 1.643 MB / 0.6085 GB, free: 9.645 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches