Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 108 kB / 16.41 MB, free: 6.484 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.001576/0.001576, allocations: 188.1 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.76/1.76, 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.2531/0.2531, allocations: 43.53 MB / 314.1 MB, free: 476 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.001331/0.001331, allocations: 63.89 kB / 441.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1419, allocations: 57.8 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.00315/0.1451, allocations: 1.561 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007238/0.1458, allocations: 327.6 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.768e-05/0.1459, allocations: 4 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006296/0.1465, allocations: 455.1 kB / 0.4902 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.1469, allocations: 255.4 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.1472, allocations: 143.7 kB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.1475, allocations: 163.6 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1476, allocations: 23.97 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1477, allocations: 103.8 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.1479, allocations: 203.6 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.148, allocations: 0 / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.902e-05/0.148, allocations: 27.92 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.653e-05/0.1481, allocations: 83.69 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.358e-05/0.1482, allocations: 95.06 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.1485, allocations: 254.7 kB / 0.4915 GB, free: 8.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1486, allocations: 0 / 0.4915 GB, free: 8.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1486, allocations: 0 / 0.4915 GB, free: 8.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1486, allocations: 0 / 0.4915 GB, free: 8.148 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007452/0.1493, allocations: 0.6297 MB / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.1494, allocations: 15.88 kB / 0.4921 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.479e-05/0.1495, allocations: 44.66 kB / 0.4921 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.1498, allocations: 300.6 kB / 0.4924 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1498, allocations: 8.375 kB / 0.4924 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.1498, allocations: 384 / 0.4924 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1499, allocations: 57.75 kB / 0.4925 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.15, allocations: 0 / 0.4925 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.15, allocations: 0 / 0.4925 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.15, allocations: 0 / 0.4925 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.51e-05/0.1501, allocations: 23.98 kB / 0.4925 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.1505, allocations: 384.7 kB / 0.4929 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.485e-05/0.1506, allocations: 38.56 kB / 0.4929 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.445e-05/0.1507, allocations: 16.91 kB / 0.4929 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1507, allocations: 0 / 0.4929 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1508, allocations: 30.56 kB / 0.493 GB, free: 6.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.1508, allocations: 0 / 0.493 GB, free: 6.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002685/0.151, allocations: 113.3 kB / 0.4931 GB, free: 6.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1511, allocations: 51.41 kB / 0.4931 GB, free: 6.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007886/0.1519, allocations: 0.8574 MB / 0.4939 GB, free: 5.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1519, allocations: 25.7 kB / 0.494 GB, free: 5.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.1521, allocations: 220.1 kB / 0.4942 GB, free: 5.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.1521, allocations: 7.953 kB / 0.4942 GB, free: 5.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.1522, allocations: 13.72 kB / 0.4942 GB, free: 5.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1523, allocations: 366.8 kB / 0.4946 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.1524, allocations: 12 kB / 0.4946 GB, free: 4.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.22e-05/0.1524, allocations: 7.984 kB / 0.4946 GB, free: 4.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.704e-05/0.1525, allocations: 32.84 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1525, allocations: 3.938 kB / 0.4946 GB, free: 4.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001484/0.1527, allocations: 93.34 kB / 0.4947 GB, free: 4.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1527, allocations: 8 kB / 0.4947 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1527, allocations: 4.094 kB / 0.4947 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1527, allocations: 0 / 0.4947 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.1528, allocations: 7.984 kB / 0.4947 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1528, allocations: 0 / 0.4947 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.1529, allocations: 11.94 kB / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1529, allocations: 4 kB / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001946/0.1531, allocations: 217.6 kB / 0.4949 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.1531, allocations: 39.72 kB / 0.495 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.1534, allocations: 116.6 kB / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1534, allocations: 0 / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1534, allocations: 0 / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1534, allocations: 3.938 kB / 0.4951 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.1537, allocations: 285.5 kB / 0.4954 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1537, allocations: 0 / 0.4954 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.1537, allocations: 7.984 kB / 0.4954 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1538, allocations: 0 / 0.4954 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1538, allocations: 0 / 0.4954 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1538, allocations: 0 / 0.4954 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1538, allocations: 8.031 kB / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.154, allocations: 187.2 kB / 0.4956 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.1541, allocations: 112.8 kB / 0.4957 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1541, allocations: 4 kB / 0.4957 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.531e-05/0.1542, allocations: 0 / 0.4957 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.1542, allocations: 0 / 0.4957 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1542, allocations: 4.031 kB / 0.4957 GB, free: 3.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005696/0.1548, allocations: 0.6589 MB / 0.4963 GB, free: 2.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1548, allocations: 0 / 0.4963 GB, free: 2.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.155, allocations: 19.94 kB / 0.4963 GB, free: 2.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0007874/0.1558, allocations: 349.1 kB / 0.4967 GB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.156, allocations: 27.97 kB / 0.4967 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.156, allocations: 0 / 0.4967 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.556e-05/0.1561, allocations: 8 kB / 0.4967 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.1565, allocations: 33.75 kB / 0.4967 GB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000995/0.1575, allocations: 0.782 MB / 0.4975 GB, free: 1.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.1579, allocations: 0.8221 MB / 0.4983 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.465e-05/0.1579, allocations: 7.984 kB / 0.4983 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.158, allocations: 11.44 kB / 0.4983 GB, free: 0.75 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.158, allocations: 0 / 0.4983 GB, free: 0.75 MB / 382.1 MB Notification: Performance of Templates: time 0.004435/0.1624, allocations: 1.276 MB / 0.4996 GB, free: 15.47 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches