Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 226.5 MB / 243.4 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008607/0.0008604, allocations: 97.7 kB / 295.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3459/0.3459, allocations: 44.81 MB / 392.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003081, allocations: 12 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3525, allocations: 62.95 MB / 0.5159 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.001868/0.3545, allocations: 1.432 MB / 0.5173 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.3557, allocations: 0.9489 MB / 0.5182 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.3558, allocations: 0 / 0.5182 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.3562, allocations: 50.67 kB / 0.5183 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.3565, allocations: 73.55 kB / 0.5183 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.3568, allocations: 100.8 kB / 0.5184 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.357, allocations: 92.42 kB / 0.5185 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3572, allocations: 8.766 kB / 0.5185 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3573, allocations: 38.84 kB / 0.5186 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.502e-05/0.3574, allocations: 40.58 kB / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.3574, allocations: 2.625 kB / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.3575, allocations: 30.84 kB / 0.5186 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.3576, allocations: 23.55 kB / 0.5186 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.3577, allocations: 69.61 kB / 0.5187 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.3578, allocations: 93.31 kB / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.3579, allocations: 4 kB / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.3579, allocations: 0 / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3579, allocations: 0 / 0.5188 GB, free: 35.16 MB / 378.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.0006092/0.3585, allocations: 413.2 kB / 0.5192 GB, free: 34.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.3585, allocations: 12.03 kB / 0.5192 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.3586, allocations: 14.91 kB / 0.5192 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.3589, allocations: 208.4 kB / 0.5194 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.3589, allocations: 3 kB / 0.5194 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.3589, allocations: 10.81 kB / 0.5194 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.3591, allocations: 53.78 kB / 0.5195 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3591, allocations: 3.906 kB / 0.5195 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.3591, allocations: 10.78 kB / 0.5195 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3591, allocations: 7.938 kB / 0.5195 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.551e-05/0.3592, allocations: 18.44 kB / 0.5195 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.3596, allocations: 291 kB / 0.5198 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.3598, allocations: 60.14 kB / 0.5199 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.3599, allocations: 25.06 kB / 0.5199 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3599, allocations: 6.203 kB / 0.5199 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.3601, allocations: 72.12 kB / 0.52 GB, free: 34.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.3601, allocations: 0 / 0.52 GB, free: 34.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005265/0.3606, allocations: 178.9 kB / 0.5201 GB, free: 33.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.3607, allocations: 55.41 kB / 0.5202 GB, free: 33.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.3609, allocations: 225 kB / 0.5204 GB, free: 33.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3609, allocations: 33.7 kB / 0.5204 GB, free: 33.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.3609, allocations: 105.3 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.361, allocations: 28.84 kB / 0.5206 GB, free: 33.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.361, allocations: 0 / 0.5206 GB, free: 33.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.012e-05/0.3611, allocations: 328.7 kB / 0.5209 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.3611, allocations: 22.89 kB / 0.5209 GB, free: 33.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.3612, allocations: 36.78 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.382e-05/0.3613, allocations: 66.11 kB / 0.521 GB, free: 33.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3613, allocations: 0 / 0.521 GB, free: 33.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001503/0.3615, allocations: 108.1 kB / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3615, allocations: 8.906 kB / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3615, allocations: 0 / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3615, allocations: 0 / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.65e-05/0.3616, allocations: 17.88 kB / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3616, allocations: 0 / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.3617, allocations: 10.97 kB / 0.5211 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3617, allocations: 3.406 kB / 0.5211 GB, free: 33.13 MB / 378.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.168e-05/0.3618, allocations: 133.1 kB / 0.5213 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.3618, allocations: 13.69 kB / 0.5213 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.3618, allocations: 18.47 kB / 0.5213 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3618, allocations: 2.875 kB / 0.5213 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3619, allocations: 0 / 0.5213 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3619, allocations: 3.938 kB / 0.5213 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.3622, allocations: 406 kB / 0.5217 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3622, allocations: 3.938 kB / 0.5217 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.3623, allocations: 8.875 kB / 0.5217 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3623, allocations: 0 / 0.5217 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3623, allocations: 13.89 kB / 0.5217 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3623, allocations: 0 / 0.5217 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3623, allocations: 0 / 0.5217 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.3625, allocations: 206.8 kB / 0.5219 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.3625, allocations: 90.2 kB / 0.522 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.3625, allocations: 10.41 kB / 0.522 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.3626, allocations: 2.781 kB / 0.522 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.3627, allocations: 6.75 kB / 0.522 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.3627, allocations: 6.5 kB / 0.522 GB, free: 32.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.3628, allocations: 185.2 kB / 0.5222 GB, free: 32.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3628, allocations: 4 kB / 0.5222 GB, free: 32.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.3631, allocations: 26.59 kB / 0.5222 GB, free: 32.22 MB / 378.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.001017/0.3641, allocations: 448.7 kB / 0.5227 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.3643, allocations: 69.53 kB / 0.5227 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3643, allocations: 0 / 0.5227 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.482e-05/0.3644, allocations: 24.55 kB / 0.5227 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.3647, allocations: 26.08 kB / 0.5228 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004595/0.3652, allocations: 313.6 kB / 0.5231 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.3654, allocations: 0.7146 MB / 0.5238 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.3654, allocations: 16.22 kB / 0.5238 GB, free: 31.02 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3654, allocations: 4 kB / 0.5238 GB, free: 31.01 MB / 378.7 MB Notification: Performance of Templates: time 0.003384/0.3688, allocations: 2.006 MB / 0.5257 GB, free: 30.8 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches