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.001439/0.001439, allocations: 104.4 kB / 16.4 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.001482/0.001482, 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.432/1.432, 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.2229/0.2229, 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.001303/0.001303, allocations: 73.45 kB / 441.9 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1337, allocations: 57.78 MB / 499.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003068/0.1369, allocations: 1.789 MB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1383, allocations: 0.8777 MB / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.1384, allocations: 0 / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.1389, allocations: 311.3 kB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003508/0.1393, allocations: 215.3 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.1396, allocations: 147.7 kB / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.1399, allocations: 243.4 kB / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.14, allocations: 17.48 kB / 0.4914 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.1401, allocations: 127.5 kB / 0.4916 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.1403, allocations: 191.5 kB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1404, allocations: 4 kB / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.529e-05/0.1405, allocations: 47.98 kB / 0.4918 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.1406, allocations: 143.6 kB / 0.4919 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.1407, allocations: 146.8 kB / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.1411, allocations: 366.7 kB / 0.4924 GB, free: 7.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1411, allocations: 0 / 0.4924 GB, free: 7.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1411, allocations: 4 kB / 0.4924 GB, free: 7.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1412, allocations: 0 / 0.4924 GB, free: 7.105 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.0008741/0.142, allocations: 0.7229 MB / 0.4931 GB, free: 6.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1421, allocations: 11.89 kB / 0.4931 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.448e-05/0.1422, allocations: 52.31 kB / 0.4932 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005612/0.1427, allocations: 451.8 kB / 0.4936 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1428, allocations: 8.375 kB / 0.4936 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.1428, allocations: 8.125 kB / 0.4936 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.143, allocations: 87.36 kB / 0.4937 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.143, allocations: 0 / 0.4937 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.143, allocations: 0 / 0.4937 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.143, allocations: 0 / 0.4937 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1431, allocations: 39.91 kB / 0.4938 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.1436, allocations: 374.4 kB / 0.4941 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.1438, allocations: 109.2 kB / 0.4942 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.149e-05/0.1439, allocations: 45.64 kB / 0.4943 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.1439, allocations: 0 / 0.4943 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.1442, allocations: 105.1 kB / 0.4944 GB, free: 4.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1442, allocations: 0 / 0.4944 GB, free: 4.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004637/0.1446, allocations: 209.1 kB / 0.4946 GB, free: 4.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.1447, allocations: 77.11 kB / 0.4946 GB, free: 4.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.1457, allocations: 1.042 MB / 0.4956 GB, free: 3.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.1458, allocations: 29.7 kB / 0.4957 GB, free: 3.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.1459, allocations: 228.1 kB / 0.4959 GB, free: 3.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.146, allocations: 27.7 kB / 0.4959 GB, free: 3.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.146, allocations: 25.7 kB / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1462, allocations: 374.8 kB / 0.4963 GB, free: 2.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.1463, allocations: 31.92 kB / 0.4963 GB, free: 2.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.843e-05/0.1464, allocations: 55.42 kB / 0.4964 GB, free: 2.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.1466, allocations: 91.34 kB / 0.4965 GB, free: 2.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1466, allocations: 0 / 0.4965 GB, free: 2.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002772/0.1469, allocations: 172.9 kB / 0.4966 GB, free: 2.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1469, allocations: 4 kB / 0.4966 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1469, allocations: 0 / 0.4966 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.147, allocations: 4 kB / 0.4966 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1471, allocations: 23.92 kB / 0.4967 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1471, allocations: 3.938 kB / 0.4967 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.64e-05/0.1472, allocations: 15.92 kB / 0.4967 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1472, allocations: 12.06 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.0002134/0.1474, allocations: 222.1 kB / 0.4969 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.1475, allocations: 51.34 kB / 0.497 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.075e-05/0.1476, allocations: 64 kB / 0.497 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1476, allocations: 0 / 0.497 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1476, allocations: 0 / 0.497 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1476, allocations: 8 kB / 0.497 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.1479, allocations: 341.4 kB / 0.4974 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1479, allocations: 0 / 0.4974 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.148, allocations: 15.94 kB / 0.4974 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.148, allocations: 0 / 0.4974 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.148, allocations: 4 kB / 0.4974 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.148, allocations: 0 / 0.4974 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.148, allocations: 0 / 0.4974 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.1483, allocations: 205.2 kB / 0.4976 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.1485, allocations: 136.4 kB / 0.4977 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.1485, allocations: 12 kB / 0.4977 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.1486, allocations: 7.984 kB / 0.4977 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.1486, allocations: 4 kB / 0.4977 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.1487, allocations: 11.98 kB / 0.4977 GB, free: 1.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007442/0.1494, allocations: 0.7682 MB / 0.4985 GB, free: 0.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1494, allocations: 0 / 0.4985 GB, free: 0.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1497, allocations: 40 kB / 0.4985 GB, free: 472 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.0009555/0.1506, allocations: 426.2 kB / 0.4989 GB, free: 80 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.1509, allocations: 83.89 kB / 0.499 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1509, allocations: 0 / 0.499 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.151, allocations: 39.94 kB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.1514, allocations: 70.06 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.001126/0.1526, allocations: 0.8666 MB / 0.5 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.153, allocations: 0.8466 MB / 0.5008 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.1531, allocations: 54.95 kB / 0.5008 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.1532, allocations: 27.42 kB / 0.5009 GB, free: 14.04 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1532, allocations: 4 kB / 0.5009 GB, free: 14.04 MB / 398.1 MB Notification: Performance of Templates: time 0.008455/0.1617, allocations: 3.75 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