Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008942/0.0008944, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.639/1.639, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.000784/0.0007839, allocations: 94.34 kB / 271.3 MB, free: 8.238 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.3674/0.3674, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000523/0.0005233, allocations: 16 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1543, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.5012, allocations: 86.37 MB / 0.5643 GB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.5015, allocations: 81.97 kB / 0.5644 GB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009521/0.511, allocations: 3.566 MB / 0.5679 GB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.511, allocations: 4 kB / 0.5679 GB, free: 12.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.5111, allocations: 4 kB / 0.5679 GB, free: 12.01 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.0003916/0.5114, allocations: 390.7 kB / 0.5682 GB, free: 11.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.5115, allocations: 8.031 kB / 0.5683 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.5115, allocations: 16.7 kB / 0.5683 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.5118, allocations: 199.7 kB / 0.5685 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.5118, allocations: 384 / 0.5685 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.5118, allocations: 4.375 kB / 0.5685 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.5119, allocations: 54.23 kB / 0.5685 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.512, allocations: 192 / 0.5685 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.512, allocations: 3.938 kB / 0.5685 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.512, allocations: 0 / 0.5685 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.703e-05/0.5121, allocations: 27.92 kB / 0.5685 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.5124, allocations: 280.9 kB / 0.5688 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.5126, allocations: 46.5 kB / 0.5689 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.5127, allocations: 12.86 kB / 0.5689 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.5127, allocations: 8.062 kB / 0.5689 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.5127, allocations: 38.5 kB / 0.5689 GB, free: 10.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.5127, allocations: 4 kB / 0.5689 GB, free: 10.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005145/0.5133, allocations: 149.3 kB / 0.5691 GB, free: 10.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.5133, allocations: 59.34 kB / 0.5691 GB, free: 10.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.5135, allocations: 145.8 kB / 0.5693 GB, free: 10.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.5135, allocations: 25.7 kB / 0.5693 GB, free: 10.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.5135, allocations: 96.12 kB / 0.5694 GB, free: 10.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.5136, allocations: 15.75 kB / 0.5694 GB, free: 10.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.5136, allocations: 0 / 0.5694 GB, free: 10.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5137, allocations: 327 kB / 0.5697 GB, free: 9.938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.598e-05/0.5138, allocations: 23.98 kB / 0.5697 GB, free: 9.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.5138, allocations: 27.92 kB / 0.5697 GB, free: 9.887 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.514, allocations: 48.83 kB / 0.5698 GB, free: 9.836 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.514, allocations: 4 kB / 0.5698 GB, free: 9.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001678/0.5141, allocations: 93.52 kB / 0.5699 GB, free: 9.734 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.5142, allocations: 4 kB / 0.5699 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5142, allocations: 0 / 0.5699 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.5142, allocations: 0 / 0.5699 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.5143, allocations: 15.98 kB / 0.5699 GB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.5143, allocations: 5.094 kB / 0.5699 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/0.5143, allocations: 4 kB / 0.5699 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.5143, allocations: 6.25 kB / 0.5699 GB, free: 9.703 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 (5): * Single equations (assignments): 5 * 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 9.146e-05/0.5144, allocations: 125.8 kB / 0.57 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.5145, allocations: 7.906 kB / 0.57 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.5147, allocations: 105.9 kB / 0.5702 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5147, allocations: 0.75 kB / 0.5702 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.5147, allocations: 0 / 0.5702 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5147, allocations: 0 / 0.5702 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.5152, allocations: 362.5 kB / 0.5705 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5152, allocations: 0 / 0.5705 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.828e-05/0.5152, allocations: 8 kB / 0.5705 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.5152, allocations: 4 kB / 0.5705 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.5153, allocations: 0 / 0.5705 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.5153, allocations: 11.91 kB / 0.5705 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.5153, allocations: 4.812 kB / 0.5705 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.5155, allocations: 187.4 kB / 0.5707 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.5156, allocations: 89.3 kB / 0.5708 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.5156, allocations: 4.422 kB / 0.5708 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.248e-05/0.5157, allocations: 4 kB / 0.5708 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.5157, allocations: 15.91 kB / 0.5708 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.5157, allocations: 8 kB / 0.5708 GB, free: 8.684 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.554e-05/0.5158, allocations: 117.9 kB / 0.5709 GB, free: 8.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5158, allocations: 0 / 0.5709 GB, free: 8.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.5161, allocations: 23.98 kB / 0.571 GB, free: 8.547 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 (5): * Single equations (assignments): 5 * 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.0008855/0.5169, allocations: 399.5 kB / 0.5713 GB, free: 8.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.5171, allocations: 67.83 kB / 0.5714 GB, free: 8.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5172, allocations: 0 / 0.5714 GB, free: 8.184 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.834e-05/0.5172, allocations: 23.98 kB / 0.5714 GB, free: 8.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.5175, allocations: 12 kB / 0.5714 GB, free: 8.148 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.5179, allocations: 198.8 kB / 0.5716 GB, free: 7.934 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.5182, allocations: 0.6887 MB / 0.5723 GB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.36e-05/0.5182, allocations: 8.25 kB / 0.5723 GB, free: 7.211 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.5183, allocations: 23.36 kB / 0.5723 GB, free: 7.188 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5183, allocations: 4 kB / 0.5723 GB, free: 7.184 MB / 394.7 MB Notification: Performance of Templates: time 0.00314/0.5214, allocations: 1.039 MB / 0.5733 GB, free: 6.148 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches