Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 117.5 kB / 17.08 MB, free: 6.016 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.001408/0.001408, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.555/1.555, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2178/0.2178, allocations: 43.52 MB / 314.8 MB, free: 464 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.002096/0.002096, allocations: 75.89 kB / 442.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1303, allocations: 57.78 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003573/0.1339, allocations: 1.697 MB / 0.4903 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1354, allocations: 0.7962 MB / 0.491 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1356, allocations: 3.938 kB / 0.491 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.1359, allocations: 47.81 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.1362, allocations: 67.69 kB / 0.4912 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.1365, allocations: 87.7 kB / 0.4912 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.1368, allocations: 99.69 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1369, allocations: 8.219 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.137, allocations: 43.78 kB / 0.4914 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.509e-05/0.1371, allocations: 31.84 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.1371, allocations: 4 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1372, allocations: 43.98 kB / 0.4915 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.1373, allocations: 27.86 kB / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.108e-05/0.1374, allocations: 47.67 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1376, allocations: 111.7 kB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.1376, allocations: 3.984 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1376, allocations: 0 / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1376, allocations: 0 / 0.4916 GB, free: 8.617 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.0005919/0.1382, allocations: 430.7 kB / 0.4921 GB, free: 8.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.1383, allocations: 11.89 kB / 0.4921 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.1384, allocations: 12.84 kB / 0.4921 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.1387, allocations: 223.9 kB / 0.4923 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1388, allocations: 384 / 0.4923 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.1388, allocations: 8.125 kB / 0.4923 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.139, allocations: 57.66 kB / 0.4924 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.139, allocations: 0 / 0.4924 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.139, allocations: 0 / 0.4924 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.139, allocations: 0 / 0.4924 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.984e-05/0.1391, allocations: 19.98 kB / 0.4924 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.1395, allocations: 296.8 kB / 0.4927 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1397, allocations: 54.67 kB / 0.4927 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.1398, allocations: 16.86 kB / 0.4927 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1398, allocations: 3.984 kB / 0.4927 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.14, allocations: 75.39 kB / 0.4928 GB, free: 7.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.14, allocations: 0 / 0.4928 GB, free: 7.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005451/0.1405, allocations: 177.1 kB / 0.493 GB, free: 7.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.1406, allocations: 55.39 kB / 0.493 GB, free: 7.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.1408, allocations: 222.7 kB / 0.4932 GB, free: 6.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1408, allocations: 29.64 kB / 0.4933 GB, free: 6.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.1409, allocations: 112.1 kB / 0.4934 GB, free: 6.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.1409, allocations: 19.7 kB / 0.4934 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.141, allocations: 29.72 kB / 0.4934 GB, free: 6.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1411, allocations: 326.8 kB / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.816e-05/0.1412, allocations: 23.98 kB / 0.4937 GB, free: 6.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/0.1412, allocations: 37.64 kB / 0.4938 GB, free: 6.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1414, allocations: 65.69 kB / 0.4938 GB, free: 6.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1414, allocations: 4 kB / 0.4939 GB, free: 6.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001791/0.1416, allocations: 101.4 kB / 0.4939 GB, free: 6.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1416, allocations: 8 kB / 0.494 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1416, allocations: 0 / 0.494 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1416, allocations: 0 / 0.494 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.1417, allocations: 19.92 kB / 0.494 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1417, allocations: 4 kB / 0.494 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.1418, allocations: 3.938 kB / 0.494 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1418, allocations: 8 kB / 0.494 GB, free: 5.969 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.0001032/0.1419, allocations: 133.8 kB / 0.4941 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.1419, allocations: 7.906 kB / 0.4941 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.021e-05/0.142, allocations: 25.39 kB / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.142, allocations: 0 / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.142, allocations: 0 / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.142, allocations: 3.938 kB / 0.4942 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.1424, allocations: 399.2 kB / 0.4945 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1424, allocations: 0 / 0.4945 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.1425, allocations: 16.02 kB / 0.4945 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1425, allocations: 0 / 0.4945 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1425, allocations: 3.938 kB / 0.4946 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1425, allocations: 4 kB / 0.4946 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1425, allocations: 384 / 0.4946 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1428, allocations: 200.2 kB / 0.4947 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.1428, allocations: 88.92 kB / 0.4948 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1429, allocations: 11.92 kB / 0.4948 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.1429, allocations: 8 kB / 0.4949 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.143, allocations: 8 kB / 0.4949 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.143, allocations: 0 / 0.4949 GB, free: 4.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.1432, allocations: 171.2 kB / 0.495 GB, free: 4.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1432, allocations: 0 / 0.495 GB, free: 4.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1434, allocations: 20 kB / 0.495 GB, free: 4.777 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.00103/0.1445, allocations: 479 kB / 0.4955 GB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.1447, allocations: 59.92 kB / 0.4956 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1447, allocations: 0 / 0.4956 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.335e-05/0.1447, allocations: 36.03 kB / 0.4956 GB, free: 4.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.1451, allocations: 39.03 kB / 0.4956 GB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.1456, allocations: 284.6 kB / 0.4959 GB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.1459, allocations: 0.708 MB / 0.4966 GB, free: 3.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.146, allocations: 19.42 kB / 0.4966 GB, free: 3.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.146, allocations: 0 / 0.4966 GB, free: 3.16 MB / 382.1 MB Notification: Performance of Templates: time 0.003962/0.1499, allocations: 1.986 MB / 0.4985 GB, free: 1.18 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches