Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 113 kB / 16.41 MB, free: 6.434 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.001144/0.001144, allocations: 192 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.573/1.573, 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.224/0.224, allocations: 43.52 MB / 314.1 MB, free: 464 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.001507/0.001507, allocations: 69.45 kB / 441.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1299, allocations: 57.79 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003962/0.1339, allocations: 1.79 MB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.1357, allocations: 0.874 MB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.1358, allocations: 4 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005818/0.1364, allocations: 315.3 kB / 0.4908 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004509/0.1369, allocations: 215.3 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.1374, allocations: 139.7 kB / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004142/0.1378, allocations: 239.4 kB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.735e-05/0.1379, allocations: 21.53 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.1381, allocations: 131.5 kB / 0.4916 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.1384, allocations: 187.5 kB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.1384, allocations: 11.98 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.1386, allocations: 43.98 kB / 0.4918 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.1388, allocations: 135.6 kB / 0.4919 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.1389, allocations: 150.7 kB / 0.4921 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.1394, allocations: 366.7 kB / 0.4924 GB, free: 7.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1394, allocations: 0 / 0.4924 GB, free: 7.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1394, allocations: 0 / 0.4924 GB, free: 7.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.1394, allocations: 0 / 0.4924 GB, free: 7.145 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.001071/0.1405, allocations: 0.7307 MB / 0.4931 GB, free: 6.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1405, allocations: 11.89 kB / 0.4931 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1407, allocations: 44.38 kB / 0.4932 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006729/0.1413, allocations: 455.7 kB / 0.4936 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1414, allocations: 4.375 kB / 0.4936 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.1414, allocations: 12.12 kB / 0.4936 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.1416, allocations: 87.34 kB / 0.4937 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1416, allocations: 0 / 0.4937 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.1417, allocations: 8 kB / 0.4937 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1417, allocations: 0 / 0.4937 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.1418, allocations: 31.91 kB / 0.4937 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.1422, allocations: 374.4 kB / 0.4941 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.1425, allocations: 109.2 kB / 0.4942 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.427e-05/0.1426, allocations: 45.64 kB / 0.4943 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.1427, allocations: 0 / 0.4943 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.1429, allocations: 113 kB / 0.4944 GB, free: 4.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.685e-06/0.1429, allocations: 7.922 kB / 0.4944 GB, free: 4.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005247/0.1434, allocations: 193 kB / 0.4946 GB, free: 4.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.1435, allocations: 85.05 kB / 0.4946 GB, free: 4.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.1447, allocations: 1.034 MB / 0.4956 GB, free: 3.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1447, allocations: 29.7 kB / 0.4957 GB, free: 3.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.1449, allocations: 232.1 kB / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.1449, allocations: 27.69 kB / 0.4959 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/0.145, allocations: 29.72 kB / 0.4959 GB, free: 3.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1452, allocations: 366.8 kB / 0.4963 GB, free: 2.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.1453, allocations: 31.98 kB / 0.4963 GB, free: 2.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.54e-05/0.1454, allocations: 59.41 kB / 0.4964 GB, free: 2.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.1456, allocations: 91.86 kB / 0.4965 GB, free: 2.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1456, allocations: 0 / 0.4965 GB, free: 2.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003177/0.1459, allocations: 176.9 kB / 0.4966 GB, free: 2.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1459, allocations: 8 kB / 0.4966 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1459, allocations: 0 / 0.4966 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.146, allocations: 0 / 0.4966 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1461, allocations: 27.92 kB / 0.4967 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1461, allocations: 0 / 0.4967 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1462, allocations: 11.88 kB / 0.4967 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1462, allocations: 4 kB / 0.4967 GB, free: 2.465 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.1465, allocations: 233.7 kB / 0.4969 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.178e-05/0.1465, allocations: 51.34 kB / 0.497 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.842e-05/0.1466, allocations: 56 kB / 0.497 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1466, allocations: 4 kB / 0.497 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1466, allocations: 3.938 kB / 0.497 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1467, allocations: 3.984 kB / 0.497 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.147, allocations: 337.4 kB / 0.4973 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.147, allocations: 0 / 0.4973 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.147, allocations: 11.98 kB / 0.4974 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.147, allocations: 0 / 0.4974 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1471, allocations: 8 kB / 0.4974 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1471, allocations: 4 kB / 0.4974 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1471, allocations: 0 / 0.4974 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.1474, allocations: 205.3 kB / 0.4976 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.1475, allocations: 136.4 kB / 0.4977 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.1476, allocations: 8.078 kB / 0.4977 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.1477, allocations: 11.94 kB / 0.4977 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.1477, allocations: 7.984 kB / 0.4977 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.1478, allocations: 8 kB / 0.4977 GB, free: 1.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007919/0.1486, allocations: 0.7682 MB / 0.4985 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1486, allocations: 0 / 0.4985 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1488, allocations: 40 kB / 0.4985 GB, free: 0.4922 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.0009388/0.1498, allocations: 420.2 kB / 0.4989 GB, free: 120 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002526/0.1501, allocations: 91.89 kB / 0.499 GB, free: 28 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1501, allocations: 0 / 0.499 GB, free: 28 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1502, allocations: 32.03 kB / 0.499 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.1507, allocations: 85.88 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.152, allocations: 0.8589 MB / 0.5 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.1524, allocations: 0.8466 MB / 0.5008 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.1526, allocations: 54.94 kB / 0.5008 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.1526, allocations: 31.44 kB / 0.5009 GB, free: 14.07 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1526, allocations: 0 / 0.5009 GB, free: 14.07 MB / 398.1 MB Notification: Performance of Templates: time 0.008877/0.1615, allocations: 3.742 MB / 0.5045 GB, free: 10.33 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches