Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008032/0.0008031, allocations: 93.09 kB / 17.35 MB, free: 6.344 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.0007963/0.0007966, allocations: 168.8 kB / 18.25 MB, free: 5.508 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.493/1.493, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.2188/0.2188, allocations: 44.25 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.0004658, allocations: 12.94 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1407, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002401/0.1432, allocations: 1.344 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009624/0.1442, allocations: 443.2 kB / 474 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.1442, allocations: 0 / 474 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006748/0.1449, allocations: 451.2 kB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.1453, allocations: 251.5 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.1458, allocations: 161.8 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.146, allocations: 167.7 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1462, allocations: 16 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1463, allocations: 103.7 kB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.1465, allocations: 199.6 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.1466, allocations: 4 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1467, allocations: 39.98 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1468, allocations: 87.62 kB / 475.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.1469, allocations: 128.7 kB / 475.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.1472, allocations: 255.2 kB / 475.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1472, allocations: 0 / 475.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1472, allocations: 0 / 475.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1472, allocations: 0 / 475.9 MB, free: 9.695 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.0007251/0.148, allocations: 0.5912 MB / 476.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.148, allocations: 8.031 kB / 476.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.719e-05/0.1481, allocations: 44.38 kB / 476.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.1484, allocations: 296.2 kB / 476.8 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1484, allocations: 8.375 kB / 476.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.1485, allocations: 12.22 kB / 476.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1486, allocations: 61.8 kB / 476.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1487, allocations: 4 kB / 476.9 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1487, allocations: 4 kB / 476.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.1487, allocations: 4 kB / 476.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.1488, allocations: 35.91 kB / 476.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.1494, allocations: 408.6 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1496, allocations: 58.58 kB / 477.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/0.1496, allocations: 20.94 kB / 477.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.1497, allocations: 0 / 477.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1497, allocations: 34.56 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1497, allocations: 0 / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001062/0.1508, allocations: 343.8 kB / 477.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.1508, allocations: 63.33 kB / 477.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009348/0.1518, allocations: 0.8535 MB / 478.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1518, allocations: 33.64 kB / 478.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.152, allocations: 228.1 kB / 478.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.152, allocations: 23.56 kB / 479 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.1521, allocations: 13.72 kB / 479 MB, free: 6.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1522, allocations: 362.8 kB / 479.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.1523, allocations: 35.92 kB / 479.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.113e-05/0.1524, allocations: 35.97 kB / 479.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.1526, allocations: 89.05 kB / 479.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1526, allocations: 0 / 479.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002606/0.1529, allocations: 157.1 kB / 479.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1529, allocations: 8 kB / 479.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1529, allocations: 0 / 479.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1529, allocations: 0 / 479.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1531, allocations: 23.92 kB / 479.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1531, allocations: 3.938 kB / 479.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/0.1531, allocations: 8 kB / 479.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.1531, allocations: 4 kB / 479.7 MB, free: 5.641 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.0003261/0.1535, allocations: 218.3 kB / 479.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.1535, allocations: 43.44 kB / 479.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/0.154, allocations: 173.4 kB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.154, allocations: 0 / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.154, allocations: 15.88 kB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.154, allocations: 0 / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007696/0.1548, allocations: 0.5188 MB / 480.6 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1548, allocations: 11.91 kB / 480.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.089e-05/0.1549, allocations: 19.98 kB / 480.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1549, allocations: 4 kB / 480.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1549, allocations: 0 / 480.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1549, allocations: 0 / 480.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1549, allocations: 0 / 480.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.1553, allocations: 251.8 kB / 480.9 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.1553, allocations: 116.5 kB / 481 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.1554, allocations: 8 kB / 481 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.1555, allocations: 7.938 kB / 481 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.1555, allocations: 7.984 kB / 481.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.1555, allocations: 11.94 kB / 481.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005867/0.1561, allocations: 0.6472 MB / 481.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1561, allocations: 0 / 481.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.1564, allocations: 31.98 kB / 481.7 MB, free: 3.457 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.001145/0.1576, allocations: 459.9 kB / 482.2 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.1579, allocations: 79.89 kB / 482.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1579, allocations: 0 / 482.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.158, allocations: 56.02 kB / 482.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.1585, allocations: 28.56 kB / 482.4 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.1598, allocations: 0.9126 MB / 483.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.1603, allocations: 0.8262 MB / 484.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.789e-05/0.1604, allocations: 28.41 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.1604, allocations: 15.38 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1604, allocations: 0 / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of Templates: time 0.005668/0.1661, allocations: 1.62 MB / 485.8 MB, free: 15.57 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches