Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001508, allocations: 175.1 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 221.5 MB / 230.7 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008518/0.0008515, allocations: 93.97 kB / 281.6 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2149/0.2149, allocations: 44.16 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.695e-05/1.697e-05, allocations: 0 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1391, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4657/0.6049, allocations: 87.61 MB / 0.5802 GB, free: 8.922 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.6052, allocations: 67.95 kB / 0.5803 GB, free: 8.855 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01695/0.6222, allocations: 7.869 MB / 0.588 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6222, allocations: 4 kB / 0.588 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.265e-05/0.6223, allocations: 7.984 kB / 0.588 GB, free: 0.9727 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.0006072/0.6229, allocations: 0.5364 MB / 0.5885 GB, free: 400 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.6229, allocations: 11.98 kB / 0.5885 GB, free: 388 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.623, allocations: 47.42 kB / 0.5886 GB, free: 340 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.6234, allocations: 323.3 kB / 0.5889 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.6235, allocations: 0 / 0.5889 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.6235, allocations: 4 kB / 0.5889 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.992e-05/0.6236, allocations: 12 kB / 0.5889 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.177e-05/0.6236, allocations: 37.64 kB / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.6236, allocations: 0 / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.6237, allocations: 3.984 kB / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.6237, allocations: 0 / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.6242, allocations: 401.3 kB / 0.5893 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.383e-05/0.6242, allocations: 34.56 kB / 0.5893 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.6243, allocations: 12.86 kB / 0.5894 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.6243, allocations: 4.062 kB / 0.5894 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.6243, allocations: 34.5 kB / 0.5894 GB, free: 15.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6243, allocations: 3.938 kB / 0.5894 GB, free: 15.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001841/0.6245, allocations: 73.23 kB / 0.5895 GB, free: 15.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.6246, allocations: 52.25 kB / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.6256, allocations: 0.7551 MB / 0.5903 GB, free: 14.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.6256, allocations: 25.7 kB / 0.5903 GB, free: 14.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.6258, allocations: 212 kB / 0.5905 GB, free: 14.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.6258, allocations: 3.906 kB / 0.5905 GB, free: 14.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.6258, allocations: 4 kB / 0.5905 GB, free: 14.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.626, allocations: 362.8 kB / 0.5908 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.626, allocations: 0 / 0.5908 GB, free: 13.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-06/0.626, allocations: 4 kB / 0.5908 GB, free: 13.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.206e-05/0.6261, allocations: 15.98 kB / 0.5909 GB, free: 13.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.6261, allocations: 4 kB / 0.5909 GB, free: 13.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.979e-05/0.6262, allocations: 73.17 kB / 0.5909 GB, free: 13.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.6262, allocations: 4 kB / 0.5909 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6262, allocations: 4 kB / 0.5909 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.6262, allocations: 0 / 0.5909 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.438e-05/0.6263, allocations: 7.984 kB / 0.5909 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.6264, allocations: 0 / 0.5909 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.745e-05/0.6264, allocations: 4 kB / 0.591 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.6264, allocations: 32 / 0.591 GB, free: 13.73 MB / 410.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 () * 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 7.96e-05/0.6265, allocations: 108.9 kB / 0.5911 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.6266, allocations: 43.44 kB / 0.5911 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.6268, allocations: 96.92 kB / 0.5912 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.6268, allocations: 0 / 0.5912 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.6268, allocations: 7.922 kB / 0.5912 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.6268, allocations: 4 kB / 0.5912 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.6271, allocations: 301.9 kB / 0.5915 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6271, allocations: 0 / 0.5915 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.6272, allocations: 12.02 kB / 0.5915 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6272, allocations: 0 / 0.5915 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.6272, allocations: 0 / 0.5915 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.6272, allocations: 7.984 kB / 0.5915 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6272, allocations: 0 / 0.5915 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.6274, allocations: 163.1 kB / 0.5917 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.6276, allocations: 164.5 kB / 0.5918 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.6276, allocations: 15.95 kB / 0.5918 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.299e-05/0.6277, allocations: 4 kB / 0.5918 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.6277, allocations: 0 / 0.5918 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.6277, allocations: 0 / 0.5918 GB, free: 12.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006351/0.6284, allocations: 0.6082 MB / 0.5924 GB, free: 12.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6284, allocations: 0 / 0.5924 GB, free: 12.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002841/0.6287, allocations: 44 kB / 0.5925 GB, free: 12.08 MB / 410.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 () * 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.0007539/0.6294, allocations: 303 kB / 0.5928 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.092e-05/0.6295, allocations: 12 kB / 0.5928 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6295, allocations: 0 / 0.5928 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.624e-05/0.6296, allocations: 12.06 kB / 0.5928 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.6298, allocations: 26.06 kB / 0.5928 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009384/0.6308, allocations: 0.6794 MB / 0.5935 GB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.6312, allocations: 0.8224 MB / 0.5943 GB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.258e-05/0.6313, allocations: 32 kB / 0.5943 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.6313, allocations: 23.42 kB / 0.5943 GB, free: 10.19 MB / 410.7 MB Notification: Performance of SimCode: time 2.405e-06/0.6313, allocations: 0 / 0.5943 GB, free: 10.19 MB / 410.7 MB Notification: Performance of Templates: time 0.005188/0.6365, allocations: 1.941 MB / 0.5962 GB, free: 8.238 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches