Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 105.2 kB / 16.41 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.001615/0.001615, allocations: 192.2 kB / 17.34 MB, free: 5.746 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.581/1.581, 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.2264/0.2264, allocations: 43.52 MB / 314.1 MB, free: 448 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.001583/0.001583, allocations: 73.45 kB / 441.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1384, allocations: 57.79 MB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003669/0.1421, allocations: 1.786 MB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.1437, allocations: 0.8701 MB / 0.4905 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.1439, allocations: 4 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005697/0.1445, allocations: 311.3 kB / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004448/0.1449, allocations: 219.3 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.1454, allocations: 139.7 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004197/0.1459, allocations: 243.4 kB / 0.4914 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.596e-05/0.1459, allocations: 9.547 kB / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.1462, allocations: 139.5 kB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.1465, allocations: 187.5 kB / 0.4917 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.1465, allocations: 8 kB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1467, allocations: 43.98 kB / 0.4918 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.1468, allocations: 139.6 kB / 0.4919 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.147, allocations: 154.8 kB / 0.4921 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.1475, allocations: 370.7 kB / 0.4924 GB, free: 7.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1475, allocations: 0 / 0.4924 GB, free: 7.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1475, allocations: 0 / 0.4924 GB, free: 7.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.1475, allocations: 0 / 0.4924 GB, free: 7.109 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.001022/0.1485, allocations: 0.7301 MB / 0.4931 GB, free: 6.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1486, allocations: 11.89 kB / 0.4931 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.1487, allocations: 48.31 kB / 0.4932 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006952/0.1494, allocations: 455.8 kB / 0.4936 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1494, allocations: 8.375 kB / 0.4936 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.1495, allocations: 4.125 kB / 0.4936 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.1497, allocations: 83.38 kB / 0.4937 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1497, allocations: 0 / 0.4937 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.1497, allocations: 7.984 kB / 0.4937 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1498, allocations: 0 / 0.4937 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.1499, allocations: 27.92 kB / 0.4937 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.1504, allocations: 374.4 kB / 0.4941 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.1506, allocations: 109.2 kB / 0.4942 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1508, allocations: 49.62 kB / 0.4943 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1508, allocations: 0 / 0.4943 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.151, allocations: 105.1 kB / 0.4944 GB, free: 4.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1511, allocations: 3.938 kB / 0.4944 GB, free: 4.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000553/0.1516, allocations: 197 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.1517, allocations: 85.03 kB / 0.4946 GB, free: 4.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.1528, allocations: 1.034 MB / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.1528, allocations: 29.69 kB / 0.4957 GB, free: 3.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.153, allocations: 228.1 kB / 0.4959 GB, free: 3.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/0.1531, allocations: 31.69 kB / 0.4959 GB, free: 3.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.1532, allocations: 29.7 kB / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1533, allocations: 366.8 kB / 0.4963 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-05/0.1534, allocations: 31.98 kB / 0.4963 GB, free: 2.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.46e-05/0.1536, allocations: 59.86 kB / 0.4964 GB, free: 2.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.1537, allocations: 95.34 kB / 0.4965 GB, free: 2.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1537, allocations: 4 kB / 0.4965 GB, free: 2.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003256/0.1541, allocations: 168.9 kB / 0.4966 GB, free: 2.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1541, allocations: 8 kB / 0.4966 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1541, allocations: 0 / 0.4966 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1541, allocations: 0 / 0.4966 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1543, allocations: 27.92 kB / 0.4967 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1543, allocations: 3.938 kB / 0.4967 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.1544, allocations: 11.92 kB / 0.4967 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.1544, allocations: 12.06 kB / 0.4967 GB, free: 2.434 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.0002254/0.1547, allocations: 225.6 kB / 0.4969 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/0.1547, allocations: 51.34 kB / 0.497 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.601e-05/0.1548, allocations: 56 kB / 0.497 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1548, allocations: 4 kB / 0.497 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1549, allocations: 0 / 0.497 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1549, allocations: 3.938 kB / 0.497 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.1552, allocations: 341.4 kB / 0.4973 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1552, allocations: 0 / 0.4973 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.781e-05/0.1552, allocations: 11.98 kB / 0.4974 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1553, allocations: 4 kB / 0.4974 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1553, allocations: 4.125 kB / 0.4974 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1553, allocations: 8 kB / 0.4974 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1553, allocations: 0 / 0.4974 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.1556, allocations: 205.2 kB / 0.4976 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.1558, allocations: 136.4 kB / 0.4977 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.1558, allocations: 12 kB / 0.4977 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-05/0.1559, allocations: 0 / 0.4977 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.156, allocations: 7.984 kB / 0.4977 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.156, allocations: 8 kB / 0.4977 GB, free: 1.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000792/0.1568, allocations: 0.7721 MB / 0.4985 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1568, allocations: 0 / 0.4985 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.1571, allocations: 40 kB / 0.4985 GB, free: 480 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.001078/0.1582, allocations: 431.2 kB / 0.4989 GB, free: 84 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.1585, allocations: 79.91 kB / 0.499 GB, free: 4 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1585, allocations: 0 / 0.499 GB, free: 4 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.1586, allocations: 32.06 kB / 0.499 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.0004885/0.1591, allocations: 78 kB / 0.4991 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.1605, allocations: 0.8627 MB / 0.5 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.161, allocations: 0.8466 MB / 0.5008 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.1612, allocations: 54.94 kB / 0.5008 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.1612, allocations: 35.42 kB / 0.5009 GB, free: 14.04 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1612, allocations: 4 kB / 0.5009 GB, free: 14.04 MB / 398.1 MB Notification: Performance of Templates: time 0.008725/0.17, allocations: 3.739 MB / 0.5045 GB, free: 10.31 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches