Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 105.9 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.001604/0.001605, 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.417/1.417, allocations: 222.9 MB / 241.8 MB, free: 13.88 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.222/0.222, allocations: 44.17 MB / 336.1 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.97 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1435, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.004373/0.1479, allocations: 1.688 MB / 470.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.149, allocations: 423.2 kB / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.763e-05/0.1491, allocations: 0 / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006024/0.1497, allocations: 447.2 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.1501, allocations: 247.5 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.1505, allocations: 118.7 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.1508, allocations: 155.7 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1509, allocations: 23.97 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.1511, allocations: 103.7 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.1513, allocations: 199.6 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.1514, allocations: 8 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1515, allocations: 51.91 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1516, allocations: 87.62 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.673e-05/0.1517, allocations: 95.06 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.1521, allocations: 255 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1521, allocations: 0 / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1521, allocations: 0 / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.1521, allocations: 0 / 472.4 MB, free: 10.97 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009267/0.1531, allocations: 0.6416 MB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.1531, allocations: 8.031 kB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.1532, allocations: 52.38 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.1536, allocations: 300.1 kB / 473.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.1536, allocations: 8.375 kB / 473.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.1537, allocations: 384 / 473.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.1539, allocations: 57.81 kB / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1539, allocations: 0 / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1539, allocations: 0 / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1539, allocations: 4 kB / 473.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.1541, allocations: 35.91 kB / 473.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006657/0.1547, allocations: 392.6 kB / 473.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.1549, allocations: 46.59 kB / 473.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.1549, allocations: 16.86 kB / 473.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.155, allocations: 0 / 473.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.155, allocations: 38.66 kB / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.155, allocations: 0 / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00111/0.1561, allocations: 291.8 kB / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1562, allocations: 55.34 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009247/0.1571, allocations: 0.8613 MB / 475.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1571, allocations: 29.7 kB / 475.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.1573, allocations: 216.1 kB / 475.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.1574, allocations: 31.53 kB / 475.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.1575, allocations: 25.72 kB / 475.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.1576, allocations: 358.8 kB / 475.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-05/0.1577, allocations: 23.98 kB / 475.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.1578, allocations: 31.92 kB / 475.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.158, allocations: 60.83 kB / 475.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.158, allocations: 0 / 475.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002723/0.1583, allocations: 133 kB / 476.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.1583, allocations: 4 kB / 476.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1583, allocations: 4 kB / 476.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.1584, allocations: 3.984 kB / 476.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1585, allocations: 20.36 kB / 476.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.1585, allocations: 3.938 kB / 476.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.1586, allocations: 7.984 kB / 476.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1586, allocations: 7.938 kB / 476.1 MB, free: 7.02 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 (8): * Single equations (assignments): 8 * 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.0002142/0.1588, allocations: 210.3 kB / 476.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-05/0.1589, allocations: 39.53 kB / 476.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.1592, allocations: 173.6 kB / 476.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1592, allocations: 3.984 kB / 476.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1592, allocations: 3.938 kB / 476.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1592, allocations: 4 kB / 476.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.1599, allocations: 499.2 kB / 477 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.1599, allocations: 11.97 kB / 477 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.606e-05/0.16, allocations: 23.92 kB / 477.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.16, allocations: 0 / 477.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.16, allocations: 0 / 477.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.16, allocations: 4 kB / 477.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.16, allocations: 0 / 477.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.1603, allocations: 235.8 kB / 477.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.1604, allocations: 112.6 kB / 477.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.1604, allocations: 0 / 477.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-05/0.1605, allocations: 4 kB / 477.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.1606, allocations: 11.92 kB / 477.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1606, allocations: 0 / 477.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000596/0.1612, allocations: 0.6472 MB / 478.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1612, allocations: 0 / 478.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1615, allocations: 35.98 kB / 478.1 MB, free: 4.914 MB / 350.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 (8): * Single equations (assignments): 8 * 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.001128/0.1626, allocations: 455.8 kB / 478.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.1629, allocations: 67.91 kB / 478.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1629, allocations: 0 / 478.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.163, allocations: 35.97 kB / 478.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.1635, allocations: 37.78 kB / 478.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.1647, allocations: 0.8956 MB / 479.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.1652, allocations: 0.8302 MB / 480.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.302e-05/0.1653, allocations: 16.95 kB / 480.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.1653, allocations: 11.44 kB / 480.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1653, allocations: 0 / 480.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of Templates: time 0.005141/0.1705, allocations: 1.642 MB / 482.1 MB, free: 1.059 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches