Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001637/0.001637, allocations: 116.4 kB / 18.45 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002272/0.002272, allocations: 204 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 71.89 kB / 482.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.362, allocations: 62.43 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003033/0.365, allocations: 1.736 MB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3667, allocations: 1.01 MB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.3668, allocations: 1.375 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.3671, allocations: 46.77 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.3675, allocations: 99.03 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.3677, allocations: 74.97 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.3679, allocations: 109.9 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.368, allocations: 10.64 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.303e-05/0.3681, allocations: 42.91 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.959e-05/0.3682, allocations: 34.12 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.3682, allocations: 8.094 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.3683, allocations: 44.67 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.3684, allocations: 22.16 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.335e-05/0.3685, allocations: 32.31 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.3687, allocations: 122.5 kB / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3687, allocations: 0 / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3687, allocations: 0 / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3687, allocations: 0 / 0.535 GB, free: 11.01 MB / 398.1 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.0005631/0.3693, allocations: 415.6 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.3693, allocations: 12.94 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.3694, allocations: 10.62 kB / 0.5355 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.3696, allocations: 215.7 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3696, allocations: 2.625 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.3697, allocations: 6.344 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3698, allocations: 58.02 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3698, allocations: 3.906 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3699, allocations: 1.062 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3699, allocations: 5.203 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.224e-05/0.37, allocations: 18.19 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.3704, allocations: 294.6 kB / 0.536 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.3705, allocations: 54 kB / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.3706, allocations: 21.44 kB / 0.5361 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.3706, allocations: 9.062 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.3708, allocations: 60.98 kB / 0.5362 GB, free: 9.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.3708, allocations: 0 / 0.5362 GB, free: 9.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005741/0.3714, allocations: 174.9 kB / 0.5363 GB, free: 9.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.3714, allocations: 56.38 kB / 0.5364 GB, free: 9.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3716, allocations: 192.1 kB / 0.5366 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3716, allocations: 31.08 kB / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.3717, allocations: 105.6 kB / 0.5367 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.3717, allocations: 27.77 kB / 0.5367 GB, free: 9.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.3718, allocations: 24.58 kB / 0.5368 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3719, allocations: 329.5 kB / 0.5371 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.924e-05/0.3719, allocations: 18.98 kB / 0.5371 GB, free: 9.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.535e-05/0.372, allocations: 36.22 kB / 0.5371 GB, free: 8.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3722, allocations: 63.17 kB / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3722, allocations: 0 / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.3724, allocations: 111.6 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3724, allocations: 4.969 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3724, allocations: 1.406 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3724, allocations: 0 / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.657e-05/0.3725, allocations: 21.19 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3725, allocations: 1.25 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.3726, allocations: 10.55 kB / 0.5373 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.3726, allocations: 6.719 kB / 0.5373 GB, free: 8.848 MB / 398.1 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 9.552e-05/0.3727, allocations: 129.6 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.3727, allocations: 9.969 kB / 0.5375 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.3728, allocations: 17.98 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.3728, allocations: 1.031 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3728, allocations: 0 / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3728, allocations: 4.719 kB / 0.5375 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.3733, allocations: 406.1 kB / 0.5379 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3733, allocations: 1.062 kB / 0.5379 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.3733, allocations: 7.75 kB / 0.5379 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3733, allocations: 1.031 kB / 0.5379 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3733, allocations: 4.938 kB / 0.5379 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3734, allocations: 1 kB / 0.5379 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3734, allocations: 1.062 kB / 0.5379 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.3736, allocations: 204.1 kB / 0.5381 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.3737, allocations: 92.09 kB / 0.5382 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.3737, allocations: 6.062 kB / 0.5382 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.3738, allocations: 6.219 kB / 0.5382 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.3738, allocations: 7.266 kB / 0.5382 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.3738, allocations: 3.219 kB / 0.5382 GB, free: 8.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.374, allocations: 157 kB / 0.5383 GB, free: 7.891 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.374, allocations: 0 / 0.5383 GB, free: 7.891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.3743, allocations: 28.69 kB / 0.5384 GB, free: 7.879 MB / 398.1 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.001093/0.3754, allocations: 446.6 kB / 0.5388 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.3756, allocations: 70.64 kB / 0.5389 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3756, allocations: 3.938 kB / 0.5389 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.3757, allocations: 29.42 kB / 0.5389 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.376, allocations: 36 kB / 0.5389 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.3765, allocations: 260 kB / 0.5392 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.3768, allocations: 0.7057 MB / 0.5399 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.3768, allocations: 15.44 kB / 0.5399 GB, free: 6.652 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3768, allocations: 0 / 0.5399 GB, free: 6.652 MB / 398.1 MB Notification: Performance of Templates: time 0.004033/0.3809, allocations: 1.957 MB / 0.5418 GB, free: 5.648 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches