Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001357/0.001357, allocations: 118.7 kB / 18.45 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 207.6 kB / 19.41 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.473/1.473, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2364/0.2364, allocations: 46.12 MB / 345 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003245/0.003245, allocations: 76.09 kB / 482.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3571, allocations: 62.44 MB / 0.5318 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.004578/0.3616, allocations: 1.765 MB / 0.5335 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002769/0.3644, allocations: 1.025 MB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.3645, allocations: 0 / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004007/0.3649, allocations: 52.25 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004881/0.3654, allocations: 101.8 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.3657, allocations: 82.91 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.366, allocations: 124 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3661, allocations: 9.484 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.3663, allocations: 65.64 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.3664, allocations: 45.7 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.3664, allocations: 6.875 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.3666, allocations: 59.86 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.531e-05/0.3667, allocations: 33.47 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.375e-05/0.3667, allocations: 45.36 kB / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.3671, allocations: 144.2 kB / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3671, allocations: 0 / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3671, allocations: 1.375 kB / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.3671, allocations: 0 / 0.5353 GB, free: 10.91 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008613/0.368, allocations: 454.1 kB / 0.5357 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.368, allocations: 9.188 kB / 0.5357 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.3681, allocations: 15.53 kB / 0.5357 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.3686, allocations: 223.8 kB / 0.536 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.3686, allocations: 10.56 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.3686, allocations: 11.31 kB / 0.536 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.3689, allocations: 69.97 kB / 0.536 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.3689, allocations: 1.062 kB / 0.536 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.3689, allocations: 0 / 0.536 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3689, allocations: 1 kB / 0.536 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.3691, allocations: 48.11 kB / 0.5361 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.3697, allocations: 322.4 kB / 0.5364 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.3701, allocations: 82.47 kB / 0.5365 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.3702, allocations: 29.72 kB / 0.5365 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.3703, allocations: 5.328 kB / 0.5365 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.3705, allocations: 79.89 kB / 0.5366 GB, free: 9.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 6.282e-06/0.3705, allocations: 4 kB / 0.5366 GB, free: 9.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001267/0.3718, allocations: 297.9 kB / 0.5369 GB, free: 9.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.3718, allocations: 60.59 kB / 0.5369 GB, free: 9.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.3721, allocations: 198.9 kB / 0.5371 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.3722, allocations: 27.8 kB / 0.5371 GB, free: 9.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3723, allocations: 106.1 kB / 0.5372 GB, free: 9.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/0.3724, allocations: 46.48 kB / 0.5373 GB, free: 9.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.62e-05/0.3724, allocations: 32.02 kB / 0.5373 GB, free: 9.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.3727, allocations: 326.4 kB / 0.5376 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.3728, allocations: 35.14 kB / 0.5377 GB, free: 8.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.373, allocations: 61.12 kB / 0.5377 GB, free: 8.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.3733, allocations: 96.89 kB / 0.5378 GB, free: 8.617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3733, allocations: 4.938 kB / 0.5378 GB, free: 8.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000453/0.3737, allocations: 153.8 kB / 0.538 GB, free: 8.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3737, allocations: 6.344 kB / 0.538 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3737, allocations: 0 / 0.538 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3738, allocations: 1.219 kB / 0.538 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.3739, allocations: 28.73 kB / 0.538 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.3739, allocations: 5.281 kB / 0.538 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.894e-05/0.374, allocations: 5.406 kB / 0.538 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.374, allocations: 5.156 kB / 0.538 GB, free: 8.512 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 (15): * Single equations (assignments): 15 * 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.0001661/0.3742, allocations: 128 kB / 0.5381 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.3742, allocations: 17.84 kB / 0.5382 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-05/0.3743, allocations: 29.67 kB / 0.5382 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3743, allocations: 1.125 kB / 0.5382 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.3743, allocations: 3.938 kB / 0.5382 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3743, allocations: 1.25 kB / 0.5382 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009421/0.3753, allocations: 495.9 kB / 0.5387 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3753, allocations: 1.188 kB / 0.5387 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.352e-05/0.3754, allocations: 18.31 kB / 0.5387 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3754, allocations: 1.906 kB / 0.5387 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.3754, allocations: 6.312 kB / 0.5387 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.3754, allocations: 5.984 kB / 0.5387 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3754, allocations: 0 / 0.5387 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/0.3759, allocations: 258 kB / 0.5389 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.762e-05/0.376, allocations: 88.14 kB / 0.539 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.376, allocations: 7.031 kB / 0.539 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.3761, allocations: 1.938 kB / 0.539 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.3762, allocations: 13.86 kB / 0.5391 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.3762, allocations: 4.812 kB / 0.5391 GB, free: 7.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.3764, allocations: 152 kB / 0.5392 GB, free: 7.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3764, allocations: 0 / 0.5392 GB, free: 7.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004976/0.3769, allocations: 34.73 kB / 0.5392 GB, free: 7.453 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.002705/0.3796, allocations: 0.5177 MB / 0.5397 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003589/0.38, allocations: 93.92 kB / 0.5398 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.38, allocations: 0 / 0.5398 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.3801, allocations: 42.7 kB / 0.5399 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.3807, allocations: 29.67 kB / 0.5399 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/0.3815, allocations: 288 kB / 0.5402 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/0.382, allocations: 0.7147 MB / 0.5409 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.3822, allocations: 29.81 kB / 0.5409 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.3822, allocations: 23.45 kB / 0.5409 GB, free: 6.141 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3822, allocations: 1.25 kB / 0.5409 GB, free: 6.141 MB / 398.1 MB Notification: Performance of Templates: time 0.008143/0.3904, allocations: 2.185 MB / 0.5431 GB, free: 5.047 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches