Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 104.2 kB / 17.2 MB, free: 6.266 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.001014/0.001014, allocations: 194 kB / 18.12 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 241.8 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2525/0.2525, allocations: 44.17 MB / 336.1 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 62.19 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1896, allocations: 60.84 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.004411/0.1941, allocations: 1.749 MB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.196, allocations: 0.8731 MB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.1961, allocations: 0 / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004197/0.1966, allocations: 47.86 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.1968, allocations: 51.83 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.1971, allocations: 91.77 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1973, allocations: 95.69 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1974, allocations: 16.2 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.1976, allocations: 39.8 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.981e-05/0.1977, allocations: 35.84 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1978, allocations: 4 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.1979, allocations: 43.92 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.1979, allocations: 15.92 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.835e-05/0.198, allocations: 43.66 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1982, allocations: 119.9 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1982, allocations: 0 / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1983, allocations: 0 / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.1983, allocations: 0 / 471.8 MB, free: 11.6 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.0007217/0.199, allocations: 422.9 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.199, allocations: 16.03 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.1991, allocations: 12.75 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1993, allocations: 212.5 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1994, allocations: 384 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.1994, allocations: 12.12 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.1996, allocations: 49.67 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1996, allocations: 0 / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.1996, allocations: 4 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.1996, allocations: 0 / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.617e-05/0.1997, allocations: 23.98 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.2002, allocations: 308.6 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.2004, allocations: 54.69 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.2005, allocations: 20.84 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.2005, allocations: 0 / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.2008, allocations: 75.33 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.2008, allocations: 0 / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006089/0.2014, allocations: 165.3 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.499e-05/0.2015, allocations: 55.34 kB / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.2018, allocations: 226.7 kB / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.2018, allocations: 33.64 kB / 473.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.973e-05/0.2019, allocations: 112 kB / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.202, allocations: 23.66 kB / 473.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.202, allocations: 25.7 kB / 473.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.2022, allocations: 330.8 kB / 473.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-05/0.2023, allocations: 16 kB / 473.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.922e-05/0.2023, allocations: 33.7 kB / 473.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.2025, allocations: 69.64 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.2025, allocations: 0 / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.2027, allocations: 97.56 kB / 474.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.2027, allocations: 14.75 kB / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2027, allocations: 0 / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2027, allocations: 384 / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.2028, allocations: 19.94 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2029, allocations: 4 kB / 474.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.997e-05/0.2029, allocations: 11.92 kB / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.2029, allocations: 8.031 kB / 474.2 MB, free: 8.953 MB / 350.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.000133/0.2031, allocations: 129.8 kB / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.2031, allocations: 11.81 kB / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/0.2032, allocations: 17.41 kB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2032, allocations: 0 / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2032, allocations: 0 / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2032, allocations: 3.938 kB / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.2037, allocations: 403.3 kB / 474.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2037, allocations: 0 / 474.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.2037, allocations: 8 kB / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2038, allocations: 0 / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2038, allocations: 7.938 kB / 474.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2038, allocations: 0 / 474.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2038, allocations: 3.938 kB / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.2041, allocations: 212.2 kB / 474.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.2041, allocations: 85.02 kB / 475 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.2042, allocations: 7.938 kB / 475 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.2042, allocations: 4 kB / 475 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.2043, allocations: 7.984 kB / 475 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.2043, allocations: 4 kB / 475 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.2045, allocations: 168.5 kB / 475.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.2045, allocations: 0 / 475.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.2048, allocations: 27.92 kB / 475.2 MB, free: 7.77 MB / 350.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.001198/0.206, allocations: 478.4 kB / 475.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.2062, allocations: 55.97 kB / 475.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2062, allocations: 4.062 kB / 475.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.308e-05/0.2063, allocations: 27.94 kB / 475.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.2067, allocations: 23.97 kB / 475.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.2073, allocations: 292.8 kB / 476.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.2077, allocations: 0.7199 MB / 476.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.548e-05/0.2078, allocations: 12.89 kB / 476.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.2078, allocations: 19.42 kB / 476.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2078, allocations: 4 kB / 476.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of Templates: time 0.005348/0.2132, allocations: 1.637 MB / 478.5 MB, free: 4.645 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches