Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008943/0.0008941, allocations: 175.8 kB / 16.76 MB, free: 5.047 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.684/1.684, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007759/0.0007763, allocations: 90.06 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3747/0.3747, allocations: 43.55 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003898, allocations: 16 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1338, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3675/0.5013, allocations: 87.16 MB / 0.5651 GB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.5016, allocations: 75.97 kB / 0.5651 GB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0188/0.5204, allocations: 7.883 MB / 0.5728 GB, free: 6.914 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.2e-06/0.5204, allocations: 0 / 0.5728 GB, free: 6.914 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.147e-05/0.5205, allocations: 15.94 kB / 0.5729 GB, free: 6.898 MB / 394.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.0007626/0.5212, allocations: 0.6178 MB / 0.5735 GB, free: 6.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.5213, allocations: 8.031 kB / 0.5735 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.849e-05/0.5214, allocations: 44.38 kB / 0.5735 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.5219, allocations: 348.2 kB / 0.5738 GB, free: 5.801 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.5219, allocations: 384 / 0.5738 GB, free: 5.801 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.5219, allocations: 4.375 kB / 0.5738 GB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.5221, allocations: 58.23 kB / 0.5739 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.5221, allocations: 192 / 0.5739 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.5221, allocations: 3.938 kB / 0.5739 GB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.5221, allocations: 0 / 0.5739 GB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.657e-05/0.5222, allocations: 35.92 kB / 0.5739 GB, free: 5.695 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006436/0.5229, allocations: 433.3 kB / 0.5744 GB, free: 5.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.484e-05/0.523, allocations: 34.56 kB / 0.5744 GB, free: 5.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.523, allocations: 16.92 kB / 0.5744 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.523, allocations: 3.938 kB / 0.5744 GB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.5231, allocations: 34.55 kB / 0.5744 GB, free: 5.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.5231, allocations: 7.938 kB / 0.5744 GB, free: 5.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002782/0.5234, allocations: 101.1 kB / 0.5745 GB, free: 5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.5234, allocations: 63.39 kB / 0.5746 GB, free: 4.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.5247, allocations: 0.8495 MB / 0.5754 GB, free: 4.062 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.5247, allocations: 29.7 kB / 0.5755 GB, free: 4.027 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.5249, allocations: 224.2 kB / 0.5757 GB, free: 3.805 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.5249, allocations: 3.906 kB / 0.5757 GB, free: 3.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.5249, allocations: 0 / 0.5757 GB, free: 3.801 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.5251, allocations: 362.8 kB / 0.576 GB, free: 3.438 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.391e-05/0.5251, allocations: 8 kB / 0.576 GB, free: 3.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.5252, allocations: 19.92 kB / 0.5761 GB, free: 3.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.106e-05/0.5252, allocations: 36.84 kB / 0.5761 GB, free: 3.371 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5253, allocations: 4 kB / 0.5761 GB, free: 3.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001587/0.5254, allocations: 89.22 kB / 0.5762 GB, free: 3.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5254, allocations: 7.984 kB / 0.5762 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5255, allocations: 0 / 0.5762 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.5255, allocations: 5.484 kB / 0.5762 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-05/0.5256, allocations: 12.03 kB / 0.5762 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5256, allocations: 0 / 0.5762 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/0.5256, allocations: 7.906 kB / 0.5762 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.5257, allocations: 0.75 kB / 0.5762 GB, free: 3.242 MB / 394.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.0001907/0.5258, allocations: 221.6 kB / 0.5764 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.5259, allocations: 39.53 kB / 0.5765 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.5261, allocations: 108.7 kB / 0.5766 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.5261, allocations: 0 / 0.5766 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5262, allocations: 3.984 kB / 0.5766 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5262, allocations: 0 / 0.5766 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.5265, allocations: 329.4 kB / 0.5769 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5265, allocations: 3.938 kB / 0.5769 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.5265, allocations: 4.875 kB / 0.5769 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5266, allocations: 0 / 0.5769 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.5266, allocations: 0 / 0.5769 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.5266, allocations: 0 / 0.5769 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5266, allocations: 8.031 kB / 0.5769 GB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.5268, allocations: 198.8 kB / 0.5771 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.527, allocations: 160.5 kB / 0.5772 GB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.527, allocations: 11.94 kB / 0.5773 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.685e-05/0.5271, allocations: 0 / 0.5773 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.5272, allocations: 12.02 kB / 0.5773 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.5272, allocations: 0 / 0.5773 GB, free: 2.062 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007002/0.5279, allocations: 0.6433 MB / 0.5779 GB, free: 1.422 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5279, allocations: 0 / 0.5779 GB, free: 1.422 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002982/0.5282, allocations: 47.94 kB / 0.5779 GB, free: 1.375 MB / 394.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.0007747/0.529, allocations: 359 kB / 0.5783 GB, free: 1.113 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.5291, allocations: 27.92 kB / 0.5783 GB, free: 1.086 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5291, allocations: 4 kB / 0.5783 GB, free: 1.082 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.499e-05/0.5292, allocations: 11.98 kB / 0.5783 GB, free: 1.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.5295, allocations: 34.31 kB / 0.5784 GB, free: 1.039 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.5308, allocations: 0.888 MB / 0.5792 GB, free: 124 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.5313, allocations: 0.8223 MB / 0.58 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.966e-05/0.5314, allocations: 36.23 kB / 0.5801 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.5314, allocations: 23.42 kB / 0.5801 GB, free: 15.21 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5314, allocations: 0 / 0.5801 GB, free: 15.21 MB / 410.7 MB Notification: Performance of Templates: time 0.005921/0.5374, allocations: 2.262 MB / 0.5823 GB, free: 12.95 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches