Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 200.7 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 226.5 MB / 243.1 MB, free: 12.37 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007378/0.0007378, allocations: 96.31 kB / 295.1 MB, free: 4.535 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1782/0.1782, allocations: 44.84 MB / 392 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002414/0.0002414, allocations: 8 kB / 464.7 MB, free: 68.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08906/0.08931, allocations: 62.97 MB / 0.5153 GB, free: 5.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.001773/0.09113, allocations: 1.616 MB / 0.5169 GB, free: 3.453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.09229, allocations: 0.9752 MB / 0.5179 GB, free: 2.473 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/0.09239, allocations: 0 / 0.5179 GB, free: 2.473 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.09267, allocations: 47.77 kB / 0.5179 GB, free: 2.426 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.09288, allocations: 67.75 kB / 0.518 GB, free: 2.359 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.09312, allocations: 111.8 kB / 0.5181 GB, free: 2.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.09326, allocations: 127.6 kB / 0.5182 GB, free: 2.125 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.665e-05/0.09336, allocations: 25.55 kB / 0.5182 GB, free: 2.102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.162e-05/0.09345, allocations: 47.72 kB / 0.5183 GB, free: 2.055 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.794e-05/0.09354, allocations: 47.7 kB / 0.5183 GB, free: 2.008 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.09357, allocations: 4 kB / 0.5183 GB, free: 2.004 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.09365, allocations: 32 kB / 0.5184 GB, free: 1.973 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.613e-05/0.09369, allocations: 23.84 kB / 0.5184 GB, free: 1.949 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.09373, allocations: 41.64 kB / 0.5184 GB, free: 1.902 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.09386, allocations: 116 kB / 0.5185 GB, free: 1.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09387, allocations: 0 / 0.5185 GB, free: 1.789 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.09388, allocations: 0 / 0.5185 GB, free: 1.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.09389, allocations: 0 / 0.5185 GB, free: 1.789 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004326/0.09433, allocations: 460.5 kB / 0.519 GB, free: 1.285 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.09436, allocations: 12.03 kB / 0.519 GB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.09441, allocations: 15.81 kB / 0.519 GB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.09459, allocations: 231.4 kB / 0.5192 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.09461, allocations: 4 kB / 0.5192 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.09464, allocations: 8 kB / 0.5192 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.09483, allocations: 110.6 kB / 0.5193 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.09484, allocations: 0 / 0.5193 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.09486, allocations: 3.984 kB / 0.5193 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.09487, allocations: 4 kB / 0.5193 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.09501, allocations: 51.91 kB / 0.5194 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.09542, allocations: 0.5165 MB / 0.5199 GB, free: 228 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.09569, allocations: 94.55 kB / 0.52 GB, free: 124 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.393e-05/0.09579, allocations: 40.83 kB / 0.52 GB, free: 80 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.09581, allocations: 0 / 0.52 GB, free: 80 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.09603, allocations: 91.39 kB / 0.5201 GB, free: 15.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.09604, allocations: 0 / 0.5201 GB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003648/0.09641, allocations: 153.3 kB / 0.5203 GB, free: 15.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.09645, allocations: 51.41 kB / 0.5203 GB, free: 15.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.09664, allocations: 202.2 kB / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.09666, allocations: 25.7 kB / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.09673, allocations: 120 kB / 0.5206 GB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.09676, allocations: 27.56 kB / 0.5207 GB, free: 15.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.09678, allocations: 4 kB / 0.5207 GB, free: 15.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.09688, allocations: 326.8 kB / 0.521 GB, free: 15.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.073e-05/0.09698, allocations: 31.98 kB / 0.521 GB, free: 15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.09709, allocations: 72.2 kB / 0.5211 GB, free: 14.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.144e-05/0.09719, allocations: 28 kB / 0.5211 GB, free: 14.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.0972, allocations: 0 / 0.5211 GB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002697/0.09748, allocations: 145.8 kB / 0.5212 GB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.0975, allocations: 8 kB / 0.5213 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.09751, allocations: 0 / 0.5213 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.09752, allocations: 96 / 0.5213 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.916e-05/0.09763, allocations: 31.86 kB / 0.5213 GB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.09765, allocations: 7.953 kB / 0.5213 GB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.331e-05/0.09773, allocations: 19.83 kB / 0.5213 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.09774, allocations: 4 kB / 0.5213 GB, free: 14.67 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001107/0.09786, allocations: 131.8 kB / 0.5214 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.09789, allocations: 11.91 kB / 0.5215 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.09794, allocations: 21.39 kB / 0.5215 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.09795, allocations: 0 / 0.5215 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.09796, allocations: 0 / 0.5215 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.09796, allocations: 3.953 kB / 0.5215 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.09814, allocations: 213.4 kB / 0.5217 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.09815, allocations: 0 / 0.5217 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.619e-05/0.09823, allocations: 19.92 kB / 0.5217 GB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.09825, allocations: 4 kB / 0.5217 GB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.09827, allocations: 8 kB / 0.5217 GB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.09827, allocations: 3.938 kB / 0.5217 GB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.09828, allocations: 0 / 0.5217 GB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.09864, allocations: 192.8 kB / 0.5219 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.09871, allocations: 88.98 kB / 0.522 GB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.09875, allocations: 8 kB / 0.522 GB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.09882, allocations: 7.984 kB / 0.522 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.09886, allocations: 7.984 kB / 0.522 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.09889, allocations: 4 kB / 0.522 GB, free: 13.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.09901, allocations: 148.3 kB / 0.5222 GB, free: 13.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.09902, allocations: 0 / 0.5222 GB, free: 13.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.09925, allocations: 32.03 kB / 0.5222 GB, free: 13.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0007832/0.1, allocations: 411.6 kB / 0.5226 GB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.1003, allocations: 79.83 kB / 0.5227 GB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1003, allocations: 4 kB / 0.5227 GB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.997e-05/0.1004, allocations: 48.16 kB / 0.5227 GB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.1007, allocations: 34.83 kB / 0.5227 GB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005048/0.1012, allocations: 322.1 kB / 0.523 GB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1015, allocations: 0.7087 MB / 0.5237 GB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.1015, allocations: 23.42 kB / 0.5238 GB, free: 12.16 MB / 362.7 MB Notification: Performance of SimCode: time 3.4e-07/0.1015, allocations: 0 / 0.5238 GB, free: 12.16 MB / 362.7 MB Notification: Performance of Templates: time 0.003818/0.1054, allocations: 2.201 MB / 0.5259 GB, free: 9.969 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches