Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 107.1 kB / 16.41 MB, free: 6.504 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.001797/0.001797, allocations: 189.5 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.519/1.519, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2224/0.2224, allocations: 43.53 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.001539/0.001539, allocations: 69.47 kB / 441.9 MB, free: 5.566 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1354, allocations: 57.78 MB / 499.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003842/0.1393, allocations: 1.786 MB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1411, allocations: 0.8816 MB / 0.4905 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.1413, allocations: 0 / 0.4905 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005971/0.1419, allocations: 311.3 kB / 0.4908 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004719/0.1424, allocations: 215.3 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.1429, allocations: 143.6 kB / 0.4912 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.1434, allocations: 235.4 kB / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.466e-05/0.1435, allocations: 25.5 kB / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.1438, allocations: 127.6 kB / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.1441, allocations: 195.5 kB / 0.4917 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.1441, allocations: 4 kB / 0.4917 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.1443, allocations: 47.98 kB / 0.4918 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.1445, allocations: 131.6 kB / 0.4919 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.1447, allocations: 150.7 kB / 0.4921 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.1453, allocations: 366.7 kB / 0.4924 GB, free: 7.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1453, allocations: 4 kB / 0.4924 GB, free: 7.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1453, allocations: 0 / 0.4924 GB, free: 7.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.1453, allocations: 0 / 0.4924 GB, free: 7.102 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.001193/0.1465, allocations: 0.7268 MB / 0.4931 GB, free: 6.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.1466, allocations: 11.89 kB / 0.4931 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.1467, allocations: 48.38 kB / 0.4932 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007605/0.1475, allocations: 455.7 kB / 0.4936 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1475, allocations: 4.375 kB / 0.4936 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.1476, allocations: 4.125 kB / 0.4936 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.1478, allocations: 87.36 kB / 0.4937 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1478, allocations: 4 kB / 0.4937 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1478, allocations: 0 / 0.4937 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1479, allocations: 0 / 0.4937 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.148, allocations: 35.91 kB / 0.4937 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.1485, allocations: 378.4 kB / 0.4941 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.1488, allocations: 109.2 kB / 0.4942 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.1489, allocations: 45.64 kB / 0.4943 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.1489, allocations: 0 / 0.4943 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.1491, allocations: 109 kB / 0.4944 GB, free: 4.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.1492, allocations: 0 / 0.4944 GB, free: 4.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005012/0.1497, allocations: 201.2 kB / 0.4946 GB, free: 4.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.1497, allocations: 89.05 kB / 0.4946 GB, free: 4.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.1509, allocations: 1.042 MB / 0.4957 GB, free: 3.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1509, allocations: 25.7 kB / 0.4957 GB, free: 3.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1511, allocations: 232.1 kB / 0.4959 GB, free: 3.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.1511, allocations: 23.72 kB / 0.4959 GB, free: 3.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.1512, allocations: 29.7 kB / 0.496 GB, free: 3.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1514, allocations: 370.8 kB / 0.4963 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.735e-05/0.1514, allocations: 27.98 kB / 0.4963 GB, free: 2.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.82e-05/0.1516, allocations: 59.41 kB / 0.4964 GB, free: 2.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.1517, allocations: 87.36 kB / 0.4965 GB, free: 2.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1517, allocations: 0 / 0.4965 GB, free: 2.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003337/0.1521, allocations: 172.9 kB / 0.4966 GB, free: 2.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1521, allocations: 8 kB / 0.4966 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.1521, allocations: 3.984 kB / 0.4966 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1521, allocations: 0 / 0.4966 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1523, allocations: 31.92 kB / 0.4967 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.1523, allocations: 0 / 0.4967 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1524, allocations: 11.88 kB / 0.4967 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1524, allocations: 4 kB / 0.4967 GB, free: 2.426 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.0002343/0.1527, allocations: 234.1 kB / 0.4969 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.1528, allocations: 51.34 kB / 0.497 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.641e-05/0.1529, allocations: 56 kB / 0.497 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1529, allocations: 7.938 kB / 0.497 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1529, allocations: 4 kB / 0.497 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1529, allocations: 0 / 0.497 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.1532, allocations: 345.4 kB / 0.4974 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1532, allocations: 0 / 0.4974 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.1533, allocations: 8 kB / 0.4974 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1533, allocations: 0 / 0.4974 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.1533, allocations: 11.98 kB / 0.4974 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1533, allocations: 0 / 0.4974 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1533, allocations: 0 / 0.4974 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.1536, allocations: 205.2 kB / 0.4976 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.1538, allocations: 136.4 kB / 0.4977 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.1538, allocations: 4 kB / 0.4977 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.1539, allocations: 11.98 kB / 0.4977 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.154, allocations: 11.98 kB / 0.4977 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.154, allocations: 4.094 kB / 0.4977 GB, free: 1.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007713/0.1548, allocations: 0.7682 MB / 0.4985 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1548, allocations: 0 / 0.4985 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1551, allocations: 47.98 kB / 0.4985 GB, free: 456 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.0009521/0.156, allocations: 416.4 kB / 0.4989 GB, free: 76 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.1563, allocations: 83.98 kB / 0.499 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1563, allocations: 0 / 0.499 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1565, allocations: 39.97 kB / 0.499 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.1569, allocations: 77.89 kB / 0.4991 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.1582, allocations: 0.8667 MB / 0.5 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.1587, allocations: 0.8466 MB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.1588, allocations: 54.94 kB / 0.5008 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.1589, allocations: 27.44 kB / 0.5009 GB, free: 14.02 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1589, allocations: 0 / 0.5009 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Templates: time 0.008468/0.1674, allocations: 3.746 MB / 0.5045 GB, free: 10.29 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches