Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 108.1 kB / 16.41 MB, free: 6.496 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.001849/0.001849, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.742/1.742, allocations: 205.1 MB / 223.2 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.2174/0.2174, allocations: 43.53 MB / 314.1 MB, free: 460 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.001298/0.001298, allocations: 63.91 kB / 441.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1303, allocations: 57.79 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003813/0.1342, allocations: 1.782 MB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1357, allocations: 0.8779 MB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.242e-05/0.1357, allocations: 3.938 kB / 0.4905 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000557/0.1363, allocations: 295.4 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.1367, allocations: 215.3 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.1372, allocations: 143.7 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.1374, allocations: 235.4 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.1375, allocations: 17.53 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.1376, allocations: 131.5 kB / 0.4915 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.1379, allocations: 188 kB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.1379, allocations: 4 kB / 0.4917 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.138, allocations: 43.98 kB / 0.4918 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.1382, allocations: 128.5 kB / 0.4919 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.1383, allocations: 146.8 kB / 0.492 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.1387, allocations: 366.2 kB / 0.4924 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1387, allocations: 0 / 0.4924 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1387, allocations: 0 / 0.4924 GB, free: 7.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1387, allocations: 0 / 0.4924 GB, free: 7.164 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.0009492/0.1397, allocations: 0.7345 MB / 0.4931 GB, free: 6.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1397, allocations: 11.89 kB / 0.4931 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.908e-05/0.1398, allocations: 52.61 kB / 0.4932 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005238/0.1404, allocations: 452.3 kB / 0.4936 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1404, allocations: 4.375 kB / 0.4936 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.1404, allocations: 4.125 kB / 0.4936 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.1406, allocations: 95.3 kB / 0.4937 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.1406, allocations: 0 / 0.4937 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1407, allocations: 0 / 0.4937 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1407, allocations: 0 / 0.4937 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1408, allocations: 27.98 kB / 0.4937 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.1413, allocations: 374.4 kB / 0.4941 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.1416, allocations: 101.2 kB / 0.4942 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.1417, allocations: 49.62 kB / 0.4942 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1417, allocations: 0 / 0.4942 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.1419, allocations: 109 kB / 0.4943 GB, free: 4.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1419, allocations: 0 / 0.4943 GB, free: 4.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004886/0.1424, allocations: 197.2 kB / 0.4945 GB, free: 4.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.1425, allocations: 85.09 kB / 0.4946 GB, free: 4.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.1436, allocations: 1.007 MB / 0.4956 GB, free: 3.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1436, allocations: 33.7 kB / 0.4956 GB, free: 3.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.1438, allocations: 228.1 kB / 0.4958 GB, free: 3.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.144, allocations: 31.73 kB / 0.4958 GB, free: 3.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.144, allocations: 25.72 kB / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.1442, allocations: 370.8 kB / 0.4962 GB, free: 2.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.1443, allocations: 31.98 kB / 0.4963 GB, free: 2.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1444, allocations: 55.42 kB / 0.4963 GB, free: 2.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.1446, allocations: 91.84 kB / 0.4964 GB, free: 2.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1446, allocations: 0 / 0.4964 GB, free: 2.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003425/0.145, allocations: 177.2 kB / 0.4966 GB, free: 2.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.145, allocations: 4 kB / 0.4966 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.145, allocations: 3.984 kB / 0.4966 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.145, allocations: 7.938 kB / 0.4966 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1452, allocations: 19.98 kB / 0.4966 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.1452, allocations: 7.984 kB / 0.4966 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.301e-05/0.1453, allocations: 15.94 kB / 0.4966 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1453, allocations: 4 kB / 0.4966 GB, free: 2.516 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.0002201/0.1455, allocations: 225.7 kB / 0.4968 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.1456, allocations: 51.67 kB / 0.4969 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.733e-05/0.1457, allocations: 59.84 kB / 0.4969 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1457, allocations: 0 / 0.4969 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1457, allocations: 0 / 0.4969 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1457, allocations: 7.984 kB / 0.497 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.146, allocations: 333.3 kB / 0.4973 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.146, allocations: 0 / 0.4973 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.1461, allocations: 8 kB / 0.4973 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1461, allocations: 0 / 0.4973 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.1461, allocations: 11.98 kB / 0.4973 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1461, allocations: 4 kB / 0.4973 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1461, allocations: 128 / 0.4973 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.1464, allocations: 205.5 kB / 0.4975 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.1466, allocations: 136.8 kB / 0.4976 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.1466, allocations: 4 kB / 0.4976 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.1467, allocations: 11.98 kB / 0.4976 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.1468, allocations: 4 kB / 0.4976 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.1468, allocations: 8.078 kB / 0.4976 GB, free: 1.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008477/0.1477, allocations: 0.7565 MB / 0.4984 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1477, allocations: 3.938 kB / 0.4984 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003957/0.1481, allocations: 40 kB / 0.4984 GB, free: 0.5703 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: 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.00101/0.1491, allocations: 417.4 kB / 0.4988 GB, free: 204 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.1494, allocations: 91.89 kB / 0.4989 GB, free: 112 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1494, allocations: 0 / 0.4989 GB, free: 112 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.1495, allocations: 39.92 kB / 0.499 GB, free: 72 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.1499, allocations: 74.05 kB / 0.499 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.1512, allocations: 0.8501 MB / 0.4999 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.1517, allocations: 0.8349 MB / 0.5007 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.1519, allocations: 58.92 kB / 0.5007 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/0.1519, allocations: 35.42 kB / 0.5008 GB, free: 14.17 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1519, allocations: 0 / 0.5008 GB, free: 14.17 MB / 398.1 MB Notification: Performance of Templates: time 0.008399/0.1604, allocations: 3.696 MB / 0.5044 GB, free: 10.48 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches