Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 105.8 kB / 16.41 MB, free: 6.402 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.001278/0.001278, allocations: 187 kB / 17.34 MB, free: 5.699 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.477/1.477, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2253/0.2253, allocations: 43.53 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.001366/0.001366, allocations: 65.47 kB / 441.9 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1299, allocations: 57.79 MB / 499.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003035/0.1329, allocations: 1.786 MB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1343, allocations: 0.8779 MB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.074e-05/0.1344, allocations: 3.938 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005147/0.135, allocations: 311.3 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.1353, allocations: 211.4 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.1357, allocations: 139.7 kB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.136, allocations: 239.4 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.136, allocations: 25.45 kB / 0.4914 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1362, allocations: 135.5 kB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.1364, allocations: 191.5 kB / 0.4917 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.1364, allocations: 4 kB / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1366, allocations: 47.98 kB / 0.4918 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.1367, allocations: 135.5 kB / 0.4919 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.1368, allocations: 146.8 kB / 0.4921 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.1372, allocations: 362.7 kB / 0.4924 GB, free: 7.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1372, allocations: 0 / 0.4924 GB, free: 7.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1372, allocations: 0 / 0.4924 GB, free: 7.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1373, allocations: 0 / 0.4924 GB, free: 7.141 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009299/0.1382, allocations: 0.7384 MB / 0.4931 GB, free: 6.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1382, allocations: 11.89 kB / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.358e-05/0.1383, allocations: 52.31 kB / 0.4932 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/0.1389, allocations: 443.8 kB / 0.4936 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1389, allocations: 8.375 kB / 0.4936 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.1389, allocations: 4.125 kB / 0.4936 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1391, allocations: 99.28 kB / 0.4937 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1391, allocations: 0 / 0.4937 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1391, allocations: 0 / 0.4937 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1391, allocations: 0 / 0.4937 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1392, allocations: 31.97 kB / 0.4937 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.1396, allocations: 378.4 kB / 0.4941 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.1399, allocations: 109.2 kB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.644e-05/0.14, allocations: 45.64 kB / 0.4943 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.14, allocations: 0 / 0.4943 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.1402, allocations: 105 kB / 0.4944 GB, free: 4.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.1402, allocations: 0 / 0.4944 GB, free: 4.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004347/0.1406, allocations: 200.9 kB / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.1407, allocations: 81.11 kB / 0.4946 GB, free: 4.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009561/0.1417, allocations: 1.042 MB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1417, allocations: 25.7 kB / 0.4957 GB, free: 3.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.1419, allocations: 236.1 kB / 0.4959 GB, free: 3.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.1419, allocations: 23.7 kB / 0.4959 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.142, allocations: 29.7 kB / 0.4959 GB, free: 3.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1421, allocations: 366.8 kB / 0.4963 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.093e-05/0.1422, allocations: 35.92 kB / 0.4963 GB, free: 2.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.624e-05/0.1423, allocations: 59.91 kB / 0.4964 GB, free: 2.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.1425, allocations: 91.36 kB / 0.4965 GB, free: 2.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1425, allocations: 0 / 0.4965 GB, free: 2.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002888/0.1428, allocations: 176.8 kB / 0.4966 GB, free: 2.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1428, allocations: 8 kB / 0.4966 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1429, allocations: 0 / 0.4966 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1429, allocations: 4 kB / 0.4967 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.143, allocations: 23.98 kB / 0.4967 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.143, allocations: 3.938 kB / 0.4967 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.835e-05/0.1431, allocations: 11.94 kB / 0.4967 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1431, allocations: 4 kB / 0.4967 GB, free: 2.453 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000229/0.1434, allocations: 233.6 kB / 0.4969 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.324e-05/0.1434, allocations: 51.34 kB / 0.497 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.45e-05/0.1435, allocations: 60 kB / 0.497 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1435, allocations: 0 / 0.497 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1435, allocations: 0 / 0.497 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1436, allocations: 0 / 0.497 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.1439, allocations: 341.4 kB / 0.4973 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1439, allocations: 0 / 0.4973 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.1439, allocations: 8 kB / 0.4974 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1439, allocations: 0 / 0.4974 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1439, allocations: 12.11 kB / 0.4974 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.144, allocations: 4 kB / 0.4974 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.144, allocations: 0 / 0.4974 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.1443, allocations: 205.2 kB / 0.4976 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.1444, allocations: 136.4 kB / 0.4977 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.1445, allocations: 4 kB / 0.4977 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.858e-05/0.1446, allocations: 15.98 kB / 0.4977 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.1446, allocations: 11.92 kB / 0.4977 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.1446, allocations: 4 kB / 0.4977 GB, free: 1.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000723/0.1454, allocations: 0.7682 MB / 0.4985 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1454, allocations: 0 / 0.4985 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1456, allocations: 43.98 kB / 0.4985 GB, free: 492 kB / 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.000912/0.1466, allocations: 423.6 kB / 0.4989 GB, free: 100 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.1468, allocations: 83.91 kB / 0.499 GB, free: 16 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1468, allocations: 0 / 0.499 GB, free: 16 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.147, allocations: 43.91 kB / 0.4991 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1473, allocations: 66.08 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.1485, allocations: 0.8667 MB / 0.5 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.149, allocations: 0.8427 MB / 0.5008 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.1491, allocations: 58.94 kB / 0.5008 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.1492, allocations: 23.44 kB / 0.5009 GB, free: 14.06 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1492, allocations: 0 / 0.5009 GB, free: 14.06 MB / 398.1 MB Notification: Performance of Templates: time 0.00811/0.1573, allocations: 3.754 MB / 0.5045 GB, free: 10.32 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches