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.001084/0.001084, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001071/0.001071, 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.432/1.432, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2189/0.2189, allocations: 43.52 MB / 314.1 MB, free: 472 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.001327/0.001327, allocations: 71.91 kB / 441.9 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1444, allocations: 57.79 MB / 499.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003537/0.148, allocations: 1.778 MB / 0.4897 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1497, allocations: 0.8701 MB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.173e-05/0.1498, allocations: 7.938 kB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006444/0.1504, allocations: 315.3 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.1509, allocations: 211.3 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.1512, allocations: 139.7 kB / 0.4912 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.1516, allocations: 243.4 kB / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.235e-05/0.1517, allocations: 21.52 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.1519, allocations: 131.5 kB / 0.4916 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.1521, allocations: 187.5 kB / 0.4917 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.1522, allocations: 8 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1523, allocations: 51.97 kB / 0.4918 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.1525, allocations: 131.7 kB / 0.4919 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.1526, allocations: 150.7 kB / 0.4921 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004335/0.1531, allocations: 366.7 kB / 0.4924 GB, free: 7.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.1531, allocations: 0 / 0.4924 GB, free: 7.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1531, allocations: 0 / 0.4924 GB, free: 7.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1531, allocations: 0 / 0.4924 GB, free: 7.168 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.001093/0.1542, allocations: 0.7268 MB / 0.4931 GB, free: 6.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.1543, allocations: 11.89 kB / 0.4931 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.045e-05/0.1544, allocations: 48.38 kB / 0.4932 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006596/0.155, allocations: 455.7 kB / 0.4936 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1551, allocations: 4.375 kB / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1551, allocations: 8.125 kB / 0.4936 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.1553, allocations: 91.34 kB / 0.4937 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1554, allocations: 0 / 0.4937 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.1554, allocations: 4 kB / 0.4937 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1554, allocations: 0 / 0.4937 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.1555, allocations: 31.92 kB / 0.4937 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.156, allocations: 374.4 kB / 0.4941 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.1563, allocations: 113.2 kB / 0.4942 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.913e-05/0.1564, allocations: 45.64 kB / 0.4942 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.1564, allocations: 0 / 0.4942 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.1567, allocations: 105.1 kB / 0.4943 GB, free: 4.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.1567, allocations: 3.938 kB / 0.4944 GB, free: 4.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005129/0.1572, allocations: 205.2 kB / 0.4945 GB, free: 4.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.1573, allocations: 81.05 kB / 0.4946 GB, free: 4.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.1584, allocations: 1.034 MB / 0.4956 GB, free: 3.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.1584, allocations: 33.64 kB / 0.4957 GB, free: 3.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.1586, allocations: 232.1 kB / 0.4959 GB, free: 3.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.1587, allocations: 19.72 kB / 0.4959 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.1588, allocations: 33.7 kB / 0.4959 GB, free: 3.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.159, allocations: 370.8 kB / 0.4963 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.704e-05/0.1591, allocations: 27.98 kB / 0.4963 GB, free: 2.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.1592, allocations: 59.41 kB / 0.4964 GB, free: 2.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.1594, allocations: 91.36 kB / 0.4965 GB, free: 2.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1594, allocations: 0 / 0.4965 GB, free: 2.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003044/0.1597, allocations: 172.9 kB / 0.4966 GB, free: 2.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.1597, allocations: 8 kB / 0.4966 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1598, allocations: 0 / 0.4966 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1598, allocations: 0 / 0.4966 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.1599, allocations: 23.94 kB / 0.4967 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.1599, allocations: 3.984 kB / 0.4967 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.112e-05/0.16, allocations: 15.94 kB / 0.4967 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1601, allocations: 4 kB / 0.4967 GB, free: 2.492 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.0002436/0.1603, allocations: 230.1 kB / 0.4969 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/0.1604, allocations: 51.34 kB / 0.497 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.761e-05/0.1605, allocations: 56 kB / 0.497 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1605, allocations: 4 kB / 0.497 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.1605, allocations: 4 kB / 0.497 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1605, allocations: 3.938 kB / 0.497 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.1609, allocations: 345.4 kB / 0.4973 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1609, allocations: 4 kB / 0.4973 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.1609, allocations: 8 kB / 0.4974 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1609, allocations: 0 / 0.4974 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1609, allocations: 7.984 kB / 0.4974 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.161, allocations: 4 kB / 0.4974 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.161, allocations: 0 / 0.4974 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.1613, allocations: 201.2 kB / 0.4976 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.1614, allocations: 140.4 kB / 0.4977 GB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.1615, allocations: 8 kB / 0.4977 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.1616, allocations: 3.984 kB / 0.4977 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.1616, allocations: 4 kB / 0.4977 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.1616, allocations: 11.98 kB / 0.4977 GB, free: 1.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008011/0.1624, allocations: 0.7683 MB / 0.4985 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1625, allocations: 3.938 kB / 0.4985 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1627, allocations: 43.98 kB / 0.4985 GB, free: 0.5156 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.001073/0.1638, allocations: 429.8 kB / 0.4989 GB, free: 136 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.1641, allocations: 79.91 kB / 0.499 GB, free: 56 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1641, allocations: 0 / 0.499 GB, free: 56 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.1642, allocations: 35.97 kB / 0.499 GB, free: 20 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.1647, allocations: 78.08 kB / 0.4991 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.166, allocations: 0.8743 MB / 0.5 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.1665, allocations: 0.8427 MB / 0.5008 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.1666, allocations: 46.97 kB / 0.5008 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.1667, allocations: 39.42 kB / 0.5009 GB, free: 14.09 MB / 398.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1667, allocations: 0 / 0.5009 GB, free: 14.09 MB / 398.1 MB Notification: Performance of Templates: time 0.008278/0.1749, allocations: 3.739 MB / 0.5045 GB, free: 10.35 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