Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.00144, 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.331/1.331, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 104.1 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3673/0.3673, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.89 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3566, allocations: 62.01 MB / 0.5152 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003436/0.3601, allocations: 1.803 MB / 0.5169 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3615, allocations: 1.025 MB / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.528e-05/0.3616, allocations: 0 / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.362, allocations: 58.64 kB / 0.518 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.3622, allocations: 80.05 kB / 0.5181 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.3625, allocations: 98.53 kB / 0.5181 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.3627, allocations: 98.72 kB / 0.5182 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3628, allocations: 17.91 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.996e-05/0.3629, allocations: 51.05 kB / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.363, allocations: 37 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.363, allocations: 0 / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.769e-05/0.3631, allocations: 44.8 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.792e-05/0.3631, allocations: 29.06 kB / 0.5184 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.184e-05/0.3632, allocations: 39.64 kB / 0.5185 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.3634, allocations: 138.8 kB / 0.5186 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3634, allocations: 2.688 kB / 0.5186 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3634, allocations: 0 / 0.5186 GB, free: 35.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.3635, allocations: 4 kB / 0.5186 GB, free: 35.52 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.0005323/0.364, allocations: 438.2 kB / 0.519 GB, free: 35.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.364, allocations: 8.75 kB / 0.519 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.3641, allocations: 14.53 kB / 0.519 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.3643, allocations: 221.6 kB / 0.5192 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3643, allocations: 4.375 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.3643, allocations: 6.875 kB / 0.5193 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.3645, allocations: 62.69 kB / 0.5193 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3645, allocations: 4 kB / 0.5193 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.3645, allocations: 0 / 0.5193 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3645, allocations: 0 / 0.5193 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.24e-05/0.3646, allocations: 21.77 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.3649, allocations: 295 kB / 0.5196 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.3651, allocations: 62.56 kB / 0.5197 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.912e-05/0.3652, allocations: 24.67 kB / 0.5197 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.3652, allocations: 0 / 0.5197 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.3654, allocations: 67.56 kB / 0.5198 GB, free: 34.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.3654, allocations: 3.938 kB / 0.5198 GB, free: 34.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005179/0.3659, allocations: 179.4 kB / 0.5199 GB, free: 34.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.366, allocations: 51.41 kB / 0.52 GB, free: 34.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.3662, allocations: 272.4 kB / 0.5202 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.3662, allocations: 32.48 kB / 0.5203 GB, free: 34.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.505e-05/0.3662, allocations: 112.7 kB / 0.5204 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3663, allocations: 25.25 kB / 0.5204 GB, free: 33.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.3663, allocations: 26.72 kB / 0.5204 GB, free: 33.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.731e-05/0.3664, allocations: 332 kB / 0.5208 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.982e-05/0.3664, allocations: 16.94 kB / 0.5208 GB, free: 33.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.695e-05/0.3665, allocations: 44.72 kB / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.311e-05/0.3666, allocations: 62.62 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3666, allocations: 0 / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001488/0.3668, allocations: 104.4 kB / 0.521 GB, free: 33.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3668, allocations: 5.188 kB / 0.521 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3668, allocations: 4 kB / 0.521 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3668, allocations: 0 / 0.521 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/0.3669, allocations: 24.41 kB / 0.521 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3669, allocations: 2.844 kB / 0.521 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.367, allocations: 3.938 kB / 0.521 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.367, allocations: 5 kB / 0.521 GB, free: 33.44 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 8e-05/0.3671, allocations: 136.3 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.3671, allocations: 16.31 kB / 0.5212 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.3671, allocations: 18.69 kB / 0.5212 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3671, allocations: 2.812 kB / 0.5212 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3671, allocations: 0 / 0.5212 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3672, allocations: 11.92 kB / 0.5212 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/0.3675, allocations: 406.3 kB / 0.5216 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3676, allocations: 0 / 0.5216 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-05/0.3676, allocations: 11.38 kB / 0.5216 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3676, allocations: 0 / 0.5216 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3676, allocations: 10.72 kB / 0.5216 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3676, allocations: 240 / 0.5216 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3676, allocations: 0 / 0.5216 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.368, allocations: 0.8022 MB / 0.5224 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.3681, allocations: 91.23 kB / 0.5225 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.3681, allocations: 6.844 kB / 0.5225 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.535e-05/0.3682, allocations: 0 / 0.5225 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.3682, allocations: 14.05 kB / 0.5225 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3682, allocations: 5.781 kB / 0.5225 GB, free: 32.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.3684, allocations: 200.5 kB / 0.5227 GB, free: 31.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3684, allocations: 0 / 0.5227 GB, free: 31.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003397/0.3687, allocations: 27.08 kB / 0.5227 GB, free: 31.93 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.0009073/0.3696, allocations: 466.6 kB / 0.5232 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.3698, allocations: 61.25 kB / 0.5232 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3698, allocations: 0 / 0.5232 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.347e-05/0.3699, allocations: 32.38 kB / 0.5232 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.3702, allocations: 35.89 kB / 0.5233 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.3707, allocations: 448 kB / 0.5237 GB, free: 31.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.3708, allocations: 0.7171 MB / 0.5244 GB, free: 30.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.535e-05/0.3709, allocations: 18.97 kB / 0.5244 GB, free: 30.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.3709, allocations: 15.16 kB / 0.5244 GB, free: 30.6 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3709, allocations: 0 / 0.5244 GB, free: 30.6 MB / 378.7 MB Notification: Performance of Templates: time 0.003929/0.3749, allocations: 1.735 MB / 0.5261 GB, free: 30.41 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches