Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.57/1.57, allocations: 205.1 MB / 222.6 MB, free: 4.773 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.4305/0.4305, allocations: 43.49 MB / 313.5 MB, free: 8.523 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.002059/0.00206, allocations: 67.91 kB / 382 MB, free: 8.746 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1878, allocations: 57.79 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.004486/0.1924, allocations: 1.749 MB / 441.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1939, allocations: 0.7963 MB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1941, allocations: 0 / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.1945, allocations: 35.83 kB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.1948, allocations: 47.83 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.1951, allocations: 75.86 kB / 442.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.1954, allocations: 95.69 kB / 442.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1955, allocations: 16.2 kB / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.1956, allocations: 35.8 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1957, allocations: 31.84 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1958, allocations: 3.938 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.1959, allocations: 39.98 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.717e-05/0.196, allocations: 15.92 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.1961, allocations: 31.73 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.1964, allocations: 119.9 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.1964, allocations: 0 / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1964, allocations: 0 / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1964, allocations: 0 / 442.9 MB, free: 11.75 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008115/0.1973, allocations: 411 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.1973, allocations: 12.03 kB / 443.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.207e-05/0.1974, allocations: 12.84 kB / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.1978, allocations: 220 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1978, allocations: 384 / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.1978, allocations: 8.125 kB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.198, allocations: 53.67 kB / 443.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.1981, allocations: 0 / 443.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.1981, allocations: 7.938 kB / 443.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1981, allocations: 0 / 443.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.53e-05/0.1982, allocations: 19.98 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.1988, allocations: 284.8 kB / 443.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.199, allocations: 58.67 kB / 444 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.657e-05/0.1991, allocations: 24.84 kB / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.1991, allocations: 0 / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003208/0.1995, allocations: 75.23 kB / 444.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.605e-06/0.1995, allocations: 0 / 444.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007741/0.2003, allocations: 165.4 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.2004, allocations: 59.33 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.2006, allocations: 186.2 kB / 444.5 MB, free: 9.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.2006, allocations: 29.7 kB / 444.5 MB, free: 9.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.2007, allocations: 104.1 kB / 444.6 MB, free: 9.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.2007, allocations: 23.7 kB / 444.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/0.2008, allocations: 21.72 kB / 444.6 MB, free: 9.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.201, allocations: 330.8 kB / 445 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.613e-05/0.2011, allocations: 15.98 kB / 445 MB, free: 9.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-05/0.2012, allocations: 41.7 kB / 445 MB, free: 9.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.2013, allocations: 57.66 kB / 445.1 MB, free: 9.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2013, allocations: 0 / 445.1 MB, free: 9.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000216/0.2015, allocations: 97.58 kB / 445.2 MB, free: 9.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.2016, allocations: 4 kB / 445.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2016, allocations: 0 / 445.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2016, allocations: 192 / 445.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.2017, allocations: 23.92 kB / 445.2 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.2017, allocations: 11.95 kB / 445.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/0.2018, allocations: 8.312 kB / 445.2 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.2018, allocations: 4 kB / 445.2 MB, free: 9.184 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 (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.0001207/0.202, allocations: 121.8 kB / 445.4 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.202, allocations: 15.89 kB / 445.4 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.316e-05/0.202, allocations: 20.72 kB / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2021, allocations: 0 / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.2021, allocations: 0 / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2021, allocations: 7.938 kB / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.2026, allocations: 391.2 kB / 445.8 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2026, allocations: 3.938 kB / 445.8 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.2027, allocations: 11.98 kB / 445.8 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2027, allocations: 0 / 445.8 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.2027, allocations: 11.94 kB / 445.8 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2027, allocations: 3.938 kB / 445.8 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2027, allocations: 0 / 445.8 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.203, allocations: 204.5 kB / 446 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.2031, allocations: 85.02 kB / 446.1 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.2031, allocations: 11.92 kB / 446.1 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.2032, allocations: 4 kB / 446.1 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.2033, allocations: 4 kB / 446.1 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.2033, allocations: 7.984 kB / 446.1 MB, free: 8.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.2034, allocations: 148.1 kB / 446.3 MB, free: 8.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.2034, allocations: 0 / 446.3 MB, free: 8.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.2038, allocations: 23.98 kB / 446.3 MB, free: 8.027 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 (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.001307/0.2051, allocations: 477.4 kB / 446.8 MB, free: 7.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.2053, allocations: 55.92 kB / 446.8 MB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2053, allocations: 0 / 446.8 MB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.685e-05/0.2054, allocations: 31.92 kB / 446.8 MB, free: 7.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.2058, allocations: 27.97 kB / 446.9 MB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006745/0.2065, allocations: 241.3 kB / 447.1 MB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.2069, allocations: 0.7004 MB / 447.8 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.28e-05/0.207, allocations: 21.17 kB / 447.8 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.2071, allocations: 15.44 kB / 447.8 MB, free: 6.453 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2071, allocations: 0 / 447.8 MB, free: 6.453 MB / 382.1 MB Notification: Performance of Templates: time 0.005646/0.2127, allocations: 1.634 MB / 449.5 MB, free: 4.82 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches