Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 110.6 kB / 16.41 MB, free: 6.504 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.001023/0.001023, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.427/1.427, 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.2272/0.2272, allocations: 43.52 MB / 314.1 MB, free: 456 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: 77.45 kB / 441.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1219, allocations: 57.78 MB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003156/0.1251, allocations: 1.848 MB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1265, allocations: 0.8936 MB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.717e-05/0.1266, allocations: 3.938 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.127, allocations: 231.4 kB / 0.4909 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.1274, allocations: 163.4 kB / 0.491 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.1278, allocations: 147.6 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.128, allocations: 231.3 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.968e-05/0.1281, allocations: 25.52 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.1283, allocations: 115.6 kB / 0.4915 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.1285, allocations: 151.5 kB / 0.4916 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.1285, allocations: 4 kB / 0.4917 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1286, allocations: 47.98 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.25e-05/0.1287, allocations: 51.77 kB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.606e-05/0.1288, allocations: 87.36 kB / 0.4918 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.1291, allocations: 203.3 kB / 0.492 GB, free: 7.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1291, allocations: 4 kB / 0.492 GB, free: 7.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1291, allocations: 0 / 0.492 GB, free: 7.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1291, allocations: 0 / 0.492 GB, free: 7.516 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007035/0.1298, allocations: 0.5486 MB / 0.4926 GB, free: 6.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1299, allocations: 11.89 kB / 0.4926 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.1299, allocations: 24.66 kB / 0.4926 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.1303, allocations: 280 kB / 0.4929 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1303, allocations: 8.375 kB / 0.4929 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.1304, allocations: 8.125 kB / 0.4929 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.1306, allocations: 95.3 kB / 0.493 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1306, allocations: 0 / 0.493 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.1306, allocations: 4 kB / 0.493 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1306, allocations: 0 / 0.493 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.1307, allocations: 39.97 kB / 0.493 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.1313, allocations: 452.9 kB / 0.4934 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.1316, allocations: 121.3 kB / 0.4936 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.877e-05/0.1317, allocations: 45.69 kB / 0.4936 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.1317, allocations: 4 kB / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.1319, allocations: 109 kB / 0.4937 GB, free: 5.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.1319, allocations: 4 kB / 0.4937 GB, free: 5.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008423/0.1328, allocations: 367.8 kB / 0.4941 GB, free: 5.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.1328, allocations: 89.03 kB / 0.4942 GB, free: 5.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.1332, allocations: 420.5 kB / 0.4946 GB, free: 4.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1333, allocations: 37.69 kB / 0.4946 GB, free: 4.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.485e-05/0.1334, allocations: 152.2 kB / 0.4947 GB, free: 4.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.774e-05/0.1334, allocations: 51.34 kB / 0.4948 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.1335, allocations: 33.72 kB / 0.4948 GB, free: 4.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1336, allocations: 350.8 kB / 0.4952 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-05/0.1337, allocations: 35.98 kB / 0.4952 GB, free: 4.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.1338, allocations: 78.78 kB / 0.4953 GB, free: 3.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.1341, allocations: 115.4 kB / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1341, allocations: 3.938 kB / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003048/0.1344, allocations: 181.3 kB / 0.4955 GB, free: 3.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1344, allocations: 4 kB / 0.4956 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1344, allocations: 0 / 0.4956 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1344, allocations: 4 kB / 0.4956 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.1346, allocations: 31.92 kB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1346, allocations: 7.938 kB / 0.4956 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.368e-05/0.1347, allocations: 16.05 kB / 0.4956 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1347, allocations: 4 kB / 0.4956 GB, free: 3.559 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001313/0.1348, allocations: 165.8 kB / 0.4958 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.1349, allocations: 31.61 kB / 0.4958 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.99e-05/0.135, allocations: 38.62 kB / 0.4958 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.135, allocations: 0 / 0.4958 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.135, allocations: 4.688 kB / 0.4958 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.135, allocations: 4 kB / 0.4958 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007784/0.1358, allocations: 0.6284 MB / 0.4965 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1358, allocations: 0 / 0.4965 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.1359, allocations: 31.86 kB / 0.4965 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1359, allocations: 4 kB / 0.4965 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1359, allocations: 4 kB / 0.4965 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1359, allocations: 0 / 0.4965 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1359, allocations: 4 kB / 0.4965 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.1364, allocations: 375.8 kB / 0.4969 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/0.1365, allocations: 92.83 kB / 0.4969 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.1365, allocations: 11.98 kB / 0.497 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.1366, allocations: 4 kB / 0.497 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.1367, allocations: 19.98 kB / 0.497 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.1367, allocations: 11.98 kB / 0.497 GB, free: 2.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002716/0.137, allocations: 315 kB / 0.4973 GB, free: 1.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.137, allocations: 0 / 0.4973 GB, free: 1.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.1373, allocations: 40 kB / 0.4973 GB, free: 1.684 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001026/0.1384, allocations: 471 kB / 0.4978 GB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002905/0.1387, allocations: 123.8 kB / 0.4979 GB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1387, allocations: 0 / 0.4979 GB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1388, allocations: 52.17 kB / 0.4979 GB, free: 1.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.1393, allocations: 72.78 kB / 0.498 GB, free: 1.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007265/0.14, allocations: 0.4942 MB / 0.4985 GB, free: 500 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.1404, allocations: 0.7632 MB / 0.4992 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.704e-05/0.1405, allocations: 26.56 kB / 0.4993 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.1405, allocations: 27.42 kB / 0.4993 GB, free: 15.65 MB / 398.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1405, allocations: 0 / 0.4993 GB, free: 15.65 MB / 398.1 MB Notification: Performance of Templates: time 0.005648/0.1462, allocations: 2.741 MB / 0.502 GB, free: 12.91 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches