Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001876/0.001875, allocations: 101.4 kB / 15.98 MB, free: 6.352 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.002206/0.002206, allocations: 190.6 kB / 16.9 MB, free: 6.184 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.539/1.539, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.4023/0.4023, allocations: 43.49 MB / 313.6 MB, free: 8.324 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.001472/0.001472, allocations: 67.91 kB / 382.2 MB, free: 8.375 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1846, allocations: 57.78 MB / 440 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.004474/0.1892, allocations: 1.753 MB / 441.8 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.1907, allocations: 0.7924 MB / 442.6 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.326e-05/0.1908, allocations: 0 / 442.6 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.1913, allocations: 79.77 kB / 442.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.1916, allocations: 67.8 kB / 442.7 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.192, allocations: 83.78 kB / 442.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000339/0.1923, allocations: 103.7 kB / 442.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.1925, allocations: 16.22 kB / 442.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1926, allocations: 51.78 kB / 442.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1927, allocations: 55.81 kB / 443 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.1927, allocations: 4 kB / 443 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1929, allocations: 51.91 kB / 443.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.193, allocations: 19.92 kB / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.826e-05/0.193, allocations: 31.75 kB / 443.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.1933, allocations: 119.8 kB / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/0.1933, allocations: 0 / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1933, allocations: 0 / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1933, allocations: 0 / 443.2 MB, free: 11.25 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.0009154/0.1943, allocations: 422.9 kB / 443.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.024e-05/0.1943, allocations: 11.89 kB / 443.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/0.1944, allocations: 12.75 kB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.1948, allocations: 220.8 kB / 443.9 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.1948, allocations: 4.375 kB / 443.9 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.1949, allocations: 4.125 kB / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.1951, allocations: 57.66 kB / 443.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.1951, allocations: 0 / 443.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.1952, allocations: 7.938 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1952, allocations: 4 kB / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.733e-05/0.1953, allocations: 15.98 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.1959, allocations: 304.7 kB / 444.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.1961, allocations: 50.69 kB / 444.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.82e-05/0.1962, allocations: 24.84 kB / 444.3 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.1962, allocations: 4 kB / 444.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/0.1965, allocations: 67.33 kB / 444.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1965, allocations: 0 / 444.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006274/0.1972, allocations: 173.2 kB / 444.6 MB, free: 9.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.1972, allocations: 55.34 kB / 444.6 MB, free: 9.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.1974, allocations: 210.4 kB / 444.8 MB, free: 9.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1975, allocations: 29.7 kB / 444.9 MB, free: 9.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.1976, allocations: 104.1 kB / 445 MB, free: 9.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.1976, allocations: 31.62 kB / 445 MB, free: 9.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.1977, allocations: 21.72 kB / 445 MB, free: 9.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1978, allocations: 334.7 kB / 445.3 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.1979, allocations: 19.98 kB / 445.4 MB, free: 8.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.198, allocations: 33.7 kB / 445.4 MB, free: 8.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.1981, allocations: 65.64 kB / 445.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1981, allocations: 0 / 445.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001737/0.1983, allocations: 97.5 kB / 445.6 MB, free: 8.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1983, allocations: 4 kB / 445.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1983, allocations: 0 / 445.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.1984, allocations: 4 kB / 445.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1985, allocations: 23.92 kB / 445.6 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1985, allocations: 4.188 kB / 445.6 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.1985, allocations: 7.938 kB / 445.6 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.1986, allocations: 0 / 445.6 MB, free: 8.633 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.000119/0.1987, allocations: 129.8 kB / 445.7 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.1987, allocations: 11.91 kB / 445.7 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.1988, allocations: 21.38 kB / 445.8 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1988, allocations: 0 / 445.8 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.1988, allocations: 4 kB / 445.8 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1988, allocations: 3.938 kB / 445.8 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.1993, allocations: 399.2 kB / 446.2 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1993, allocations: 3.938 kB / 446.2 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.1993, allocations: 8.375 kB / 446.2 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1994, allocations: 0 / 446.2 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.1994, allocations: 7.922 kB / 446.2 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.1994, allocations: 8 kB / 446.2 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1994, allocations: 3.938 kB / 446.2 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.1996, allocations: 204.3 kB / 446.4 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.777e-05/0.1998, allocations: 88.92 kB / 446.5 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.1998, allocations: 3.938 kB / 446.5 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.1999, allocations: 8 kB / 446.5 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.1999, allocations: 7.984 kB / 446.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1999, allocations: 0 / 446.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.2001, allocations: 160.2 kB / 446.7 MB, free: 7.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2001, allocations: 4 kB / 446.7 MB, free: 7.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.2004, allocations: 23.98 kB / 446.7 MB, free: 7.449 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.00124/0.2016, allocations: 490.6 kB / 447.2 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.2018, allocations: 59.95 kB / 447.2 MB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.2019, allocations: 0 / 447.2 MB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.628e-05/0.2019, allocations: 31.94 kB / 447.3 MB, free: 6.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.2023, allocations: 31.83 kB / 447.3 MB, free: 6.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.2029, allocations: 259.1 kB / 447.5 MB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.2034, allocations: 0.708 MB / 448.2 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.156e-05/0.2034, allocations: 25.11 kB / 448.3 MB, free: 5.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.2035, allocations: 15.44 kB / 448.3 MB, free: 5.824 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2035, allocations: 0 / 448.3 MB, free: 5.824 MB / 382.1 MB Notification: Performance of Templates: time 0.005581/0.2091, allocations: 1.668 MB / 449.9 MB, free: 4.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches