Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009035/0.0009035, allocations: 200.9 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 226.5 MB / 243.1 MB, free: 12.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007136/0.0007135, allocations: 98.06 kB / 295.1 MB, free: 4.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1901/0.1901, allocations: 44.84 MB / 392 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002357/0.0002357, allocations: 8 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08634/0.08659, allocations: 62.96 MB / 0.5153 GB, free: 5.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.001348/0.08798, allocations: 1.424 MB / 0.5167 GB, free: 3.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000936/0.08893, allocations: 0.9402 MB / 0.5176 GB, free: 2.723 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.08899, allocations: 7.938 kB / 0.5176 GB, free: 2.715 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.08922, allocations: 71.83 kB / 0.5177 GB, free: 2.645 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.08941, allocations: 99.64 kB / 0.5178 GB, free: 2.547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.08961, allocations: 91.2 kB / 0.5179 GB, free: 2.461 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.08973, allocations: 95.67 kB / 0.518 GB, free: 2.367 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.229e-05/0.08979, allocations: 19.98 kB / 0.518 GB, free: 2.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.038e-05/0.08986, allocations: 43.78 kB / 0.5181 GB, free: 2.305 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.08993, allocations: 51.81 kB / 0.5181 GB, free: 2.254 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.08995, allocations: 3.938 kB / 0.5181 GB, free: 2.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.09003, allocations: 43.88 kB / 0.5181 GB, free: 2.207 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.09007, allocations: 27.89 kB / 0.5182 GB, free: 2.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.0901, allocations: 37.64 kB / 0.5182 GB, free: 2.137 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.09021, allocations: 88.09 kB / 0.5183 GB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.09022, allocations: 0 / 0.5183 GB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09023, allocations: 8 kB / 0.5183 GB, free: 2.043 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.09023, allocations: 0 / 0.5183 GB, free: 2.043 MB / 346.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.0003464/0.09058, allocations: 406.9 kB / 0.5187 GB, free: 1.598 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.581e-05/0.09062, allocations: 8.031 kB / 0.5187 GB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.09065, allocations: 7.906 kB / 0.5187 GB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.09081, allocations: 223.2 kB / 0.5189 GB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.09083, allocations: 0 / 0.5189 GB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.09085, allocations: 7.938 kB / 0.5189 GB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.09096, allocations: 61.61 kB / 0.519 GB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.09098, allocations: 3.984 kB / 0.519 GB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.09099, allocations: 7.984 kB / 0.519 GB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.091, allocations: 0 / 0.519 GB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.71e-05/0.09107, allocations: 19.98 kB / 0.519 GB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.09131, allocations: 288.9 kB / 0.5193 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.09145, allocations: 62.61 kB / 0.5193 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.058e-05/0.09149, allocations: 16.86 kB / 0.5194 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.09152, allocations: 4 kB / 0.5194 GB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.09164, allocations: 63.39 kB / 0.5194 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.09165, allocations: 0 / 0.5194 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004004/0.09206, allocations: 177 kB / 0.5196 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.09209, allocations: 59.41 kB / 0.5197 GB, free: 480 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.09223, allocations: 223.4 kB / 0.5199 GB, free: 240 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.09225, allocations: 29.7 kB / 0.5199 GB, free: 204 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.09228, allocations: 108.1 kB / 0.52 GB, free: 92 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.0923, allocations: 23.64 kB / 0.52 GB, free: 68 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.09231, allocations: 4 kB / 0.52 GB, free: 64 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.627e-05/0.09241, allocations: 326.8 kB / 0.5203 GB, free: 15.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.978e-05/0.09247, allocations: 12 kB / 0.5203 GB, free: 15.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.936e-05/0.09254, allocations: 45.64 kB / 0.5204 GB, free: 15.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.628e-05/0.0926, allocations: 27.98 kB / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.09261, allocations: 192 / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000164/0.09278, allocations: 97.48 kB / 0.5205 GB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.0928, allocations: 17.91 kB / 0.5205 GB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.09281, allocations: 0 / 0.5205 GB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.09282, allocations: 0 / 0.5205 GB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.474e-05/0.0929, allocations: 20.02 kB / 0.5205 GB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.09291, allocations: 4.156 kB / 0.5206 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.09296, allocations: 4 kB / 0.5206 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.09298, allocations: 7.953 kB / 0.5206 GB, free: 15.49 MB / 362.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.42e-05/0.09307, allocations: 125.8 kB / 0.5207 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.09309, allocations: 11.81 kB / 0.5207 GB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.09314, allocations: 29.38 kB / 0.5207 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.09314, allocations: 0 / 0.5207 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.09315, allocations: 3.938 kB / 0.5207 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.09316, allocations: 4 kB / 0.5207 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.09353, allocations: 395.7 kB / 0.5211 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.09354, allocations: 7.984 kB / 0.5211 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.09358, allocations: 15.94 kB / 0.5211 GB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.09359, allocations: 0 / 0.5211 GB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.0936, allocations: 0 / 0.5211 GB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.0936, allocations: 0 / 0.5211 GB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.09361, allocations: 7.953 kB / 0.5211 GB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.09381, allocations: 208.3 kB / 0.5213 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.09386, allocations: 89 kB / 0.5214 GB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.09389, allocations: 4 kB / 0.5214 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.09396, allocations: 4 kB / 0.5214 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.094, allocations: 11.94 kB / 0.5214 GB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.09401, allocations: 4 kB / 0.5214 GB, free: 14.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.09414, allocations: 173.1 kB / 0.5216 GB, free: 14.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09415, allocations: 0 / 0.5216 GB, free: 14.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.09437, allocations: 28 kB / 0.5216 GB, free: 14.29 MB / 362.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 (8): * Single equations (assignments): 6 * 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.0008482/0.09522, allocations: 452.6 kB / 0.5221 GB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.09538, allocations: 59.91 kB / 0.5221 GB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.09539, allocations: 0 / 0.5221 GB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.164e-05/0.09546, allocations: 27.98 kB / 0.5222 GB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.09575, allocations: 20.17 kB / 0.5222 GB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.09615, allocations: 296.3 kB / 0.5225 GB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.09637, allocations: 0.7316 MB / 0.5232 GB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.09641, allocations: 15.44 kB / 0.5232 GB, free: 12.8 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.09642, allocations: 0 / 0.5232 GB, free: 12.8 MB / 362.7 MB Notification: Performance of Templates: time 0.002941/0.09936, allocations: 1.981 MB / 0.5251 GB, free: 10.83 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches