Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, 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.001937/0.001937, allocations: 204.8 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.661/1.661, 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.5027/0.5027, allocations: 43.5 MB / 313.5 MB, free: 8.309 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.001792/0.001792, allocations: 67.91 kB / 382 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1853, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003868/0.1892, allocations: 1.76 MB / 441.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1906, allocations: 0.7885 MB / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.1907, allocations: 0 / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.1911, allocations: 35.89 kB / 442.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.1913, allocations: 47.83 kB / 442.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.1915, allocations: 79.84 kB / 442.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.1917, allocations: 91.69 kB / 442.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1918, allocations: 12.22 kB / 442.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.7e-05/0.1919, allocations: 39.73 kB / 442.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.499e-05/0.192, allocations: 31.83 kB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.192, allocations: 4 kB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1921, allocations: 35.98 kB / 442.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.1922, allocations: 19.92 kB / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.1923, allocations: 35.75 kB / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.1925, allocations: 119.8 kB / 442.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1925, allocations: 0 / 442.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1925, allocations: 0 / 442.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.1925, allocations: 0 / 442.9 MB, free: 11.5 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.0005936/0.1931, allocations: 411 kB / 443.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1932, allocations: 8.031 kB / 443.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.1932, allocations: 12.84 kB / 443.3 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.1935, allocations: 208 kB / 443.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1936, allocations: 12.31 kB / 443.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.1936, allocations: 4.125 kB / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1938, allocations: 57.61 kB / 443.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1938, allocations: 0 / 443.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.1938, allocations: 3.984 kB / 443.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1938, allocations: 7.938 kB / 443.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.189e-05/0.1939, allocations: 19.98 kB / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.1943, allocations: 284.9 kB / 443.9 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.1945, allocations: 58.61 kB / 444 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.228e-05/0.1945, allocations: 24.86 kB / 444 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1946, allocations: 0 / 444 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.1948, allocations: 67.3 kB / 444.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1948, allocations: 4 kB / 444.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005888/0.1954, allocations: 173.3 kB / 444.2 MB, free: 10 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.1955, allocations: 55.41 kB / 444.3 MB, free: 9.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1957, allocations: 186.1 kB / 444.5 MB, free: 9.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1957, allocations: 25.7 kB / 444.5 MB, free: 9.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.1958, allocations: 108.1 kB / 444.6 MB, free: 9.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.1958, allocations: 19.72 kB / 444.6 MB, free: 9.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.1958, allocations: 21.7 kB / 444.6 MB, free: 9.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.196, allocations: 334.8 kB / 445 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.037e-05/0.1961, allocations: 16 kB / 445 MB, free: 9.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.1961, allocations: 37.64 kB / 445 MB, free: 9.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1963, allocations: 61.7 kB / 445.1 MB, free: 9.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1963, allocations: 0 / 445.1 MB, free: 9.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001759/0.1964, allocations: 97.64 kB / 445.2 MB, free: 8.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1965, allocations: 4 kB / 445.2 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1965, allocations: 4.078 kB / 445.2 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.1965, allocations: 3.984 kB / 445.2 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.998e-05/0.1966, allocations: 16 kB / 445.2 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1966, allocations: 3.984 kB / 445.2 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/0.1967, allocations: 7.938 kB / 445.2 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1967, allocations: 4 kB / 445.2 MB, free: 8.949 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.0001036/0.1968, allocations: 133.7 kB / 445.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.1968, allocations: 11.91 kB / 445.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.1969, allocations: 16.7 kB / 445.4 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1969, allocations: 4.188 kB / 445.4 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1969, allocations: 0 / 445.4 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1969, allocations: 7.875 kB / 445.4 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.1973, allocations: 395.2 kB / 445.8 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1974, allocations: 0 / 445.8 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.1974, allocations: 11.94 kB / 445.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/0.1974, allocations: 4.031 kB / 445.8 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.1974, allocations: 7.922 kB / 445.8 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1974, allocations: 4.375 kB / 445.8 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1974, allocations: 0 / 445.8 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.1977, allocations: 204.2 kB / 446 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.1978, allocations: 85.02 kB / 446.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.1978, allocations: 7.938 kB / 446.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.1979, allocations: 4 kB / 446.1 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.1979, allocations: 7.984 kB / 446.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.1979, allocations: 8 kB / 446.1 MB, free: 7.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.198, allocations: 144 kB / 446.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.198, allocations: 0 / 446.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1983, allocations: 24 kB / 446.3 MB, free: 7.789 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.001041/0.1994, allocations: 465.8 kB / 446.7 MB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1996, allocations: 67.84 kB / 446.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1996, allocations: 0 / 446.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.237e-05/0.1997, allocations: 23.98 kB / 446.8 MB, free: 7.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.2, allocations: 32.11 kB / 446.9 MB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.2005, allocations: 241.1 kB / 447.1 MB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.2007, allocations: 0.7082 MB / 447.8 MB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.328e-05/0.2008, allocations: 21.17 kB / 447.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.2008, allocations: 19.42 kB / 447.8 MB, free: 6.203 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2008, allocations: 4 kB / 447.8 MB, free: 6.199 MB / 382.1 MB Notification: Performance of Templates: time 0.00437/0.2052, allocations: 1.63 MB / 449.5 MB, free: 4.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches