Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 226.7 MB / 245.5 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 102.6 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3892/0.3892, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3604, allocations: 62.02 MB / 0.5152 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003/0.3635, allocations: 1.802 MB / 0.5169 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.3654, allocations: 1.622 MB / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.3655, allocations: 0 / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.3658, allocations: 36.17 kB / 0.5185 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.366, allocations: 76.89 kB / 0.5186 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.3663, allocations: 95.98 kB / 0.5187 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.3665, allocations: 106.7 kB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.987e-05/0.3666, allocations: 9.75 kB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.911e-05/0.3666, allocations: 41.06 kB / 0.5188 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.3668, allocations: 41.03 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.3668, allocations: 2.844 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.367, allocations: 107 kB / 0.519 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.066e-05/0.3671, allocations: 21.06 kB / 0.519 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.3671, allocations: 29.67 kB / 0.519 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.3674, allocations: 175.5 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3674, allocations: 2.875 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3674, allocations: 0 / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3674, allocations: 0 / 0.5192 GB, free: 35.05 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.0006173/0.3681, allocations: 423.6 kB / 0.5196 GB, free: 34.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3681, allocations: 8.844 kB / 0.5196 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.3682, allocations: 10.44 kB / 0.5196 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.3684, allocations: 211.1 kB / 0.5198 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.3685, allocations: 10.75 kB / 0.5198 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.3685, allocations: 3.281 kB / 0.5198 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3687, allocations: 74.31 kB / 0.5199 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3687, allocations: 0 / 0.5199 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3687, allocations: 0 / 0.5199 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3687, allocations: 0 / 0.5199 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.883e-05/0.3688, allocations: 21.98 kB / 0.5199 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.3692, allocations: 293.1 kB / 0.5202 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.3694, allocations: 59 kB / 0.5203 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.187e-05/0.3695, allocations: 20.47 kB / 0.5203 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.3695, allocations: 0 / 0.5203 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.3697, allocations: 68.34 kB / 0.5204 GB, free: 33.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3697, allocations: 0 / 0.5204 GB, free: 33.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005497/0.3703, allocations: 178.8 kB / 0.5205 GB, free: 33.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.3703, allocations: 81.05 kB / 0.5206 GB, free: 33.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3705, allocations: 165.2 kB / 0.5208 GB, free: 33.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.3705, allocations: 25.7 kB / 0.5208 GB, free: 33.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.3705, allocations: 105.4 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.3706, allocations: 26.19 kB / 0.5209 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.3706, allocations: 21.19 kB / 0.5209 GB, free: 33.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.502e-05/0.3707, allocations: 321 kB / 0.5212 GB, free: 33.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.219e-05/0.3707, allocations: 22.83 kB / 0.5213 GB, free: 33.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.3708, allocations: 46.09 kB / 0.5213 GB, free: 33.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.779e-05/0.3709, allocations: 62.86 kB / 0.5214 GB, free: 33.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3709, allocations: 3.938 kB / 0.5214 GB, free: 33.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001693/0.3711, allocations: 101.7 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3711, allocations: 2.812 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3711, allocations: 2.906 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3711, allocations: 0 / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.943e-05/0.3712, allocations: 17.48 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3713, allocations: 3.938 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.3713, allocations: 6.812 kB / 0.5215 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.3713, allocations: 3.219 kB / 0.5215 GB, free: 32.99 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.336e-05/0.3714, allocations: 124.3 kB / 0.5216 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.3714, allocations: 16.92 kB / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/0.3715, allocations: 11.62 kB / 0.5217 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3715, allocations: 2.875 kB / 0.5217 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.3715, allocations: 7.938 kB / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3715, allocations: 0 / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.3719, allocations: 404.8 kB / 0.522 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3719, allocations: 0 / 0.522 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.062e-05/0.3719, allocations: 16.17 kB / 0.5221 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3719, allocations: 0 / 0.5221 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3719, allocations: 3 kB / 0.5221 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3719, allocations: 0 / 0.5221 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3719, allocations: 0 / 0.5221 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.3723, allocations: 0.7861 MB / 0.5228 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.3724, allocations: 83.92 kB / 0.5229 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.3724, allocations: 5.625 kB / 0.5229 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.3725, allocations: 4.188 kB / 0.5229 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.3725, allocations: 8.125 kB / 0.5229 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.3725, allocations: 6.625 kB / 0.5229 GB, free: 31.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.371e-05/0.3726, allocations: 127.9 kB / 0.5231 GB, free: 31.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.212e-06/0.3726, allocations: 4 kB / 0.5231 GB, free: 31.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003838/0.373, allocations: 54.77 kB / 0.5231 GB, free: 31.49 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001249/0.3743, allocations: 0.5372 MB / 0.5236 GB, free: 31.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.3745, allocations: 60.95 kB / 0.5237 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3745, allocations: 7 kB / 0.5237 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.757e-05/0.3746, allocations: 32.75 kB / 0.5237 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.3749, allocations: 22.14 kB / 0.5238 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.3754, allocations: 342.7 kB / 0.5241 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.3755, allocations: 0.7054 MB / 0.5248 GB, free: 30.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.93e-05/0.3756, allocations: 15.91 kB / 0.5248 GB, free: 30.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.3756, allocations: 22.75 kB / 0.5248 GB, free: 30.18 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3756, allocations: 3.031 kB / 0.5248 GB, free: 30.18 MB / 378.7 MB Notification: Performance of Templates: time 0.004927/0.3806, allocations: 2.33 MB / 0.5271 GB, free: 29.92 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches