Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001121/0.001121, allocations: 194 kB / 18.12 MB, free: 5.363 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.419/1.419, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.2217/0.2217, allocations: 44.17 MB / 336.1 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001565, allocations: 65.56 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1458, allocations: 60.81 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003588/0.1494, allocations: 1.672 MB / 470.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009613/0.1504, allocations: 0.6721 MB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.867e-05/0.1504, allocations: 0 / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.1507, allocations: 27.91 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.1509, allocations: 39.89 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.469e-06/0.151, allocations: 0 / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.1511, allocations: 51.81 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.1512, allocations: 3.984 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.341e-05/0.1512, allocations: 7.938 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.839e-05/0.1513, allocations: 31.91 kB / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.1513, allocations: 4 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.963e-05/0.1514, allocations: 4 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.1514, allocations: 19.92 kB / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.1515, allocations: 23.81 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1516, allocations: 64.06 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1516, allocations: 0 / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1516, allocations: 0 / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.1516, allocations: 0 / 471.1 MB, free: 12.21 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004271/0.1521, allocations: 359.4 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1521, allocations: 12.03 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.1522, allocations: 8.844 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.1524, allocations: 176.2 kB / 471.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.1524, allocations: 4.375 kB / 471.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.1524, allocations: 4.359 kB / 471.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.1526, allocations: 119.3 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1526, allocations: 12.17 kB / 471.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1526, allocations: 3.938 kB / 471.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-05/0.1527, allocations: 23.98 kB / 471.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.109e-05/0.1528, allocations: 39.86 kB / 471.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006457/0.1534, allocations: 0.8906 MB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.065e-05/0.1535, allocations: 173.2 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.1535, allocations: 80.14 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1536, allocations: 79.22 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.1536, allocations: 117.8 kB / 473.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1536, allocations: 0 / 473.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.024e-05/0.1537, allocations: 33.61 kB / 473.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.1538, allocations: 134.6 kB / 473.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.154, allocations: 182.1 kB / 473.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.154, allocations: 25.7 kB / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/0.1541, allocations: 151.1 kB / 473.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.246e-06/0.1541, allocations: 8 kB / 473.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.1542, allocations: 37.62 kB / 473.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1543, allocations: 322.8 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.97e-05/0.1543, allocations: 35.97 kB / 474.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.1545, allocations: 155.9 kB / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.1547, allocations: 204.8 kB / 474.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.1547, allocations: 4 kB / 474.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000411/0.1551, allocations: 193.5 kB / 474.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1552, allocations: 8 kB / 474.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.1552, allocations: 4 kB / 474.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.1552, allocations: 4 kB / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1553, allocations: 39.92 kB / 474.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.1554, allocations: 15.92 kB / 474.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.189e-05/0.1554, allocations: 23.69 kB / 474.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.1555, allocations: 12 kB / 474.8 MB, free: 8.188 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001258/0.1556, allocations: 222 kB / 475 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.256e-05/0.1557, allocations: 112.8 kB / 475.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.589e-05/0.1557, allocations: 120.8 kB / 475.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.906e-05/0.1558, allocations: 180.2 kB / 475.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-05/0.1559, allocations: 180.2 kB / 475.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.139e-05/0.156, allocations: 180.3 kB / 475.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.1562, allocations: 425.2 kB / 476.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-05/0.1563, allocations: 108.9 kB / 476.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.1563, allocations: 101 kB / 476.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-05/0.1564, allocations: 184.2 kB / 476.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.298e-05/0.1564, allocations: 180.3 kB / 476.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.996e-05/0.1565, allocations: 180.3 kB / 476.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.799e-05/0.1566, allocations: 184.2 kB / 477.1 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.1567, allocations: 311.7 kB / 477.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-05/0.1568, allocations: 185.9 kB / 477.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/0.1569, allocations: 188.2 kB / 477.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.157, allocations: 108.9 kB / 477.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.1571, allocations: 184.2 kB / 478 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.1571, allocations: 108.9 kB / 478.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.1572, allocations: 135.2 kB / 478.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1572, allocations: 0 / 478.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.1575, allocations: 16 kB / 478.3 MB, free: 4.445 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 (0): * Single equations (assignments): 0 * 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.0005121/0.158, allocations: 281.8 kB / 478.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.1582, allocations: 75.78 kB / 478.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1582, allocations: 1.25 kB / 478.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.1582, allocations: 0 / 478.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.1586, allocations: 0.5341 MB / 479.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.159, allocations: 258.9 kB / 479.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.1593, allocations: 0.7009 MB / 480.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.1595, allocations: 49.02 kB / 480.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.1595, allocations: 23.36 kB / 480.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1595, allocations: 0 / 480.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of Templates: time 0.003021/0.1626, allocations: 0.6467 MB / 480.8 MB, free: 1.883 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches