Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 102.3 kB / 16.4 MB, free: 6.508 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.001174/0.001174, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.526/1.526, 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.2305/0.2305, allocations: 43.53 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.001406/0.001406, allocations: 73.45 kB / 441.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1283, allocations: 57.79 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003607/0.132, allocations: 1.848 MB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.1337, allocations: 0.8975 MB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.1338, allocations: 0 / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.1343, allocations: 159.5 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000445/0.1348, allocations: 139.5 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.1353, allocations: 151.7 kB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003451/0.1357, allocations: 219.4 kB / 0.4913 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.1358, allocations: 25.52 kB / 0.4913 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.136, allocations: 103.6 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.1363, allocations: 123.6 kB / 0.4915 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.1363, allocations: 8 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.1365, allocations: 51.92 kB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.422e-05/0.1366, allocations: 43.83 kB / 0.4916 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.1367, allocations: 71.42 kB / 0.4917 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003593/0.1371, allocations: 187.4 kB / 0.4919 GB, free: 7.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.1371, allocations: 4 kB / 0.4919 GB, free: 7.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1371, allocations: 3.938 kB / 0.4919 GB, free: 7.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1371, allocations: 0 / 0.4919 GB, free: 7.691 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.0008077/0.1379, allocations: 0.5132 MB / 0.4924 GB, free: 7.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.138, allocations: 15.89 kB / 0.4924 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.754e-05/0.138, allocations: 24.66 kB / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.1385, allocations: 271.6 kB / 0.4927 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1385, allocations: 384 / 0.4927 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.1385, allocations: 16.06 kB / 0.4927 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.1388, allocations: 103.3 kB / 0.4928 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1388, allocations: 0 / 0.4928 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1389, allocations: 0 / 0.4928 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.1389, allocations: 8 kB / 0.4928 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.139, allocations: 35.97 kB / 0.4928 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.1395, allocations: 440.9 kB / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.1398, allocations: 113.3 kB / 0.4934 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.962e-05/0.1399, allocations: 41.7 kB / 0.4934 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.14, allocations: 3.984 kB / 0.4934 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.1402, allocations: 117 kB / 0.4935 GB, free: 5.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.1402, allocations: 0 / 0.4935 GB, free: 5.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009105/0.1411, allocations: 360 kB / 0.4938 GB, free: 5.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.1412, allocations: 85.03 kB / 0.4939 GB, free: 5.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.1416, allocations: 354.9 kB / 0.4943 GB, free: 4.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.1416, allocations: 29.7 kB / 0.4943 GB, free: 4.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/0.1417, allocations: 144.4 kB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.1417, allocations: 55.3 kB / 0.4945 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.1418, allocations: 33.7 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.142, allocations: 338.8 kB / 0.4948 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.1421, allocations: 35.98 kB / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.1422, allocations: 75.39 kB / 0.4949 GB, free: 4.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.1425, allocations: 119.3 kB / 0.4951 GB, free: 4.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1425, allocations: 0 / 0.4951 GB, free: 4.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003049/0.1428, allocations: 177.3 kB / 0.4952 GB, free: 3.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1428, allocations: 8 kB / 0.4952 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1428, allocations: 0 / 0.4952 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.1428, allocations: 0 / 0.4952 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.143, allocations: 43.98 kB / 0.4953 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.143, allocations: 7.875 kB / 0.4953 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.715e-05/0.1431, allocations: 7.984 kB / 0.4953 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.1431, allocations: 12 kB / 0.4953 GB, free: 3.875 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.0001482/0.1433, allocations: 153.7 kB / 0.4955 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.1433, allocations: 23.7 kB / 0.4955 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.764e-05/0.1434, allocations: 37.72 kB / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1434, allocations: 0 / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.1434, allocations: 7.938 kB / 0.4955 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1434, allocations: 0 / 0.4955 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007148/0.1441, allocations: 0.6128 MB / 0.4961 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1442, allocations: 0 / 0.4961 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.1442, allocations: 24.73 kB / 0.4961 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1442, allocations: 0 / 0.4961 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1443, allocations: 4 kB / 0.4961 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.1443, allocations: 8.062 kB / 0.4962 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1443, allocations: 0 / 0.4962 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.1447, allocations: 368 kB / 0.4965 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.1448, allocations: 92.83 kB / 0.4966 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.1448, allocations: 11.98 kB / 0.4966 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.1449, allocations: 8 kB / 0.4966 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.145, allocations: 15.98 kB / 0.4966 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.1451, allocations: 4 kB / 0.4966 GB, free: 2.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002685/0.1453, allocations: 265.9 kB / 0.4969 GB, free: 2.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1453, allocations: 0 / 0.4969 GB, free: 2.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003386/0.1457, allocations: 39.98 kB / 0.4969 GB, free: 2.109 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.001096/0.1468, allocations: 475.2 kB / 0.4974 GB, free: 1.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.1471, allocations: 115.9 kB / 0.4975 GB, free: 1.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1472, allocations: 0 / 0.4975 GB, free: 1.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.1473, allocations: 64.03 kB / 0.4975 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.1478, allocations: 64.59 kB / 0.4976 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008256/0.1487, allocations: 446 kB / 0.498 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.1491, allocations: 0.7516 MB / 0.4988 GB, free: 196 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.855e-05/0.1492, allocations: 30.56 kB / 0.4988 GB, free: 168 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.1493, allocations: 23.42 kB / 0.4988 GB, free: 144 kB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1493, allocations: 4 kB / 0.4988 GB, free: 140 kB / 382.1 MB Notification: Performance of Templates: time 0.006789/0.1561, allocations: 2.698 MB / 0.5015 GB, free: 13.45 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches