Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001752/0.001752, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002172/0.002172, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.331/2.331, allocations: 227.4 MB / 246.9 MB, free: 8.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4003/0.4003, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002967/0.002967, allocations: 83.25 kB / 417.5 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1883, allocations: 62.44 MB / 479.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.006263/0.1947, allocations: 1.785 MB / 481.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.1976, allocations: 1.013 MB / 482.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.1978, allocations: 0 / 482.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004953/0.1983, allocations: 47.77 kB / 482.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005293/0.1989, allocations: 79.73 kB / 482.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.1993, allocations: 67.81 kB / 482.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.1996, allocations: 91.75 kB / 483 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1998, allocations: 12 kB / 483 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.1999, allocations: 39.78 kB / 483.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.2001, allocations: 31.8 kB / 483.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.2001, allocations: 0 / 483.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.2003, allocations: 47.92 kB / 483.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/0.2004, allocations: 23.91 kB / 483.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.614e-05/0.2005, allocations: 39.73 kB / 483.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.2008, allocations: 84.09 kB / 483.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2008, allocations: 0 / 483.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2008, allocations: 4 kB / 483.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.2008, allocations: 0 / 483.3 MB, free: 2.289 MB / 350.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.0008781/0.2017, allocations: 414.9 kB / 483.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.2018, allocations: 8.875 kB / 483.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.056e-05/0.2019, allocations: 12.84 kB / 483.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.2023, allocations: 216.7 kB / 483.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.2023, allocations: 384 / 483.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.2023, allocations: 12.11 kB / 483.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.2026, allocations: 53.67 kB / 484 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.2026, allocations: 0 / 484 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.2026, allocations: 0 / 484 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2027, allocations: 0 / 484 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.2028, allocations: 19.98 kB / 484 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.2034, allocations: 300.7 kB / 484.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.2037, allocations: 54.67 kB / 484.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-05/0.2038, allocations: 16.86 kB / 484.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.2038, allocations: 4 kB / 484.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000344/0.2042, allocations: 71.38 kB / 484.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.2042, allocations: 0 / 484.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008831/0.2051, allocations: 177.2 kB / 484.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.2052, allocations: 55.41 kB / 484.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.2055, allocations: 190.8 kB / 484.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.2056, allocations: 37.62 kB / 484.9 MB, free: 492 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.2057, allocations: 104.1 kB / 485 MB, free: 384 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.2058, allocations: 23.7 kB / 485 MB, free: 360 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-05/0.2058, allocations: 21.72 kB / 485.1 MB, free: 332 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002466/0.2061, allocations: 330.8 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.2062, allocations: 19.98 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.2064, allocations: 33.7 kB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.2066, allocations: 65.61 kB / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2066, allocations: 3.938 kB / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003385/0.207, allocations: 101.4 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.207, allocations: 8 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.207, allocations: 0 / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.207, allocations: 0 / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.2072, allocations: 19.92 kB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.2072, allocations: 4 kB / 485.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.134e-05/0.2073, allocations: 7.938 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2074, allocations: 4 kB / 485.6 MB, free: 15.71 MB / 366.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.0001808/0.2076, allocations: 125.9 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.2076, allocations: 15.91 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.869e-05/0.2077, allocations: 13.41 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2077, allocations: 3.984 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2077, allocations: 0 / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.2077, allocations: 3.938 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007029/0.2085, allocations: 395.2 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2085, allocations: 0 / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/0.2085, allocations: 12.03 kB / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.2086, allocations: 4 kB / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.2086, allocations: 7.922 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2086, allocations: 0 / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2086, allocations: 0 / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.209, allocations: 200.2 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.2091, allocations: 88.92 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.2091, allocations: 11.94 kB / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.2093, allocations: 4.359 kB / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.2093, allocations: 8 kB / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.2094, allocations: 4.188 kB / 486.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.2096, allocations: 152.7 kB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2096, allocations: 3.938 kB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005106/0.2101, allocations: 27.98 kB / 486.7 MB, free: 14.54 MB / 366.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.001894/0.212, allocations: 471.7 kB / 487.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.2124, allocations: 59.91 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.2124, allocations: 4 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.2125, allocations: 31.98 kB / 487.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.2131, allocations: 34.97 kB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007366/0.2139, allocations: 278.4 kB / 487.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.2143, allocations: 0.7082 MB / 488.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.2144, allocations: 15.44 kB / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2144, allocations: 0 / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of Templates: time 0.006227/0.2206, allocations: 1.934 MB / 490.2 MB, free: 11.12 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches