Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 105.1 kB / 16.41 MB, free: 6.422 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.001389/0.001389, allocations: 192.1 kB / 17.34 MB, free: 5.734 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.445/1.445, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2299/0.2299, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 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.001319/0.001319, allocations: 69.45 kB / 441.9 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1453, allocations: 57.79 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003864/0.1492, allocations: 1.689 MB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.1511, allocations: 0.804 MB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.808e-05/0.1512, allocations: 3.938 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.1516, allocations: 39.83 kB / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.1518, allocations: 55.64 kB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.1522, allocations: 91.75 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.1524, allocations: 91.7 kB / 0.4907 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1525, allocations: 16.22 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1526, allocations: 47.77 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.13e-05/0.1527, allocations: 27.86 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1527, allocations: 4 kB / 0.4908 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1529, allocations: 43.97 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.153, allocations: 27.86 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.116e-05/0.153, allocations: 31.75 kB / 0.4909 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1533, allocations: 103.8 kB / 0.491 GB, free: 8.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1533, allocations: 4 kB / 0.491 GB, free: 8.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1533, allocations: 0 / 0.491 GB, free: 8.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1533, allocations: 0 / 0.491 GB, free: 8.641 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.0006063/0.1539, allocations: 411 kB / 0.4913 GB, free: 8.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.154, allocations: 11.89 kB / 0.4914 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.369e-05/0.154, allocations: 12.75 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.1545, allocations: 219.9 kB / 0.4916 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1545, allocations: 384 / 0.4916 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.1545, allocations: 8.125 kB / 0.4916 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.1547, allocations: 61.66 kB / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1548, allocations: 0 / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1548, allocations: 0 / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1548, allocations: 0 / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1549, allocations: 19.98 kB / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.1555, allocations: 280.9 kB / 0.4919 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.1558, allocations: 62.62 kB / 0.492 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.4e-05/0.1558, allocations: 20.84 kB / 0.492 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.1559, allocations: 0 / 0.492 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.1561, allocations: 67.39 kB / 0.4921 GB, free: 7.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.1561, allocations: 0 / 0.4921 GB, free: 7.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007874/0.1569, allocations: 173.1 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.157, allocations: 55.41 kB / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.1572, allocations: 170.2 kB / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.1573, allocations: 29.7 kB / 0.4925 GB, free: 6.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.1574, allocations: 100.1 kB / 0.4926 GB, free: 6.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.1574, allocations: 27.69 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.1575, allocations: 29.66 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1577, allocations: 322.8 kB / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/0.1577, allocations: 23.98 kB / 0.493 GB, free: 6.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.352e-05/0.1578, allocations: 42.02 kB / 0.493 GB, free: 6.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.158, allocations: 57.78 kB / 0.4931 GB, free: 6.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-06/0.158, allocations: 0 / 0.4931 GB, free: 6.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002563/0.1583, allocations: 105.5 kB / 0.4932 GB, free: 6.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1583, allocations: 8 kB / 0.4932 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1583, allocations: 0 / 0.4932 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1584, allocations: 4.031 kB / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1585, allocations: 15.98 kB / 0.4932 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1585, allocations: 7.938 kB / 0.4932 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.457e-05/0.1586, allocations: 3.938 kB / 0.4932 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.1586, allocations: 4 kB / 0.4932 GB, free: 6.098 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.0001273/0.1587, allocations: 125.8 kB / 0.4933 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.1588, allocations: 15.8 kB / 0.4933 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.1588, allocations: 12.72 kB / 0.4934 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1589, allocations: 8 kB / 0.4934 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1589, allocations: 0 / 0.4934 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.1589, allocations: 3.938 kB / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005588/0.1594, allocations: 383.3 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1595, allocations: 0 / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/0.1595, allocations: 15.98 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1595, allocations: 0 / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1596, allocations: 7.938 kB / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1596, allocations: 0 / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1596, allocations: 4.031 kB / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.1599, allocations: 200.2 kB / 0.4939 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.1599, allocations: 85.02 kB / 0.494 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.16, allocations: 3.938 kB / 0.494 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.1601, allocations: 7.984 kB / 0.494 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.1601, allocations: 7.938 kB / 0.494 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.1602, allocations: 12 kB / 0.4941 GB, free: 5.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.1603, allocations: 128 kB / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1603, allocations: 0 / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004716/0.1608, allocations: 24 kB / 0.4942 GB, free: 4.965 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.001559/0.1624, allocations: 463.3 kB / 0.4946 GB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.1626, allocations: 67.88 kB / 0.4947 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1627, allocations: 0 / 0.4947 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.1628, allocations: 31.92 kB / 0.4947 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.1633, allocations: 36.02 kB / 0.4948 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.1639, allocations: 214.9 kB / 0.495 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.1643, allocations: 0.7041 MB / 0.4957 GB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.96e-05/0.1644, allocations: 16.88 kB / 0.4957 GB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.1644, allocations: 15.44 kB / 0.4957 GB, free: 3.418 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1644, allocations: 3.938 kB / 0.4957 GB, free: 3.414 MB / 382.1 MB Notification: Performance of Templates: time 0.005086/0.1695, allocations: 1.692 MB / 0.4974 GB, free: 1.727 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches