Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009583/0.0009583, allocations: 183.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008155/0.0008155, allocations: 94.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2243/0.2243, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003149, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4376/0.5817, allocations: 87.13 MB / 0.5638 GB, free: 12.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003694/0.5822, allocations: 73.09 kB / 0.5639 GB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03102/0.6132, allocations: 7.879 MB / 0.5716 GB, free: 5.609 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.6133, allocations: 0 / 0.5716 GB, free: 5.609 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.046e-05/0.6134, allocations: 8 kB / 0.5716 GB, free: 5.602 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001071/0.6144, allocations: 0.6194 MB / 0.5722 GB, free: 4.953 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.6145, allocations: 8.031 kB / 0.5722 GB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.6146, allocations: 47.39 kB / 0.5723 GB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007645/0.6154, allocations: 332.5 kB / 0.5726 GB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.6155, allocations: 0 / 0.5726 GB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.6155, allocations: 7.625 kB / 0.5726 GB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.6157, allocations: 52.86 kB / 0.5726 GB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.6158, allocations: 0 / 0.5726 GB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.6158, allocations: 7.625 kB / 0.5726 GB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.6158, allocations: 0 / 0.5726 GB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.616, allocations: 35.19 kB / 0.5727 GB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.6171, allocations: 430.4 kB / 0.5731 GB, free: 4.035 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.6173, allocations: 38 kB / 0.5731 GB, free: 3.992 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.6174, allocations: 4 kB / 0.5731 GB, free: 3.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.6174, allocations: 32.81 kB / 0.5732 GB, free: 3.949 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.894e-06/0.6175, allocations: 0 / 0.5732 GB, free: 3.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.000458/0.6179, allocations: 112 kB / 0.5733 GB, free: 3.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.618, allocations: 55.41 kB / 0.5733 GB, free: 3.773 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002005/0.62, allocations: 0.791 MB / 0.5741 GB, free: 3.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.6201, allocations: 29.2 kB / 0.5741 GB, free: 3.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.6204, allocations: 215.4 kB / 0.5743 GB, free: 3.004 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.6204, allocations: 15.09 kB / 0.5743 GB, free: 2.992 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.6204, allocations: 0 / 0.5743 GB, free: 2.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.6206, allocations: 363.3 kB / 0.5747 GB, free: 2.645 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.6207, allocations: 15.19 kB / 0.5747 GB, free: 2.633 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.386e-05/0.6208, allocations: 15.98 kB / 0.5747 GB, free: 2.617 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.913e-05/0.6209, allocations: 14.92 kB / 0.5747 GB, free: 2.605 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6209, allocations: 0 / 0.5747 GB, free: 2.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002629/0.6212, allocations: 88.84 kB / 0.5748 GB, free: 2.516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.6212, allocations: 8 kB / 0.5748 GB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6213, allocations: 0 / 0.5748 GB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.6213, allocations: 3.953 kB / 0.5748 GB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.886e-05/0.6214, allocations: 12.08 kB / 0.5748 GB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.6214, allocations: 0 / 0.5748 GB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.6216, allocations: 4 kB / 0.5748 GB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.6216, allocations: 4 kB / 0.5748 GB, free: 2.484 MB / 378.7 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002818/0.6219, allocations: 215.6 kB / 0.5751 GB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.622, allocations: 42.56 kB / 0.5751 GB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.6224, allocations: 112.6 kB / 0.5752 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6224, allocations: 0 / 0.5752 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.6224, allocations: 3.953 kB / 0.5752 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6224, allocations: 4 kB / 0.5752 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.623, allocations: 319 kB / 0.5755 GB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.623, allocations: 0 / 0.5755 GB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.689e-05/0.6231, allocations: 15.23 kB / 0.5755 GB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6231, allocations: 0 / 0.5755 GB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.6231, allocations: 0 / 0.5755 GB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.6231, allocations: 4.031 kB / 0.5755 GB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6231, allocations: 0 / 0.5755 GB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.6235, allocations: 202.1 kB / 0.5757 GB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003383/0.6238, allocations: 159.4 kB / 0.5759 GB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.6239, allocations: 0 / 0.5759 GB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.6241, allocations: 12.03 kB / 0.5759 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.6241, allocations: 0 / 0.5759 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.6242, allocations: 4 kB / 0.5759 GB, free: 1.398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001145/0.6253, allocations: 0.6462 MB / 0.5765 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.265e-06/0.6253, allocations: 0 / 0.5765 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005134/0.6259, allocations: 59.78 kB / 0.5766 GB, free: 0.8711 MB / 378.7 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/0.6271, allocations: 344 kB / 0.5769 GB, free: 0.582 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.6273, allocations: 34.72 kB / 0.5769 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.6273, allocations: 0 / 0.5769 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.333e-05/0.6274, allocations: 20 kB / 0.577 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.6278, allocations: 20.8 kB / 0.577 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.6297, allocations: 0.888 MB / 0.5778 GB, free: 15.67 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.6303, allocations: 0.829 MB / 0.5787 GB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.6305, allocations: 44.41 kB / 0.5787 GB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.66e-05/0.6306, allocations: 19.44 kB / 0.5787 GB, free: 14.77 MB / 394.7 MB Notification: Performance of SimCode: time 2.706e-06/0.6306, allocations: 4 kB / 0.5787 GB, free: 14.76 MB / 394.7 MB Notification: Performance of Templates: time 0.009622/0.6403, allocations: 2.259 MB / 0.5809 GB, free: 12.5 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches