Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.001539, allocations: 104.2 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.00134/0.00134, allocations: 192.2 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.481/1.481, 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.2125/0.2125, allocations: 43.52 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.001381/0.001381, allocations: 69.94 kB / 441.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1339, allocations: 57.79 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002902/0.1368, allocations: 1.693 MB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1381, allocations: 0.8039 MB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.1382, allocations: 0 / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.1386, allocations: 107.7 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.1388, allocations: 91.69 kB / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.1391, allocations: 79.78 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.1393, allocations: 123.6 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1394, allocations: 20.19 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1395, allocations: 59.75 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.1396, allocations: 63.75 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.1397, allocations: 12 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.296e-05/0.1398, allocations: 39.98 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.662e-05/0.1399, allocations: 35.86 kB / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.1399, allocations: 43.67 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.1401, allocations: 131.6 kB / 0.4912 GB, free: 8.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1402, allocations: 3.984 kB / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1402, allocations: 0 / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1402, allocations: 0 / 0.4912 GB, free: 8.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006039/0.1408, allocations: 446.1 kB / 0.4916 GB, free: 7.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1408, allocations: 11.89 kB / 0.4916 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.1409, allocations: 16.84 kB / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.1412, allocations: 227.8 kB / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1412, allocations: 384 / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1412, allocations: 8.125 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1414, allocations: 61.66 kB / 0.4919 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1414, allocations: 3.938 kB / 0.4919 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1414, allocations: 0 / 0.4919 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1414, allocations: 3.938 kB / 0.4919 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.376e-05/0.1415, allocations: 31.97 kB / 0.4919 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.142, allocations: 312.7 kB / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1422, allocations: 66.67 kB / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.302e-05/0.1422, allocations: 28.8 kB / 0.4923 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1423, allocations: 3.984 kB / 0.4923 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.1424, allocations: 75.45 kB / 0.4924 GB, free: 6.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.1424, allocations: 0 / 0.4924 GB, free: 6.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005753/0.143, allocations: 197.1 kB / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.1431, allocations: 55.41 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.1433, allocations: 242.5 kB / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1433, allocations: 33.7 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.1434, allocations: 108.1 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.1435, allocations: 39.55 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.1435, allocations: 17.72 kB / 0.4931 GB, free: 6.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1436, allocations: 334.8 kB / 0.4934 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.1437, allocations: 23.98 kB / 0.4934 GB, free: 5.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.1438, allocations: 41.73 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.1439, allocations: 73.64 kB / 0.4935 GB, free: 5.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1439, allocations: 4 kB / 0.4935 GB, free: 5.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001943/0.1441, allocations: 113.4 kB / 0.4936 GB, free: 5.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1442, allocations: 8 kB / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1442, allocations: 0 / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1442, allocations: 0 / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1443, allocations: 31.92 kB / 0.4937 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1443, allocations: 0 / 0.4937 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.1444, allocations: 3.938 kB / 0.4937 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1444, allocations: 7.938 kB / 0.4937 GB, free: 5.59 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 (11): * Single equations (assignments): 11 * 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.0001163/0.1445, allocations: 145.6 kB / 0.4938 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.1445, allocations: 11.91 kB / 0.4938 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.231e-05/0.1446, allocations: 25.39 kB / 0.4939 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1446, allocations: 0 / 0.4939 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1446, allocations: 0 / 0.4939 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1446, allocations: 3.938 kB / 0.4939 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.1451, allocations: 415.2 kB / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1451, allocations: 4.031 kB / 0.4943 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.1451, allocations: 23.91 kB / 0.4943 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1452, allocations: 0 / 0.4943 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1452, allocations: 7.938 kB / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1452, allocations: 4 kB / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1452, allocations: 0 / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.1454, allocations: 224.2 kB / 0.4945 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.1455, allocations: 85.02 kB / 0.4946 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.1455, allocations: 7.938 kB / 0.4946 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.1456, allocations: 4 kB / 0.4946 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.1456, allocations: 7.984 kB / 0.4946 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.1457, allocations: 4 kB / 0.4946 GB, free: 4.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.1458, allocations: 188.2 kB / 0.4948 GB, free: 4.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1458, allocations: 0 / 0.4948 GB, free: 4.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1461, allocations: 24 kB / 0.4948 GB, free: 4.324 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 (9): * Single equations (assignments): 7 * 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.1471, allocations: 467.8 kB / 0.4953 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1473, allocations: 67.91 kB / 0.4953 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1473, allocations: 64 / 0.4953 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.16e-05/0.1474, allocations: 39.92 kB / 0.4954 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.1478, allocations: 47.7 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.1484, allocations: 287.8 kB / 0.4957 GB, free: 3.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1487, allocations: 0.7121 MB / 0.4964 GB, free: 2.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.861e-05/0.1488, allocations: 16.7 kB / 0.4964 GB, free: 2.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.1488, allocations: 23.38 kB / 0.4964 GB, free: 2.668 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1488, allocations: 0 / 0.4964 GB, free: 2.668 MB / 382.1 MB Notification: Performance of Templates: time 0.004799/0.1536, allocations: 1.809 MB / 0.4982 GB, free: 0.8633 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches