Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 112.7 kB / 17.04 MB, free: 6.129 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.001046/0.001046, allocations: 196.1 kB / 17.98 MB, free: 5.227 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.788/1.788, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.245/0.245, allocations: 43.52 MB / 314.7 MB, free: 480 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.001553/0.001553, allocations: 81.45 kB / 442.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.146, allocations: 57.78 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003282/0.1494, allocations: 1.701 MB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1508, allocations: 0.7999 MB / 0.491 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.1509, allocations: 4 kB / 0.491 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.1513, allocations: 43.77 kB / 0.491 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.1515, allocations: 59.75 kB / 0.4911 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.1518, allocations: 83.78 kB / 0.4912 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.152, allocations: 99.67 kB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1521, allocations: 12.22 kB / 0.4913 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.364e-05/0.1522, allocations: 39.78 kB / 0.4913 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.061e-05/0.1523, allocations: 35.78 kB / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.1523, allocations: 4 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.723e-05/0.1524, allocations: 43.98 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.1525, allocations: 23.92 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.1525, allocations: 39.72 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.1527, allocations: 115.7 kB / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1528, allocations: 0 / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1528, allocations: 0 / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1528, allocations: 0 / 0.4916 GB, free: 8.648 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.0005951/0.1534, allocations: 414.8 kB / 0.492 GB, free: 8.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1534, allocations: 15.89 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.1535, allocations: 12.84 kB / 0.492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.1538, allocations: 216.7 kB / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1538, allocations: 384 / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.1538, allocations: 8.125 kB / 0.4922 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.154, allocations: 53.67 kB / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.154, allocations: 0 / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.154, allocations: 0 / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.154, allocations: 0 / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.026e-05/0.1541, allocations: 27.92 kB / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.1545, allocations: 292.9 kB / 0.4926 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1547, allocations: 50.67 kB / 0.4926 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.1549, allocations: 24.84 kB / 0.4926 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1549, allocations: 4 kB / 0.4926 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.1551, allocations: 67.33 kB / 0.4927 GB, free: 7.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1551, allocations: 0 / 0.4927 GB, free: 7.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000569/0.1556, allocations: 181.3 kB / 0.4929 GB, free: 7.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.1557, allocations: 55.41 kB / 0.4929 GB, free: 7.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.1559, allocations: 191.3 kB / 0.4931 GB, free: 6.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1559, allocations: 33.64 kB / 0.4931 GB, free: 6.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.156, allocations: 108 kB / 0.4933 GB, free: 6.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.156, allocations: 23.75 kB / 0.4933 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.1561, allocations: 21.72 kB / 0.4933 GB, free: 6.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1562, allocations: 334.7 kB / 0.4936 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.155e-05/0.1563, allocations: 20 kB / 0.4936 GB, free: 6.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.1563, allocations: 33.7 kB / 0.4937 GB, free: 6.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1565, allocations: 61.64 kB / 0.4937 GB, free: 6.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1565, allocations: 4 kB / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001777/0.1567, allocations: 101.5 kB / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1567, allocations: 8 kB / 0.4938 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1567, allocations: 0 / 0.4938 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1567, allocations: 0 / 0.4938 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1568, allocations: 19.92 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1568, allocations: 4 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.1569, allocations: 3.938 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1569, allocations: 4 kB / 0.4939 GB, free: 6.066 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.0001105/0.157, allocations: 133.8 kB / 0.494 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.1571, allocations: 11.91 kB / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.1571, allocations: 17.39 kB / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1571, allocations: 0 / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1571, allocations: 4 kB / 0.494 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.1571, allocations: 3.938 kB / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.1576, allocations: 391.2 kB / 0.4944 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1576, allocations: 8.031 kB / 0.4944 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.1576, allocations: 7.938 kB / 0.4944 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1576, allocations: 7.984 kB / 0.4944 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1577, allocations: 3.938 kB / 0.4944 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1577, allocations: 0 / 0.4944 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1577, allocations: 4 kB / 0.4944 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.1579, allocations: 200.5 kB / 0.4946 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.158, allocations: 88.92 kB / 0.4947 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.158, allocations: 7.938 kB / 0.4947 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.1581, allocations: 11.97 kB / 0.4947 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.1581, allocations: 4 kB / 0.4947 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1581, allocations: 4 kB / 0.4947 GB, free: 5.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1583, allocations: 157 kB / 0.4949 GB, free: 4.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1583, allocations: 3.938 kB / 0.4949 GB, free: 4.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1585, allocations: 31.92 kB / 0.4949 GB, free: 4.875 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.001088/0.1596, allocations: 459.9 kB / 0.4954 GB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.1598, allocations: 51.98 kB / 0.4954 GB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1598, allocations: 3.938 kB / 0.4954 GB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.513e-05/0.1599, allocations: 32.05 kB / 0.4954 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.1603, allocations: 39.34 kB / 0.4955 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/0.1608, allocations: 260.8 kB / 0.4957 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.1611, allocations: 0.7079 MB / 0.4964 GB, free: 3.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.1612, allocations: 15.5 kB / 0.4964 GB, free: 3.301 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1612, allocations: 4 kB / 0.4964 GB, free: 3.297 MB / 382.1 MB Notification: Performance of Templates: time 0.003852/0.165, allocations: 1.899 MB / 0.4983 GB, free: 1.398 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches