Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009143/0.0009144, allocations: 96.7 kB / 15.7 MB, free: 468 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.001209/0.001209, allocations: 172.7 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.614/0.614, allocations: 43.58 MB / 314.6 MB, free: 8.754 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.0007511/0.0007523, allocations: 18.97 kB / 384 MB, free: 7.965 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1885, allocations: 58.85 MB / 442.8 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002744/0.1914, allocations: 1.402 MB / 444.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.1931, allocations: 0.7383 MB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1932, allocations: 0 / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.1937, allocations: 35.83 kB / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.194, allocations: 47.83 kB / 445 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1943, allocations: 71.84 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.1945, allocations: 75.77 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1946, allocations: 20.19 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1947, allocations: 35.8 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.1948, allocations: 27.84 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1948, allocations: 4 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1949, allocations: 39.92 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.195, allocations: 19.91 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.1951, allocations: 37.7 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.1953, allocations: 84.11 kB / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/0.1953, allocations: 0 / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1953, allocations: 0 / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1953, allocations: 0 / 445.4 MB, free: 10.35 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.0006576/0.196, allocations: 406.7 kB / 445.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.196, allocations: 12.03 kB / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.1961, allocations: 7.906 kB / 445.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.1964, allocations: 206.8 kB / 446.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.1964, allocations: 7.938 kB / 446.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.1964, allocations: 7.984 kB / 446.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.1966, allocations: 53.67 kB / 446.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1967, allocations: 0 / 446.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1967, allocations: 0 / 446.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1967, allocations: 3.953 kB / 446.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.359e-05/0.1968, allocations: 27.92 kB / 446.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.1973, allocations: 281 kB / 446.4 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.1975, allocations: 54.69 kB / 446.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.082e-05/0.1975, allocations: 20.84 kB / 446.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.1976, allocations: 3.938 kB / 446.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.1978, allocations: 71.25 kB / 446.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1978, allocations: 8 kB / 446.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006197/0.1984, allocations: 165.3 kB / 446.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.1985, allocations: 55.41 kB / 446.8 MB, free: 8.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.1987, allocations: 186.1 kB / 447 MB, free: 8.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1988, allocations: 25.7 kB / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.1989, allocations: 100.1 kB / 447.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.1989, allocations: 27.69 kB / 447.1 MB, free: 8.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.1989, allocations: 0 / 447.1 MB, free: 8.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1991, allocations: 330.8 kB / 447.5 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.652e-05/0.1991, allocations: 19.98 kB / 447.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.268e-05/0.1992, allocations: 33.7 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.851e-05/0.1993, allocations: 24.08 kB / 447.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1993, allocations: 7.875 kB / 447.5 MB, free: 8.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000183/0.1995, allocations: 101.5 kB / 447.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.1995, allocations: 4 kB / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1996, allocations: 8.016 kB / 447.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.1996, allocations: 0 / 447.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.806e-05/0.1997, allocations: 19.94 kB / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1997, allocations: 0 / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.1998, allocations: 8 kB / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1998, allocations: 0 / 447.7 MB, free: 7.879 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.1999, allocations: 129.8 kB / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.1999, allocations: 11.86 kB / 447.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.304e-05/0.2, allocations: 16.7 kB / 447.8 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2, allocations: 4.188 kB / 447.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.2, allocations: 4 kB / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2, allocations: 3.938 kB / 447.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.2005, allocations: 395.2 kB / 448.2 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2005, allocations: 0 / 448.2 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.2005, allocations: 11.98 kB / 448.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2006, allocations: 0 / 448.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.2006, allocations: 7.984 kB / 448.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2006, allocations: 4.406 kB / 448.3 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2006, allocations: 0 / 448.3 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.2008, allocations: 200.2 kB / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.2009, allocations: 96.88 kB / 448.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.201, allocations: 7.984 kB / 448.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.564e-05/0.201, allocations: 4 kB / 448.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.2011, allocations: 8 kB / 448.6 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.2011, allocations: 7.984 kB / 448.6 MB, free: 6.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.2012, allocations: 144.1 kB / 448.7 MB, free: 6.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2012, allocations: 0 / 448.7 MB, free: 6.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.2015, allocations: 27.98 kB / 448.7 MB, free: 6.715 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/0.2027, allocations: 468.4 kB / 449.2 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.2029, allocations: 55.97 kB / 449.3 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.203, allocations: 0 / 449.3 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.2031, allocations: 27.92 kB / 449.3 MB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.2035, allocations: 32.28 kB / 449.3 MB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005746/0.204, allocations: 238.5 kB / 449.6 MB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.2044, allocations: 0.7082 MB / 450.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.607e-05/0.2045, allocations: 12.88 kB / 450.3 MB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.2045, allocations: 15.44 kB / 450.3 MB, free: 5.148 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2045, allocations: 3.938 kB / 450.3 MB, free: 5.145 MB / 382.1 MB Notification: Performance of Templates: time 0.004999/0.2095, allocations: 1.588 MB / 451.9 MB, free: 3.559 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches