Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 107.8 kB / 16.41 MB, free: 6.488 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.001435/0.001436, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.481/1.481, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.2058/0.2058, allocations: 43.52 MB / 314.1 MB, free: 440 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.001551/0.001552, allocations: 70.25 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1372, allocations: 57.8 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.003278/0.1405, allocations: 1.596 MB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000626/0.1411, allocations: 327.5 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.1412, allocations: 3.938 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005647/0.1418, allocations: 447.2 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003884/0.1422, allocations: 263.4 kB / 0.4905 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.1425, allocations: 107.7 kB / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.1427, allocations: 155.7 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1429, allocations: 24.17 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.143, allocations: 103.8 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.1432, allocations: 207.6 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1432, allocations: 0 / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.202e-05/0.1433, allocations: 39.91 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1435, allocations: 79.7 kB / 0.4911 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.5e-05/0.1435, allocations: 103 kB / 0.4912 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.1438, allocations: 255 kB / 0.4915 GB, free: 8.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1439, allocations: 0 / 0.4915 GB, free: 8.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1439, allocations: 0 / 0.4915 GB, free: 8.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1439, allocations: 0 / 0.4915 GB, free: 8.078 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007023/0.1446, allocations: 0.6258 MB / 0.4921 GB, free: 7.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1446, allocations: 15.89 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.1447, allocations: 36.47 kB / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.145, allocations: 296.1 kB / 0.4924 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.145, allocations: 4.375 kB / 0.4924 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.145, allocations: 4.375 kB / 0.4924 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1452, allocations: 61.59 kB / 0.4925 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1452, allocations: 4 kB / 0.4925 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1452, allocations: 0 / 0.4925 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1452, allocations: 0 / 0.4925 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.887e-05/0.1453, allocations: 23.92 kB / 0.4925 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.1458, allocations: 384.7 kB / 0.4929 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.146, allocations: 46.56 kB / 0.4929 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.1461, allocations: 16.94 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.1461, allocations: 0 / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1462, allocations: 34.5 kB / 0.493 GB, free: 6.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1462, allocations: 0 / 0.493 GB, free: 6.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005911/0.1468, allocations: 227.9 kB / 0.4932 GB, free: 6.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.1468, allocations: 55.41 kB / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007964/0.1476, allocations: 0.8535 MB / 0.4941 GB, free: 5.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1477, allocations: 25.7 kB / 0.4941 GB, free: 5.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1478, allocations: 224.1 kB / 0.4943 GB, free: 4.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.1479, allocations: 19.77 kB / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.1479, allocations: 13.72 kB / 0.4944 GB, free: 4.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1481, allocations: 370.7 kB / 0.4947 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.889e-05/0.1481, allocations: 19.98 kB / 0.4947 GB, free: 4.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.372e-05/0.1482, allocations: 20.17 kB / 0.4947 GB, free: 4.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.1483, allocations: 48.83 kB / 0.4948 GB, free: 4.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1483, allocations: 0 / 0.4948 GB, free: 4.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001842/0.1485, allocations: 121 kB / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1485, allocations: 11.28 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1485, allocations: 0 / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1486, allocations: 0 / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.1486, allocations: 11.98 kB / 0.4949 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1486, allocations: 0 / 0.4949 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.1487, allocations: 7.938 kB / 0.4949 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.1487, allocations: 4 kB / 0.4949 GB, free: 4.301 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 (5): * Single equations (assignments): 5 * 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.0001809/0.1489, allocations: 221.7 kB / 0.4952 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.149, allocations: 39.53 kB / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.1492, allocations: 136.9 kB / 0.4953 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1492, allocations: 4 kB / 0.4953 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1493, allocations: 0 / 0.4953 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1493, allocations: 3.938 kB / 0.4953 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.1498, allocations: 450.5 kB / 0.4958 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1498, allocations: 4 kB / 0.4958 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.1498, allocations: 12.17 kB / 0.4958 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1498, allocations: 0 / 0.4958 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.1499, allocations: 7.938 kB / 0.4958 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1499, allocations: 0 / 0.4958 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1499, allocations: 7.938 kB / 0.4958 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.1501, allocations: 207 kB / 0.496 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.933e-05/0.1502, allocations: 116.5 kB / 0.4961 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.1502, allocations: 3.938 kB / 0.4961 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.1503, allocations: 4 kB / 0.4961 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.1504, allocations: 3.984 kB / 0.4961 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.1504, allocations: 4 kB / 0.4961 GB, free: 2.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005558/0.1509, allocations: 0.6433 MB / 0.4967 GB, free: 2.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.1509, allocations: 0 / 0.4967 GB, free: 2.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1512, allocations: 27.94 kB / 0.4968 GB, free: 2.324 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 (5): * Single equations (assignments): 5 * 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.000902/0.1521, allocations: 408.3 kB / 0.4972 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.1523, allocations: 47.91 kB / 0.4972 GB, free: 1.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1523, allocations: 0 / 0.4972 GB, free: 1.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.923e-05/0.1524, allocations: 23.98 kB / 0.4972 GB, free: 1.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.1528, allocations: 33.25 kB / 0.4973 GB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.154, allocations: 0.7755 MB / 0.498 GB, free: 1.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.1545, allocations: 0.8221 MB / 0.4988 GB, free: 208 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.061e-05/0.1545, allocations: 11.92 kB / 0.4988 GB, free: 196 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.1546, allocations: 11.44 kB / 0.4988 GB, free: 184 kB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1546, allocations: 0 / 0.4988 GB, free: 184 kB / 382.1 MB Notification: Performance of Templates: time 0.005116/0.1597, allocations: 1.452 MB / 0.5003 GB, free: 14.73 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches