Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001396, allocations: 115.7 kB / 17.08 MB, free: 5.969 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.001099/0.001099, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.444/1.444, allocations: 205.1 MB / 223.9 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.2009/0.2009, allocations: 43.52 MB / 314.8 MB, free: 460 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.001434/0.001434, allocations: 77.39 kB / 442.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1266, allocations: 57.79 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003399/0.13, allocations: 1.841 MB / 0.4904 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.1317, allocations: 0.9052 MB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1319, allocations: 4 kB / 0.4913 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005314/0.1324, allocations: 251.4 kB / 0.4915 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.1328, allocations: 191.4 kB / 0.4917 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.1333, allocations: 139.7 kB / 0.4918 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.1337, allocations: 247.3 kB / 0.4921 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1338, allocations: 29.52 kB / 0.4921 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.134, allocations: 127.5 kB / 0.4922 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.1342, allocations: 175.5 kB / 0.4924 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.1343, allocations: 8 kB / 0.4924 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1344, allocations: 43.98 kB / 0.4925 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.43e-05/0.1345, allocations: 67.69 kB / 0.4925 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.801e-05/0.1346, allocations: 79.36 kB / 0.4926 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.1349, allocations: 227.2 kB / 0.4928 GB, free: 7.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1349, allocations: 0 / 0.4928 GB, free: 7.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1349, allocations: 4 kB / 0.4928 GB, free: 7.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1349, allocations: 0 / 0.4928 GB, free: 7.387 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.0008231/0.1358, allocations: 0.5635 MB / 0.4934 GB, free: 6.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1358, allocations: 15.89 kB / 0.4934 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.1359, allocations: 28.56 kB / 0.4934 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.1362, allocations: 284 kB / 0.4937 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.1363, allocations: 384 / 0.4937 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.1363, allocations: 8.125 kB / 0.4937 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.1365, allocations: 107.2 kB / 0.4938 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1366, allocations: 0 / 0.4938 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1366, allocations: 4 kB / 0.4938 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1366, allocations: 4 kB / 0.4938 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.1367, allocations: 35.97 kB / 0.4938 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.1372, allocations: 468.8 kB / 0.4943 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.1375, allocations: 109.3 kB / 0.4944 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.913e-05/0.1376, allocations: 41.7 kB / 0.4944 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1376, allocations: 4 kB / 0.4944 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.1378, allocations: 117 kB / 0.4945 GB, free: 5.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.1378, allocations: 0 / 0.4945 GB, free: 5.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008465/0.1387, allocations: 379.8 kB / 0.4949 GB, free: 5.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.1388, allocations: 89.05 kB / 0.495 GB, free: 4.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.1392, allocations: 477.7 kB / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1392, allocations: 33.7 kB / 0.4955 GB, free: 4.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1393, allocations: 160.3 kB / 0.4956 GB, free: 4.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.1394, allocations: 47.38 kB / 0.4957 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.1395, allocations: 37.72 kB / 0.4957 GB, free: 4.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1396, allocations: 346.7 kB / 0.496 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.586e-05/0.1397, allocations: 43.92 kB / 0.4961 GB, free: 3.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1398, allocations: 71.41 kB / 0.4961 GB, free: 3.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.14, allocations: 123.3 kB / 0.4963 GB, free: 3.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.14, allocations: 0 / 0.4963 GB, free: 3.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003274/0.1404, allocations: 185.1 kB / 0.4964 GB, free: 3.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1404, allocations: 8 kB / 0.4964 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1404, allocations: 0 / 0.4964 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1404, allocations: 4 kB / 0.4964 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.1406, allocations: 35.91 kB / 0.4965 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1406, allocations: 3.938 kB / 0.4965 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.118e-05/0.1407, allocations: 8 kB / 0.4965 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.1407, allocations: 8 kB / 0.4965 GB, free: 3.32 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.0001613/0.1409, allocations: 169.8 kB / 0.4967 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.1409, allocations: 31.62 kB / 0.4967 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.141, allocations: 42.73 kB / 0.4967 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.141, allocations: 7.984 kB / 0.4967 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.141, allocations: 3.938 kB / 0.4967 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.141, allocations: 0 / 0.4967 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007226/0.1418, allocations: 0.6285 MB / 0.4974 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1418, allocations: 0 / 0.4974 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.1418, allocations: 28.61 kB / 0.4974 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1419, allocations: 4 kB / 0.4974 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1419, allocations: 0 / 0.4974 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1419, allocations: 4 kB / 0.4974 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1419, allocations: 80 / 0.4974 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.1423, allocations: 380 kB / 0.4978 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.907e-05/0.1424, allocations: 104.7 kB / 0.4979 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.1425, allocations: 7.984 kB / 0.4979 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.1426, allocations: 8 kB / 0.4979 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.1427, allocations: 11.98 kB / 0.4979 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.1427, allocations: 11.98 kB / 0.4979 GB, free: 1.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003305/0.143, allocations: 359.1 kB / 0.4982 GB, free: 1.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.143, allocations: 0 / 0.4982 GB, free: 1.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003385/0.1434, allocations: 39.98 kB / 0.4983 GB, free: 1.391 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.001021/0.1444, allocations: 478.1 kB / 0.4987 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.1447, allocations: 115.9 kB / 0.4988 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1447, allocations: 0 / 0.4988 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1448, allocations: 67.89 kB / 0.4989 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.1454, allocations: 53.2 kB / 0.499 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007973/0.1462, allocations: 0.567 MB / 0.4995 GB, free: 132 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.1465, allocations: 0.771 MB / 0.5003 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/0.1466, allocations: 23.42 kB / 0.5003 GB, free: 15.31 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1466, allocations: 0 / 0.5003 GB, free: 15.31 MB / 398.1 MB Notification: Performance of Templates: time 0.005639/0.1522, allocations: 3.401 MB / 0.5036 GB, free: 11.91 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches