Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 105.8 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.3685/0.3685, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 63.91 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3678, allocations: 62.02 MB / 0.5152 GB, free: 37.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003016/0.3709, allocations: 1.786 MB / 0.5169 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.373, allocations: 1.624 MB / 0.5185 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.3731, allocations: 0 / 0.5185 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.3734, allocations: 37.94 kB / 0.5185 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.3736, allocations: 76.19 kB / 0.5186 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.3738, allocations: 100.4 kB / 0.5187 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.374, allocations: 100.4 kB / 0.5188 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.189e-05/0.3741, allocations: 17.19 kB / 0.5188 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.989e-05/0.3742, allocations: 36.12 kB / 0.5188 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.3743, allocations: 54.17 kB / 0.5189 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.3743, allocations: 2.906 kB / 0.5189 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.3745, allocations: 100.7 kB / 0.519 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.3745, allocations: 16.77 kB / 0.519 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.3746, allocations: 31.83 kB / 0.519 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.3748, allocations: 163.7 kB / 0.5192 GB, free: 35.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3748, allocations: 6.812 kB / 0.5192 GB, free: 35.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.3748, allocations: 4 kB / 0.5192 GB, free: 35.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.676e-06/0.3748, allocations: 0 / 0.5192 GB, free: 35.17 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.0004834/0.3753, allocations: 430.3 kB / 0.5196 GB, free: 34.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3754, allocations: 8.625 kB / 0.5196 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.3754, allocations: 10.69 kB / 0.5196 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.3756, allocations: 215.1 kB / 0.5198 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3757, allocations: 7.219 kB / 0.5198 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.3757, allocations: 6.875 kB / 0.5199 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3758, allocations: 67.67 kB / 0.5199 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3758, allocations: 2.906 kB / 0.5199 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3759, allocations: 3.328 kB / 0.5199 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3759, allocations: 0 / 0.5199 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.001e-05/0.3759, allocations: 18.06 kB / 0.5199 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.3763, allocations: 287.5 kB / 0.5202 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.3764, allocations: 58.19 kB / 0.5203 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.3765, allocations: 23.42 kB / 0.5203 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3765, allocations: 0 / 0.5203 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.3767, allocations: 72.83 kB / 0.5204 GB, free: 34.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.3767, allocations: 0 / 0.5204 GB, free: 34.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004776/0.3772, allocations: 181.6 kB / 0.5205 GB, free: 33.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.3772, allocations: 84.98 kB / 0.5206 GB, free: 33.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.3773, allocations: 161.9 kB / 0.5208 GB, free: 33.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.3774, allocations: 28.84 kB / 0.5208 GB, free: 33.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.3774, allocations: 101.6 kB / 0.5209 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.3774, allocations: 21.86 kB / 0.5209 GB, free: 33.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.3775, allocations: 22.19 kB / 0.5209 GB, free: 33.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.92e-05/0.3775, allocations: 329.3 kB / 0.5213 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.804e-05/0.3776, allocations: 15.47 kB / 0.5213 GB, free: 33.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.3776, allocations: 43.44 kB / 0.5213 GB, free: 33.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.54e-05/0.3777, allocations: 64.94 kB / 0.5214 GB, free: 33.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3777, allocations: 3.938 kB / 0.5214 GB, free: 33.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001499/0.3779, allocations: 92.95 kB / 0.5215 GB, free: 33.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3779, allocations: 9.406 kB / 0.5215 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3779, allocations: 0 / 0.5215 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.378, allocations: 5.875 kB / 0.5215 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/0.378, allocations: 19.66 kB / 0.5215 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3781, allocations: 6.844 kB / 0.5215 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.3781, allocations: 10.47 kB / 0.5215 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.3781, allocations: 2.844 kB / 0.5215 GB, free: 33.1 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 6.99e-05/0.3782, allocations: 116.5 kB / 0.5216 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.3782, allocations: 13.91 kB / 0.5216 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.3783, allocations: 19.27 kB / 0.5217 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3783, allocations: 0 / 0.5217 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.3783, allocations: 3.938 kB / 0.5217 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3783, allocations: 0 / 0.5217 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.3786, allocations: 399 kB / 0.522 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3786, allocations: 0 / 0.522 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.3787, allocations: 12.5 kB / 0.5221 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3787, allocations: 3.234 kB / 0.5221 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3787, allocations: 4.031 kB / 0.5221 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3787, allocations: 6.719 kB / 0.5221 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3787, allocations: 0 / 0.5221 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.3791, allocations: 0.7818 MB / 0.5228 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.3791, allocations: 83.83 kB / 0.5229 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.3791, allocations: 11.25 kB / 0.5229 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.3792, allocations: 3.188 kB / 0.5229 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.3793, allocations: 13.58 kB / 0.5229 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.3793, allocations: 6.094 kB / 0.5229 GB, free: 31.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.099e-05/0.3794, allocations: 125.6 kB / 0.5231 GB, free: 31.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3794, allocations: 0 / 0.5231 GB, free: 31.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003652/0.3798, allocations: 48.28 kB / 0.5231 GB, free: 31.61 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.00109/0.3809, allocations: 0.5452 MB / 0.5236 GB, free: 31.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.381, allocations: 54.25 kB / 0.5237 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.381, allocations: 0 / 0.5237 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.651e-05/0.3811, allocations: 35.61 kB / 0.5237 GB, free: 31.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.3814, allocations: 34.44 kB / 0.5238 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.3818, allocations: 339.6 kB / 0.5241 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.382, allocations: 0.7023 MB / 0.5248 GB, free: 30.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.963e-05/0.382, allocations: 22.08 kB / 0.5248 GB, free: 30.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.3821, allocations: 21.52 kB / 0.5248 GB, free: 30.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3821, allocations: 0 / 0.5248 GB, free: 30.28 MB / 378.7 MB Notification: Performance of Templates: time 0.004339/0.3864, allocations: 2.33 MB / 0.5271 GB, free: 30.03 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches