Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001719/0.001719, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001217, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2447/0.2447, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 79.88 kB / 481.4 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.4984, allocations: 62.44 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003348/0.5018, allocations: 1.942 MB / 0.5329 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.5038, allocations: 1.054 MB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.504, allocations: 1.062 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.5044, allocations: 53.7 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.5048, allocations: 90.95 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.5051, allocations: 102 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.5053, allocations: 141.3 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.5054, allocations: 34.06 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.5055, allocations: 56.97 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.776e-05/0.5056, allocations: 52.28 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.5057, allocations: 8 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.5058, allocations: 50.72 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.5059, allocations: 26.52 kB / 0.5346 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.304e-05/0.5059, allocations: 50.86 kB / 0.5346 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.5062, allocations: 154.7 kB / 0.5348 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5062, allocations: 0 / 0.5348 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.5063, allocations: 0 / 0.5348 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.5063, allocations: 4 kB / 0.5348 GB, free: 10.75 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009157/0.5072, allocations: 493.4 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.5072, allocations: 9.625 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.5073, allocations: 15.72 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.5077, allocations: 237 kB / 0.5355 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.5077, allocations: 7.125 kB / 0.5355 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.5078, allocations: 8.25 kB / 0.5355 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.508, allocations: 114.4 kB / 0.5356 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.508, allocations: 0 / 0.5356 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.5081, allocations: 1.375 kB / 0.5356 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.5081, allocations: 6.734 kB / 0.5356 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.5083, allocations: 50.03 kB / 0.5357 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006642/0.5089, allocations: 0.5079 MB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.5093, allocations: 79.58 kB / 0.5362 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.5094, allocations: 44.11 kB / 0.5363 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.5095, allocations: 1.125 kB / 0.5363 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.5097, allocations: 89.41 kB / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.5097, allocations: 0 / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004492/0.5101, allocations: 143.1 kB / 0.5365 GB, free: 9.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.5102, allocations: 57.56 kB / 0.5366 GB, free: 9.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.5105, allocations: 206.4 kB / 0.5368 GB, free: 8.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.5105, allocations: 27.36 kB / 0.5368 GB, free: 8.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.539e-05/0.5106, allocations: 118.7 kB / 0.5369 GB, free: 8.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.5107, allocations: 35.88 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/0.5107, allocations: 27.12 kB / 0.537 GB, free: 8.688 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.5109, allocations: 330.4 kB / 0.5373 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.376e-05/0.511, allocations: 28.78 kB / 0.5373 GB, free: 8.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.5111, allocations: 68.03 kB / 0.5374 GB, free: 8.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.5113, allocations: 101.2 kB / 0.5375 GB, free: 8.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5114, allocations: 1.312 kB / 0.5375 GB, free: 8.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002922/0.5117, allocations: 137.1 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.5117, allocations: 5.469 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5117, allocations: 1.938 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.5117, allocations: 1.812 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.5118, allocations: 25.92 kB / 0.5376 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.5119, allocations: 2.75 kB / 0.5376 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.37e-05/0.5119, allocations: 16.33 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.512, allocations: 4.812 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000137/0.5121, allocations: 134.4 kB / 0.5378 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.5121, allocations: 14.81 kB / 0.5378 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.5122, allocations: 18.48 kB / 0.5378 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.5122, allocations: 5.094 kB / 0.5378 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5122, allocations: 0 / 0.5378 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.5122, allocations: 1.188 kB / 0.5378 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.5124, allocations: 213.8 kB / 0.538 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5124, allocations: 0 / 0.538 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.045e-05/0.5125, allocations: 14.3 kB / 0.538 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5125, allocations: 1.25 kB / 0.538 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.5125, allocations: 5.188 kB / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5125, allocations: 3.938 kB / 0.538 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5125, allocations: 3.938 kB / 0.538 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.5129, allocations: 185.7 kB / 0.5382 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.513, allocations: 93.16 kB / 0.5383 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.513, allocations: 1.125 kB / 0.5383 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-05/0.5131, allocations: 7.562 kB / 0.5383 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.5131, allocations: 11.77 kB / 0.5383 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.5131, allocations: 3.375 kB / 0.5383 GB, free: 7.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.5132, allocations: 145.9 kB / 0.5385 GB, free: 7.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5132, allocations: 0 / 0.5385 GB, free: 7.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.5135, allocations: 26.62 kB / 0.5385 GB, free: 7.336 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009007/0.5144, allocations: 413.7 kB / 0.5389 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002665/0.5147, allocations: 84.05 kB / 0.539 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5147, allocations: 0 / 0.539 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.5148, allocations: 34.23 kB / 0.539 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.5151, allocations: 43.5 kB / 0.539 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000567/0.5157, allocations: 273.2 kB / 0.5393 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.5161, allocations: 0.7156 MB / 0.54 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.424e-05/0.5162, allocations: 28.09 kB / 0.54 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.5162, allocations: 15.75 kB / 0.54 GB, free: 6.098 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5162, allocations: 0.9688 kB / 0.54 GB, free: 6.098 MB / 398.1 MB Notification: Performance of Templates: time 0.004966/0.5212, allocations: 1.892 MB / 0.5419 GB, free: 5.145 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches