Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 79.88 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.4998, allocations: 62.43 MB / 0.5311 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003554/0.5035, allocations: 1.743 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.5053, allocations: 1.026 MB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.405e-05/0.5054, allocations: 1.469 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.5057, allocations: 39.02 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.506, allocations: 95.72 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.5062, allocations: 79.23 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.5064, allocations: 105.9 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.5066, allocations: 10.88 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.405e-05/0.5067, allocations: 42.91 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.5068, allocations: 41.34 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.5068, allocations: 4.125 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.5069, allocations: 40.86 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.507, allocations: 17.42 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.507, allocations: 33.38 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.5073, allocations: 121.3 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5073, allocations: 1.375 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5073, allocations: 0 / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.5073, allocations: 7.938 kB / 0.5344 GB, free: 11.06 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.0006183/0.508, allocations: 428.8 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.508, allocations: 9.625 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.5081, allocations: 18.38 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.5084, allocations: 208 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.5084, allocations: 5.734 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.5085, allocations: 6.875 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.5086, allocations: 54.05 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.5086, allocations: 4 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.5087, allocations: 1.375 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.5087, allocations: 0 / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.432e-05/0.5088, allocations: 26.92 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.5091, allocations: 282.9 kB / 0.5354 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.5093, allocations: 57.92 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.5094, allocations: 25.09 kB / 0.5355 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.5094, allocations: 1.375 kB / 0.5355 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.5096, allocations: 69.48 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.5096, allocations: 0 / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000578/0.5102, allocations: 182 kB / 0.5357 GB, free: 9.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.5102, allocations: 52.5 kB / 0.5358 GB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.5104, allocations: 201.2 kB / 0.5359 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.5105, allocations: 27.02 kB / 0.536 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.5105, allocations: 100.5 kB / 0.5361 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.5106, allocations: 27.41 kB / 0.5361 GB, free: 9.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.5106, allocations: 21.38 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5108, allocations: 330.1 kB / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.026e-05/0.5108, allocations: 18.7 kB / 0.5364 GB, free: 9.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.634e-05/0.5109, allocations: 39.95 kB / 0.5365 GB, free: 9.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.511, allocations: 58.75 kB / 0.5365 GB, free: 8.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5111, allocations: 4 kB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002006/0.5113, allocations: 107.7 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5113, allocations: 5.656 kB / 0.5367 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.5113, allocations: 1.125 kB / 0.5367 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.5113, allocations: 1.188 kB / 0.5367 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.402e-05/0.5114, allocations: 28.55 kB / 0.5367 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.5114, allocations: 1.25 kB / 0.5367 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.5115, allocations: 6.344 kB / 0.5367 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.5115, allocations: 2.188 kB / 0.5367 GB, free: 8.887 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.0001086/0.5116, allocations: 131.7 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.5117, allocations: 13.69 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.5117, allocations: 14.16 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.5117, allocations: 1.156 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.5117, allocations: 4 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.5117, allocations: 4.969 kB / 0.5369 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.5122, allocations: 397.8 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5122, allocations: 1.156 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.5123, allocations: 8.281 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5123, allocations: 3.938 kB / 0.5372 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.5123, allocations: 6.031 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.5123, allocations: 5.078 kB / 0.5373 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5123, allocations: 1.156 kB / 0.5373 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.5125, allocations: 199.8 kB / 0.5374 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.5126, allocations: 88.61 kB / 0.5375 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.5126, allocations: 10.22 kB / 0.5375 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.5127, allocations: 1.156 kB / 0.5375 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.5127, allocations: 7.422 kB / 0.5375 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.5128, allocations: 3.375 kB / 0.5376 GB, free: 8.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.5129, allocations: 156.6 kB / 0.5377 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5129, allocations: 0 / 0.5377 GB, free: 7.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.5132, allocations: 24.78 kB / 0.5377 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.001081/0.5143, allocations: 468.7 kB / 0.5382 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.5145, allocations: 53.92 kB / 0.5382 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5145, allocations: 0 / 0.5382 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.347e-05/0.5146, allocations: 33.83 kB / 0.5383 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.5149, allocations: 24.14 kB / 0.5383 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.5154, allocations: 235.3 kB / 0.5385 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.5157, allocations: 0.7025 MB / 0.5392 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.531e-05/0.5158, allocations: 22.39 kB / 0.5392 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.5158, allocations: 15.19 kB / 0.5392 GB, free: 6.715 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5159, allocations: 0 / 0.5392 GB, free: 6.715 MB / 398.1 MB Notification: Performance of Templates: time 0.005238/0.5211, allocations: 1.736 MB / 0.5409 GB, free: 5.836 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches