Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002158/0.002158, allocations: 109 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.002869/0.002869, 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.521/2.521, allocations: 227.4 MB / 246.9 MB, free: 10.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3824/0.3824, allocations: 46.11 MB / 344.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002056, allocations: 87.61 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1921, allocations: 62.44 MB / 479.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.005754/0.198, allocations: 1.788 MB / 481.7 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.2009, allocations: 1.017 MB / 482.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.201, allocations: 0 / 482.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.2015, allocations: 43.78 kB / 482.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004697/0.2021, allocations: 87.73 kB / 482.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.2025, allocations: 55.88 kB / 482.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.2028, allocations: 99.69 kB / 483 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.2029, allocations: 12 kB / 483 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.2031, allocations: 43.77 kB / 483.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.2032, allocations: 31.8 kB / 483.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.2033, allocations: 0 / 483.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.2035, allocations: 47.92 kB / 483.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.005e-05/0.2036, allocations: 31.84 kB / 483.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.2037, allocations: 31.75 kB / 483.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.204, allocations: 92.09 kB / 483.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2041, allocations: 3.938 kB / 483.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2041, allocations: 0 / 483.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.2041, allocations: 0 / 483.3 MB, free: 2.305 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.0008763/0.205, allocations: 419 kB / 483.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.2051, allocations: 12.86 kB / 483.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.538e-05/0.2052, allocations: 12.84 kB / 483.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.2055, allocations: 212 kB / 484 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.2056, allocations: 4.359 kB / 484 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.2056, allocations: 16.06 kB / 484 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.2059, allocations: 53.66 kB / 484 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.2059, allocations: 0 / 484 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.2059, allocations: 4 kB / 484 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.206, allocations: 0 / 484 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.2061, allocations: 19.98 kB / 484.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.2067, allocations: 288.9 kB / 484.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.207, allocations: 58.61 kB / 484.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.743e-05/0.2071, allocations: 20.86 kB / 484.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.023e-05/0.2072, allocations: 0 / 484.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003803/0.2076, allocations: 71.38 kB / 484.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.334e-06/0.2076, allocations: 0 / 484.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008955/0.2085, allocations: 181.1 kB / 484.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.2086, allocations: 55.34 kB / 484.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.2089, allocations: 206.9 kB / 484.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.209, allocations: 33.7 kB / 484.9 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.018e-05/0.2091, allocations: 100.1 kB / 485 MB, free: 380 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.282e-05/0.2091, allocations: 23.7 kB / 485.1 MB, free: 356 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.2092, allocations: 33.7 kB / 485.1 MB, free: 316 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.2095, allocations: 326.8 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.916e-05/0.2096, allocations: 19.94 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.2097, allocations: 37.7 kB / 485.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.2099, allocations: 53.7 kB / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2099, allocations: 0 / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003415/0.2103, allocations: 109.6 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.2103, allocations: 7.984 kB / 485.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.2104, allocations: 3.938 kB / 485.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.2104, allocations: 4 kB / 485.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.2105, allocations: 12 kB / 485.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2106, allocations: 0 / 485.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.069e-05/0.2107, allocations: 7.938 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.2107, allocations: 7.984 kB / 485.7 MB, free: 15.7 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.0001768/0.2109, allocations: 133.8 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.2109, allocations: 7.906 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.969e-05/0.211, allocations: 21.39 kB / 485.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.211, allocations: 0 / 485.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2111, allocations: 0 / 485.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.2111, allocations: 3.938 kB / 485.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007894/0.2119, allocations: 403.4 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.2119, allocations: 8.031 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.212, allocations: 4 kB / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.212, allocations: 4 kB / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.212, allocations: 3.938 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.212, allocations: 80 / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.212, allocations: 7.984 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.2125, allocations: 200.2 kB / 486.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.228e-05/0.2126, allocations: 96.91 kB / 486.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.2126, allocations: 3.938 kB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2128, allocations: 0 / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.2128, allocations: 16.3 kB / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.2129, allocations: 4 kB / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002457/0.2131, allocations: 156.3 kB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2131, allocations: 0 / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005042/0.2137, allocations: 20 kB / 486.8 MB, free: 14.52 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.001917/0.2156, allocations: 453.4 kB / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004134/0.216, allocations: 59.91 kB / 487.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.216, allocations: 0 / 487.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.2162, allocations: 39.98 kB / 487.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006124/0.2168, allocations: 29.47 kB / 487.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008289/0.2177, allocations: 294.5 kB / 487.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.2181, allocations: 0.7082 MB / 488.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.2182, allocations: 19.44 kB / 488.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of SimCode: time 6.22e-07/0.2182, allocations: 0 / 488.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of Templates: time 0.006304/0.2246, allocations: 1.962 MB / 490.3 MB, free: 11.07 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches