Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 79.88 kB / 482.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3552, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.004149/0.3594, allocations: 1.737 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.3615, allocations: 1.009 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.3617, allocations: 5.375 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003799/0.3621, allocations: 44.14 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004424/0.3626, allocations: 98.97 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.3629, allocations: 78.97 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.3632, allocations: 104.9 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3633, allocations: 10.88 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.3634, allocations: 52.27 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.536e-05/0.3635, allocations: 29.42 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.3636, allocations: 4.125 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.3637, allocations: 40.86 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.3638, allocations: 22.78 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.227e-05/0.3639, allocations: 32 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.3642, allocations: 125.7 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3642, allocations: 0 / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3642, allocations: 0 / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.3642, allocations: 1.344 kB / 0.535 GB, free: 11.05 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.000703/0.3649, allocations: 418.5 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.365, allocations: 8.562 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.109e-05/0.3651, allocations: 9.875 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.3654, allocations: 214 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.3655, allocations: 9.672 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.3655, allocations: 9.75 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.3657, allocations: 58.45 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.3657, allocations: 7.891 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3657, allocations: 4.625 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3657, allocations: 0.5938 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.993e-05/0.3658, allocations: 18.98 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.3663, allocations: 287 kB / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.3665, allocations: 61.33 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.247e-05/0.3666, allocations: 22.52 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.3666, allocations: 0 / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.3668, allocations: 65.42 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.3668, allocations: 0 / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006295/0.3675, allocations: 171 kB / 0.5363 GB, free: 9.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.3675, allocations: 52.41 kB / 0.5364 GB, free: 9.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.3678, allocations: 200.5 kB / 0.5366 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3678, allocations: 26.92 kB / 0.5366 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.3679, allocations: 104.5 kB / 0.5367 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.3679, allocations: 28.34 kB / 0.5367 GB, free: 9.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.368, allocations: 23.88 kB / 0.5368 GB, free: 9.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3681, allocations: 326.3 kB / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-05/0.3682, allocations: 23.61 kB / 0.5371 GB, free: 9.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.593e-05/0.3683, allocations: 43.2 kB / 0.5371 GB, free: 9.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.3684, allocations: 58.72 kB / 0.5372 GB, free: 8.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.3684, allocations: 0 / 0.5372 GB, free: 8.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002272/0.3687, allocations: 108.1 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3687, allocations: 4.875 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3687, allocations: 1.469 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.3687, allocations: 1.5 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3688, allocations: 20.11 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3688, allocations: 5.156 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.3689, allocations: 6.312 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.3689, allocations: 6.375 kB / 0.5373 GB, free: 8.883 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 0.0001226/0.3691, allocations: 127.7 kB / 0.5375 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.3691, allocations: 9.469 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.438e-05/0.3692, allocations: 14.53 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.3692, allocations: 1.406 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.3692, allocations: 0 / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3692, allocations: 5.312 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.3697, allocations: 405.5 kB / 0.5379 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3697, allocations: 1.062 kB / 0.5379 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.589e-05/0.3698, allocations: 7.031 kB / 0.5379 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3698, allocations: 1.25 kB / 0.5379 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.3698, allocations: 9.219 kB / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3698, allocations: 1.312 kB / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3698, allocations: 5.141 kB / 0.5379 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.3701, allocations: 200.7 kB / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.3702, allocations: 91.86 kB / 0.5382 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.3702, allocations: 5.219 kB / 0.5382 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.3703, allocations: 2.531 kB / 0.5382 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.3703, allocations: 6.734 kB / 0.5382 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3704, allocations: 3.969 kB / 0.5382 GB, free: 8.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.3705, allocations: 152.6 kB / 0.5383 GB, free: 7.934 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3705, allocations: 4 kB / 0.5383 GB, free: 7.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.3708, allocations: 24.44 kB / 0.5384 GB, free: 7.922 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.00119/0.372, allocations: 457 kB / 0.5388 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.3723, allocations: 65.27 kB / 0.5389 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3723, allocations: 1.344 kB / 0.5389 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.395e-05/0.3724, allocations: 28.67 kB / 0.5389 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.3728, allocations: 38.95 kB / 0.5389 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.3733, allocations: 259 kB / 0.5392 GB, free: 7.414 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.3737, allocations: 0.7058 MB / 0.5399 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.3737, allocations: 24.27 kB / 0.5399 GB, free: 6.691 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3737, allocations: 3.938 kB / 0.5399 GB, free: 6.688 MB / 398.1 MB Notification: Performance of Templates: time 0.004947/0.3787, allocations: 1.943 MB / 0.5418 GB, free: 5.691 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches