Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test54,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.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_3.2.3_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.001173/0.001181, allocations: 107.9 kB / 16.41 MB, free: 6.488 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.001268/0.001268, allocations: 189.5 kB / 17.34 MB, free: 5.73 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.494/1.494, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2185/0.2185, allocations: 43.51 MB / 314.1 MB, free: 452 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.001334/0.001334, allocations: 69.47 kB / 441.9 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1218, allocations: 57.79 MB / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002738/0.1245, allocations: 1.692 MB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1257, allocations: 0.8078 MB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.1258, allocations: 0 / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.1261, allocations: 51.75 kB / 0.4904 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.1263, allocations: 55.77 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.1265, allocations: 91.69 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.1267, allocations: 95.64 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.817e-05/0.1267, allocations: 16.2 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.7e-05/0.1268, allocations: 43.78 kB / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.1269, allocations: 27.86 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1269, allocations: 4 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.011e-05/0.127, allocations: 39.98 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.1271, allocations: 31.91 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.1271, allocations: 51.66 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1273, allocations: 111.7 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1273, allocations: 3.938 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1273, allocations: 0 / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1273, allocations: 0 / 0.491 GB, free: 8.57 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.0005108/0.1279, allocations: 434.2 kB / 0.4914 GB, free: 8.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1279, allocations: 11.89 kB / 0.4914 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1279, allocations: 12.84 kB / 0.4914 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1282, allocations: 220 kB / 0.4916 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1282, allocations: 384 / 0.4916 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.1282, allocations: 8.125 kB / 0.4916 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.1284, allocations: 53.67 kB / 0.4917 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1284, allocations: 3.938 kB / 0.4917 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1284, allocations: 0 / 0.4917 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.1284, allocations: 0 / 0.4917 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.111e-05/0.1285, allocations: 19.98 kB / 0.4917 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.1288, allocations: 292.9 kB / 0.492 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.129, allocations: 54.69 kB / 0.4921 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.129, allocations: 24.78 kB / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.129, allocations: 0 / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.1292, allocations: 71.39 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1292, allocations: 0 / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004889/0.1297, allocations: 185.3 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1297, allocations: 51.41 kB / 0.4924 GB, free: 6.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.1299, allocations: 226.7 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1299, allocations: 25.7 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.13, allocations: 108.1 kB / 0.4927 GB, free: 6.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.13, allocations: 23.7 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.1301, allocations: 33.7 kB / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.1302, allocations: 326.8 kB / 0.4931 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/0.1303, allocations: 20 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.1303, allocations: 37.64 kB / 0.4931 GB, free: 6.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.1304, allocations: 65.58 kB / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1304, allocations: 4 kB / 0.4932 GB, free: 6.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001701/0.1306, allocations: 105.4 kB / 0.4933 GB, free: 5.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1306, allocations: 8 kB / 0.4933 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1306, allocations: 0 / 0.4933 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1307, allocations: 0 / 0.4933 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.651e-05/0.1307, allocations: 12 kB / 0.4933 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1308, allocations: 4 kB / 0.4933 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.1308, allocations: 7.922 kB / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.1308, allocations: 4 kB / 0.4933 GB, free: 5.93 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 9.088e-05/0.1309, allocations: 133.8 kB / 0.4935 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.131, allocations: 11.89 kB / 0.4935 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.131, allocations: 21.34 kB / 0.4935 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.131, allocations: 0 / 0.4935 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.131, allocations: 0 / 0.4935 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.131, allocations: 3.938 kB / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.1314, allocations: 407.2 kB / 0.4939 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1314, allocations: 0 / 0.4939 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.953e-05/0.1315, allocations: 12.03 kB / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1315, allocations: 0 / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1315, allocations: 3.938 kB / 0.4939 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1315, allocations: 4 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1315, allocations: 0 / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.1317, allocations: 200.3 kB / 0.4941 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.1318, allocations: 92.91 kB / 0.4942 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.1318, allocations: 7.938 kB / 0.4942 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.1319, allocations: 4 kB / 0.4942 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.1319, allocations: 15.92 kB / 0.4942 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1319, allocations: 0 / 0.4942 GB, free: 4.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.132, allocations: 167.2 kB / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1321, allocations: 0 / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.1323, allocations: 23.98 kB / 0.4944 GB, free: 4.73 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.0009367/0.1332, allocations: 476 kB / 0.4948 GB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.1334, allocations: 67.89 kB / 0.4949 GB, free: 4.238 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1334, allocations: 0 / 0.4949 GB, free: 4.238 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.245e-05/0.1335, allocations: 20.12 kB / 0.4949 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.1338, allocations: 39.58 kB / 0.495 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.1342, allocations: 258.9 kB / 0.4952 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.1345, allocations: 0.708 MB / 0.4959 GB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.542e-05/0.1346, allocations: 16.89 kB / 0.4959 GB, free: 3.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.1346, allocations: 19.42 kB / 0.4959 GB, free: 3.129 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1346, allocations: 0 / 0.4959 GB, free: 3.129 MB / 382.1 MB Notification: Performance of Templates: time 0.004076/0.1387, allocations: 1.726 MB / 0.4976 GB, free: 1.41 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches