Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001545/0.001545, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 241.8 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2258/0.2258, allocations: 44.18 MB / 336.1 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001354, allocations: 60.44 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1431, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003511/0.1466, allocations: 1.676 MB / 470.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1482, allocations: 1.043 MB / 471.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.1483, allocations: 3.938 kB / 471.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.1485, allocations: 23.86 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.1487, allocations: 31.91 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.1491, allocations: 167.4 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.1493, allocations: 63.78 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1494, allocations: 27.95 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.297e-05/0.1494, allocations: 15.94 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.1496, allocations: 35.78 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1496, allocations: 3.984 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1497, allocations: 47.98 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.1498, allocations: 19.92 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.1498, allocations: 23.84 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.15, allocations: 88.06 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.15, allocations: 0 / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.15, allocations: 3.938 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.15, allocations: 4 kB / 471.8 MB, free: 11.55 MB / 350.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.0006226/0.1507, allocations: 395.2 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1507, allocations: 8.031 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.1508, allocations: 8.844 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.151, allocations: 194.7 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1511, allocations: 384 / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.1511, allocations: 4.375 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.1513, allocations: 83.52 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1513, allocations: 0 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1514, allocations: 0 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1514, allocations: 0 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1515, allocations: 39.91 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.152, allocations: 304.7 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.1521, allocations: 46.55 kB / 472.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.226e-05/0.1522, allocations: 24.94 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.1522, allocations: 0 / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1523, allocations: 38.56 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1523, allocations: 7.938 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007965/0.1531, allocations: 217.3 kB / 473.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.1532, allocations: 85.05 kB / 473.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.1533, allocations: 136.3 kB / 473.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1533, allocations: 37.64 kB / 473.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.1534, allocations: 92.12 kB / 473.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.1534, allocations: 23.66 kB / 473.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.1535, allocations: 17.72 kB / 473.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1536, allocations: 326.8 kB / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.1537, allocations: 35.97 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.1539, allocations: 65.61 kB / 473.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.1541, allocations: 80.8 kB / 474 MB, free: 9.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1541, allocations: 0 / 474 MB, free: 9.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002791/0.1544, allocations: 129.5 kB / 474.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1544, allocations: 7.984 kB / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1544, allocations: 0 / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1545, allocations: 0 / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.1546, allocations: 19.98 kB / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1546, allocations: 0 / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.1547, allocations: 15.92 kB / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1547, allocations: 0 / 474.2 MB, free: 8.914 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0001206/0.1548, allocations: 122.4 kB / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.1548, allocations: 7.906 kB / 474.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.1552, allocations: 142.2 kB / 474.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1552, allocations: 4 kB / 474.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1552, allocations: 0 / 474.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1553, allocations: 3.938 kB / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005355/0.1558, allocations: 402.5 kB / 474.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1558, allocations: 0 / 474.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-05/0.1559, allocations: 27.91 kB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1559, allocations: 288 / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1559, allocations: 7.938 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1559, allocations: 4 kB / 474.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1559, allocations: 0 / 474.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.1562, allocations: 219.4 kB / 475.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.1563, allocations: 85 kB / 475.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.1563, allocations: 3.938 kB / 475.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-05/0.1564, allocations: 11.98 kB / 475.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.1565, allocations: 4 kB / 475.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.1565, allocations: 11.94 kB / 475.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.235e-05/0.1566, allocations: 107.2 kB / 475.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1566, allocations: 0 / 475.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1568, allocations: 20 kB / 475.3 MB, free: 7.648 MB / 350.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 (7): * Single equations (assignments): 7 * 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.001012/0.1579, allocations: 454.5 kB / 475.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.1582, allocations: 87.92 kB / 475.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1582, allocations: 0 / 475.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.1583, allocations: 47.91 kB / 475.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.1587, allocations: 16.3 kB / 475.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.1591, allocations: 228.1 kB / 476.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1595, allocations: 0.6926 MB / 476.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.963e-05/0.1596, allocations: 27.92 kB / 476.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.1596, allocations: 15.44 kB / 476.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1596, allocations: 0 / 476.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of Templates: time 0.004542/0.1642, allocations: 1.458 MB / 478.3 MB, free: 4.754 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches