Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 221.3 MB / 236 MB, free: 2.961 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.0008122/0.0008122, allocations: 87.81 kB / 287 MB, free: 268 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1786/0.1786, allocations: 44.14 MB / 382 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/2.996e-05, allocations: 4.219 kB / 451.8 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1346, allocations: 61.91 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3753/0.51, allocations: 88.27 MB / 0.5879 GB, free: 1.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.5103, allocations: 75.95 kB / 0.588 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01102/0.5214, allocations: 4.297 MB / 0.5922 GB, free: 12.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5214, allocations: 0 / 0.5922 GB, free: 12.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.5215, allocations: 0 / 0.5922 GB, free: 12.71 MB / 410.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.0003727/0.5218, allocations: 362.4 kB / 0.5925 GB, free: 12.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.5219, allocations: 12.03 kB / 0.5925 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.5219, allocations: 7.906 kB / 0.5925 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.5222, allocations: 187 kB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.5222, allocations: 0 / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.5223, allocations: 4 kB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.5224, allocations: 63.36 kB / 0.5928 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.5224, allocations: 0 / 0.5928 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.5225, allocations: 0 / 0.5928 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.5225, allocations: 4 kB / 0.5928 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.441e-05/0.5225, allocations: 15.94 kB / 0.5928 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.523, allocations: 292.8 kB / 0.5931 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.5232, allocations: 42.52 kB / 0.5931 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.5232, allocations: 8.859 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.5232, allocations: 8.016 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.5233, allocations: 34.56 kB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5233, allocations: 0 / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003801/0.5237, allocations: 117.4 kB / 0.5933 GB, free: 11.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.5237, allocations: 81.05 kB / 0.5934 GB, free: 11.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.5239, allocations: 121.5 kB / 0.5935 GB, free: 11.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.5239, allocations: 25.7 kB / 0.5935 GB, free: 11.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.5239, allocations: 92.14 kB / 0.5936 GB, free: 11.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.524, allocations: 15.73 kB / 0.5936 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.524, allocations: 4 kB / 0.5936 GB, free: 11.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.5241, allocations: 318.8 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.757e-05/0.5241, allocations: 12 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.499e-05/0.5242, allocations: 25.7 kB / 0.5939 GB, free: 10.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.354e-05/0.5242, allocations: 15.95 kB / 0.594 GB, free: 10.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.5242, allocations: 0 / 0.594 GB, free: 10.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001056/0.5243, allocations: 69.59 kB / 0.594 GB, free: 10.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.5243, allocations: 4 kB / 0.594 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5244, allocations: 3.938 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.5244, allocations: 11.97 kB / 0.594 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.5244, allocations: 11.98 kB / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.5245, allocations: 4 kB / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.208e-05/0.5245, allocations: 7.984 kB / 0.5941 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.5245, allocations: 0 / 0.5941 GB, free: 10.54 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 (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 6.426e-05/0.5246, allocations: 112.9 kB / 0.5942 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.5246, allocations: 7.906 kB / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.5248, allocations: 82.02 kB / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.5248, allocations: 4 kB / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5248, allocations: 0 / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.5248, allocations: 3.938 kB / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.5252, allocations: 330.5 kB / 0.5946 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.5252, allocations: 0 / 0.5946 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.865e-05/0.5252, allocations: 12 kB / 0.5946 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.5252, allocations: 0 / 0.5946 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.5253, allocations: 15.94 kB / 0.5946 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.5253, allocations: 3.984 kB / 0.5946 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5253, allocations: 0 / 0.5946 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.5254, allocations: 167.3 kB / 0.5948 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.5255, allocations: 85.02 kB / 0.5949 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.5255, allocations: 3.984 kB / 0.5949 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.5256, allocations: 8 kB / 0.5949 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.5256, allocations: 8 kB / 0.5949 GB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.5256, allocations: 0 / 0.5949 GB, free: 9.605 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.173e-05/0.5257, allocations: 107.9 kB / 0.595 GB, free: 9.504 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5257, allocations: 0 / 0.595 GB, free: 9.504 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.526, allocations: 31.98 kB / 0.595 GB, free: 9.473 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 (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.0008486/0.5268, allocations: 420 kB / 0.5954 GB, free: 9.164 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.5269, allocations: 32 kB / 0.5954 GB, free: 9.133 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5269, allocations: 0 / 0.5954 GB, free: 9.133 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.354e-05/0.527, allocations: 20 kB / 0.5955 GB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.5272, allocations: 19.88 kB / 0.5955 GB, free: 9.094 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.5274, allocations: 105.5 kB / 0.5956 GB, free: 8.965 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.5277, allocations: 0.7043 MB / 0.5963 GB, free: 8.234 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.05e-05/0.5277, allocations: 12.17 kB / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.5278, allocations: 11.44 kB / 0.5963 GB, free: 8.211 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5278, allocations: 0 / 0.5963 GB, free: 8.211 MB / 410.7 MB Notification: Performance of Templates: time 0.003257/0.531, allocations: 1.289 MB / 0.5975 GB, free: 6.926 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches