Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 97.53 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 170.4 kB / 16.56 MB, free: 6.379 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.464/1.464, allocations: 205.4 MB / 222.7 MB, free: 5.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3536/0.3536, allocations: 43.54 MB / 314.5 MB, free: 8.754 MB / 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.0005059/0.000506, allocations: 12 kB / 383.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1366, allocations: 58.86 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002209/0.1388, allocations: 1.272 MB / 444 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006044/0.1395, allocations: 276 kB / 444.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.912e-05/0.1395, allocations: 3.938 kB / 444.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005326/0.1401, allocations: 439.2 kB / 444.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.1404, allocations: 239.6 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.1408, allocations: 131.8 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.1411, allocations: 123.7 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.656e-05/0.1412, allocations: 12.17 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.1414, allocations: 99.78 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.1416, allocations: 147.7 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1416, allocations: 4 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.86e-05/0.1417, allocations: 8 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.1418, allocations: 95.61 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.1419, allocations: 65.45 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.1422, allocations: 188 kB / 445.8 MB, free: 9.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1422, allocations: 0 / 445.8 MB, free: 9.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1422, allocations: 0 / 445.8 MB, free: 9.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1423, allocations: 0 / 445.8 MB, free: 9.977 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.0008636/0.1431, allocations: 0.5949 MB / 446.4 MB, free: 9.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.607e-05/0.1432, allocations: 12.02 kB / 446.4 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.1433, allocations: 51.33 kB / 446.5 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.1437, allocations: 275.4 kB / 446.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1438, allocations: 4 kB / 446.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.1438, allocations: 0 / 446.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.144, allocations: 61.67 kB / 446.8 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.144, allocations: 0 / 446.8 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.144, allocations: 4 kB / 446.8 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1441, allocations: 0 / 446.8 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.1442, allocations: 47.91 kB / 446.9 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000622/0.1449, allocations: 404.8 kB / 447.3 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.145, allocations: 42.56 kB / 447.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.1451, allocations: 0 / 447.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1451, allocations: 34.56 kB / 447.3 MB, free: 8.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.725e-06/0.1451, allocations: 0 / 447.3 MB, free: 8.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004094/0.1455, allocations: 153 kB / 447.5 MB, free: 8.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.1456, allocations: 55.41 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008497/0.1464, allocations: 0.8574 MB / 448.4 MB, free: 7.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1465, allocations: 33.7 kB / 448.4 MB, free: 7.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.1466, allocations: 212 kB / 448.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.1467, allocations: 15.81 kB / 448.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-06/0.1467, allocations: 0 / 448.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1468, allocations: 354.8 kB / 449 MB, free: 6.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/0.1469, allocations: 27.98 kB / 449 MB, free: 6.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-05/0.147, allocations: 19.98 kB / 449 MB, free: 6.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.1471, allocations: 27.97 kB / 449.1 MB, free: 6.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1471, allocations: 0 / 449.1 MB, free: 6.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000198/0.1473, allocations: 113.1 kB / 449.2 MB, free: 6.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1473, allocations: 8 kB / 449.2 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1473, allocations: 0 / 449.2 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1473, allocations: 0 / 449.2 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/0.1474, allocations: 15.94 kB / 449.2 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1474, allocations: 0 / 449.2 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.173e-05/0.1475, allocations: 12 kB / 449.2 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.1475, allocations: 4 kB / 449.2 MB, free: 6.359 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.1477, allocations: 213.7 kB / 449.4 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.1478, allocations: 39.44 kB / 449.5 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.148, allocations: 137 kB / 449.6 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.148, allocations: 4 kB / 449.6 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.148, allocations: 11.89 kB / 449.6 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1481, allocations: 0 / 449.6 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.1484, allocations: 285.6 kB / 449.9 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1484, allocations: 0 / 449.9 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.1484, allocations: 11.98 kB / 449.9 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1484, allocations: 0 / 449.9 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1484, allocations: 4.375 kB / 449.9 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1485, allocations: 0 / 449.9 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1485, allocations: 0 / 449.9 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.1487, allocations: 218.9 kB / 450.1 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.043e-05/0.1488, allocations: 116.6 kB / 450.2 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.1488, allocations: 0 / 450.2 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.1489, allocations: 7.938 kB / 450.2 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.149, allocations: 11.98 kB / 450.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.149, allocations: 0 / 450.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006254/0.1496, allocations: 0.6511 MB / 450.9 MB, free: 4.566 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1496, allocations: 3.938 kB / 450.9 MB, free: 4.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1499, allocations: 27.86 kB / 450.9 MB, free: 4.535 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008214/0.1507, allocations: 346.9 kB / 451.3 MB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.1509, allocations: 47.95 kB / 451.3 MB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1509, allocations: 0 / 451.3 MB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.634e-05/0.151, allocations: 31.98 kB / 451.4 MB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.1513, allocations: 25.89 kB / 451.4 MB, free: 4.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.1524, allocations: 0.8099 MB / 452.2 MB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.1528, allocations: 0.8301 MB / 453 MB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.522e-05/0.1528, allocations: 16.17 kB / 453 MB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.1529, allocations: 15.44 kB / 453.1 MB, free: 2.395 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1529, allocations: 0 / 453.1 MB, free: 2.395 MB / 382.1 MB Notification: Performance of Templates: time 0.004003/0.1569, allocations: 1.244 MB / 454.3 MB, free: 1.152 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches