Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01305/0.01305, allocations: 100.1 kB / 15.87 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002639/0.002639, allocations: 193.7 kB / 16.79 MB, free: 6.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.1 MB / 222.7 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4059/0.4059, allocations: 43.5 MB / 313.5 MB, free: 8.488 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 70.56 kB / 382 MB, free: 8.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1873, allocations: 57.78 MB / 439.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.006002/0.1934, allocations: 1.776 MB / 441.6 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.1956, allocations: 0.7924 MB / 442.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.1959, allocations: 11.94 kB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006765/0.1966, allocations: 95.8 kB / 442.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005092/0.1972, allocations: 75.77 kB / 442.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.1978, allocations: 75.86 kB / 442.6 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004021/0.1982, allocations: 119.7 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.1984, allocations: 19.97 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.1986, allocations: 63.7 kB / 442.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.1988, allocations: 63.8 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.1988, allocations: 0 / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.1991, allocations: 43.98 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1992, allocations: 23.92 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.638e-05/0.1993, allocations: 47.59 kB / 443 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.1996, allocations: 143.8 kB / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.1997, allocations: 0 / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1997, allocations: 0 / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.1997, allocations: 0 / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009263/0.2006, allocations: 446.7 kB / 443.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.248e-05/0.2007, allocations: 8.031 kB / 443.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.844e-05/0.2008, allocations: 12.84 kB / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.2012, allocations: 227.7 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.2012, allocations: 4.312 kB / 443.8 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.2012, allocations: 16.12 kB / 443.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.2015, allocations: 65.59 kB / 443.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.2015, allocations: 11.84 kB / 443.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.2015, allocations: 0 / 443.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.2016, allocations: 0 / 443.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.2017, allocations: 31.97 kB / 444 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.2022, allocations: 320.7 kB / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.2025, allocations: 78.72 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.601e-05/0.2026, allocations: 28.84 kB / 444.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.2026, allocations: 0 / 444.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002999/0.2029, allocations: 79.41 kB / 444.5 MB, free: 9.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.2029, allocations: 4 kB / 444.5 MB, free: 9.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006948/0.2036, allocations: 224.9 kB / 444.7 MB, free: 9.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.2037, allocations: 55.41 kB / 444.7 MB, free: 9.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.2039, allocations: 250.5 kB / 445 MB, free: 9.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.204, allocations: 25.7 kB / 445 MB, free: 9.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.204, allocations: 112.1 kB / 445.1 MB, free: 9.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.2041, allocations: 39.53 kB / 445.2 MB, free: 9.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.2041, allocations: 25.72 kB / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2043, allocations: 330.8 kB / 445.5 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.2044, allocations: 31.98 kB / 445.5 MB, free: 8.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.515e-05/0.2044, allocations: 49.69 kB / 445.6 MB, free: 8.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.2046, allocations: 81.59 kB / 445.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.2046, allocations: 0 / 445.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002205/0.2048, allocations: 133.6 kB / 445.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2049, allocations: 4 kB / 445.8 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2049, allocations: 0 / 445.8 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2049, allocations: 0 / 445.8 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.205, allocations: 27.92 kB / 445.8 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.205, allocations: 3.938 kB / 445.8 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.2051, allocations: 4 kB / 445.8 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.2051, allocations: 4 kB / 445.8 MB, free: 8.539 MB / 382.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 (13): * Single equations (assignments): 13 * 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.000133/0.2052, allocations: 145.8 kB / 446 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.2053, allocations: 19.84 kB / 446 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.875e-05/0.2053, allocations: 17.41 kB / 446 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2053, allocations: 3.938 kB / 446 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.2054, allocations: 11.88 kB / 446 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2054, allocations: 3.984 kB / 446 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.2059, allocations: 443.2 kB / 446.5 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2059, allocations: 0 / 446.5 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.206, allocations: 23.95 kB / 446.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.206, allocations: 0 / 446.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.206, allocations: 8 kB / 446.5 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.206, allocations: 0 / 446.5 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.206, allocations: 0 / 446.5 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.2063, allocations: 232.2 kB / 446.7 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.2064, allocations: 88.95 kB / 446.8 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.2064, allocations: 12 kB / 446.8 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-05/0.2065, allocations: 3.984 kB / 446.8 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.2066, allocations: 4 kB / 446.8 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.2066, allocations: 15.98 kB / 446.9 MB, free: 7.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.2068, allocations: 188.2 kB / 447 MB, free: 7.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2068, allocations: 3.938 kB / 447 MB, free: 7.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000296/0.2071, allocations: 31.91 kB / 447.1 MB, free: 7.199 MB / 382.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 (11): * Single equations (assignments): 9 * 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.001354/0.2085, allocations: 477.2 kB / 447.5 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.2087, allocations: 79.91 kB / 447.6 MB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.2088, allocations: 0 / 447.6 MB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.972e-05/0.2088, allocations: 40.11 kB / 447.7 MB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.2092, allocations: 39.91 kB / 447.7 MB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006179/0.2099, allocations: 329.4 kB / 448 MB, free: 6.266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.2102, allocations: 0.7204 MB / 448.7 MB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.412e-05/0.2103, allocations: 21.06 kB / 448.8 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.2103, allocations: 23.42 kB / 448.8 MB, free: 5.477 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2104, allocations: 4 kB / 448.8 MB, free: 5.473 MB / 382.1 MB Notification: Performance of Templates: time 0.005458/0.2158, allocations: 1.821 MB / 450.6 MB, free: 3.652 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches