Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000909/0.0009088, allocations: 103.3 kB / 16.02 MB, free: 76 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.0009902/0.0009906, allocations: 184 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 223.1 MB, free: 5.758 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.4613/0.4613, allocations: 43.57 MB / 315 MB, free: 8.664 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.0005328/0.0005331, allocations: 12 kB / 384.6 MB, free: 7.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1352, allocations: 58.87 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002754/0.138, allocations: 1.656 MB / 445.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1399, allocations: 1.038 MB / 446.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.1401, allocations: 0 / 446.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.1404, allocations: 39.78 kB / 446.2 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.1409, allocations: 127.5 kB / 446.3 MB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.1422, allocations: 0.5304 MB / 446.8 MB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005041/0.1427, allocations: 259.2 kB / 447.1 MB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.1429, allocations: 80.45 kB / 447.2 MB, free: 8.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.1432, allocations: 107.5 kB / 447.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.1435, allocations: 163.3 kB / 447.4 MB, free: 8.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.55e-05/0.1435, allocations: 8 kB / 447.4 MB, free: 8.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.1437, allocations: 27.98 kB / 447.5 MB, free: 8.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.1439, allocations: 139.5 kB / 447.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.1441, allocations: 176.4 kB / 447.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.1446, allocations: 338.7 kB / 448.1 MB, free: 8.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1446, allocations: 3.938 kB / 448.1 MB, free: 8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1446, allocations: 0 / 448.1 MB, free: 8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.1446, allocations: 0 / 448.1 MB, free: 8 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001177/0.1458, allocations: 0.6767 MB / 448.8 MB, free: 7.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.1459, allocations: 8.031 kB / 448.8 MB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.1461, allocations: 56.28 kB / 448.8 MB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007991/0.1469, allocations: 443.9 kB / 449.3 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.1469, allocations: 8.375 kB / 449.3 MB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.147, allocations: 12.12 kB / 449.3 MB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.1473, allocations: 147.3 kB / 449.4 MB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.1473, allocations: 7.844 kB / 449.5 MB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.1474, allocations: 4 kB / 449.5 MB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.1474, allocations: 11.98 kB / 449.5 MB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.1476, allocations: 103.9 kB / 449.6 MB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.1488, allocations: 0.68 MB / 450.2 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.149, allocations: 121.2 kB / 450.4 MB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.1491, allocations: 49.83 kB / 450.4 MB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.1492, allocations: 3.984 kB / 450.4 MB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.1492, allocations: 38.5 kB / 450.5 MB, free: 5.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.704e-06/0.1492, allocations: 0 / 450.5 MB, free: 5.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.00173/0.151, allocations: 0.565 MB / 451 MB, free: 4.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.1511, allocations: 85.11 kB / 451.1 MB, free: 4.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.1524, allocations: 0.8545 MB / 452 MB, free: 3.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.1524, allocations: 25.7 kB / 452 MB, free: 3.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.1527, allocations: 248.2 kB / 452.2 MB, free: 3.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.954e-05/0.1528, allocations: 55.25 kB / 452.3 MB, free: 3.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.1529, allocations: 21.7 kB / 452.3 MB, free: 3.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000248/0.1531, allocations: 370.7 kB / 452.7 MB, free: 3.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.1533, allocations: 75.89 kB / 452.7 MB, free: 3.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.1535, allocations: 101.4 kB / 452.8 MB, free: 3.008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.1539, allocations: 174 kB / 453 MB, free: 2.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1539, allocations: 0 / 453 MB, free: 2.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005146/0.1545, allocations: 257 kB / 453.3 MB, free: 2.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1545, allocations: 4 kB / 453.3 MB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1545, allocations: 7.938 kB / 453.3 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.1545, allocations: 4 kB / 453.3 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.1548, allocations: 47.95 kB / 453.3 MB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.1548, allocations: 0 / 453.3 MB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.1549, allocations: 16 kB / 453.3 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.155, allocations: 7.984 kB / 453.3 MB, free: 2.488 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002389/0.1552, allocations: 213.7 kB / 453.6 MB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.1553, allocations: 55.25 kB / 453.6 MB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006586/0.156, allocations: 306.2 kB / 453.9 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.156, allocations: 4 kB / 453.9 MB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.156, allocations: 0 / 453.9 MB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.156, allocations: 4 kB / 453.9 MB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.1571, allocations: 0.802 MB / 454.7 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1571, allocations: 0 / 454.7 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.1573, allocations: 47.91 kB / 454.8 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1573, allocations: 0 / 454.8 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1573, allocations: 4 kB / 454.8 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1573, allocations: 7.938 kB / 454.8 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1573, allocations: 4 kB / 454.8 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005196/0.1579, allocations: 430 kB / 455.2 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.158, allocations: 144.4 kB / 455.3 MB, free: 388 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.1581, allocations: 7.938 kB / 455.3 MB, free: 380 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.1582, allocations: 23.92 kB / 455.4 MB, free: 356 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.1583, allocations: 19.95 kB / 455.4 MB, free: 336 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.1583, allocations: 12 kB / 455.4 MB, free: 324 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2723/0.4306, allocations: 0.6208 MB / 456 MB, free: 46.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.82e-07/0.4307, allocations: 0 / 456 MB, free: 46.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005802/0.4313, allocations: 56.94 kB / 456.1 MB, free: 46.02 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0009696/0.4322, allocations: 403.6 kB / 456.5 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004852/0.4327, allocations: 177 kB / 456.6 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4328, allocations: 0 / 456.6 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.4329, allocations: 99.52 kB / 456.7 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/0.4336, allocations: 68.12 kB / 456.8 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.4348, allocations: 1.032 MB / 457.8 MB, free: 45.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.4351, allocations: 0.8631 MB / 458.7 MB, free: 44.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000189/0.4353, allocations: 90.53 kB / 458.8 MB, free: 44.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.463e-05/0.4354, allocations: 37.84 kB / 458.8 MB, free: 44.66 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4354, allocations: 0 / 458.8 MB, free: 44.66 MB / 382.1 MB Notification: Performance of Templates: time 0.00724/0.4427, allocations: 3.72 MB / 462.5 MB, free: 44.37 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches