Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009207/0.0009206, allocations: 179.2 kB / 18.09 MB, free: 3.75 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.217/1.217, allocations: 223.3 MB / 242.1 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007698/0.0007699, allocations: 96.12 kB / 293.3 MB, free: 10.77 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.2757/0.2757, allocations: 44.13 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003326, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2711, allocations: 61.88 MB / 0.5107 GB, free: 38.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09617/0.3673, allocations: 88.06 MB / 0.5967 GB, free: 7.012 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.3676, allocations: 83.94 kB / 0.5968 GB, free: 6.934 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01027/0.3779, allocations: 4.395 MB / 0.6011 GB, free: 2.539 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3779, allocations: 0 / 0.6011 GB, free: 2.539 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.3779, allocations: 0 / 0.6011 GB, free: 2.539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003823/0.3783, allocations: 422.9 kB / 0.6015 GB, free: 2.074 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3784, allocations: 8.031 kB / 0.6015 GB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.3784, allocations: 16.83 kB / 0.6015 GB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.3786, allocations: 224.4 kB / 0.6017 GB, free: 1.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.3786, allocations: 384 / 0.6017 GB, free: 1.793 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.3787, allocations: 4.375 kB / 0.6017 GB, free: 1.789 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3788, allocations: 54.23 kB / 0.6018 GB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3788, allocations: 4.125 kB / 0.6018 GB, free: 1.727 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3788, allocations: 11.92 kB / 0.6018 GB, free: 1.715 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3789, allocations: 4 kB / 0.6018 GB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.703e-05/0.379, allocations: 27.92 kB / 0.6018 GB, free: 1.684 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.3793, allocations: 316.7 kB / 0.6021 GB, free: 1.324 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.883e-05/0.3794, allocations: 46.56 kB / 0.6022 GB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.3795, allocations: 12.86 kB / 0.6022 GB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.3795, allocations: 4 kB / 0.6022 GB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.3795, allocations: 42.58 kB / 0.6022 GB, free: 1.199 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3795, allocations: 0 / 0.6022 GB, free: 1.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007738/0.3803, allocations: 245 kB / 0.6025 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.3804, allocations: 51.41 kB / 0.6025 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.3806, allocations: 233 kB / 0.6027 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.3806, allocations: 29.7 kB / 0.6028 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.3807, allocations: 112.1 kB / 0.6029 GB, free: 0.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.3807, allocations: 23.78 kB / 0.6029 GB, free: 488 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.3807, allocations: 4 kB / 0.6029 GB, free: 484 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.3808, allocations: 326.8 kB / 0.6032 GB, free: 148 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.3809, allocations: 31.97 kB / 0.6032 GB, free: 116 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.381, allocations: 27.98 kB / 0.6033 GB, free: 88 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.3811, allocations: 73.05 kB / 0.6033 GB, free: 12 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3811, allocations: 0 / 0.6033 GB, free: 12 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000204/0.3813, allocations: 113.4 kB / 0.6034 GB, free: 15.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3814, allocations: 7.984 kB / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3814, allocations: 4 kB / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.3814, allocations: 0 / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.891e-05/0.3815, allocations: 16 kB / 0.6035 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3815, allocations: 3.984 kB / 0.6035 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.106e-05/0.3815, allocations: 15.88 kB / 0.6035 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3816, allocations: 0 / 0.6035 GB, free: 15.85 MB / 426.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 (8): * Single equations (assignments): 8 * 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 8.624e-05/0.3816, allocations: 137.8 kB / 0.6036 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.3817, allocations: 15.81 kB / 0.6036 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.3819, allocations: 127 kB / 0.6038 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3819, allocations: 4 kB / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.382, allocations: 0 / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.382, allocations: 0 / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.3824, allocations: 435.2 kB / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3824, allocations: 3.984 kB / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/0.3825, allocations: 16 kB / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3825, allocations: 0 / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3825, allocations: 11.97 kB / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3826, allocations: 3.984 kB / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3826, allocations: 7.875 kB / 0.6042 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.3828, allocations: 216.4 kB / 0.6044 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.3829, allocations: 97.33 kB / 0.6045 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.3829, allocations: 11.94 kB / 0.6045 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.701e-05/0.383, allocations: 7.984 kB / 0.6045 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.383, allocations: 4 kB / 0.6045 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.383, allocations: 4 kB / 0.6045 GB, free: 14.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001425/0.3832, allocations: 180.3 kB / 0.6047 GB, free: 14.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3832, allocations: 0 / 0.6047 GB, free: 14.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.3834, allocations: 35.98 kB / 0.6048 GB, free: 14.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008533/0.3843, allocations: 478.9 kB / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.3845, allocations: 67.97 kB / 0.6053 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3845, allocations: 0 / 0.6053 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.815e-05/0.3846, allocations: 39.91 kB / 0.6053 GB, free: 14.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.3848, allocations: 16 kB / 0.6053 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.3853, allocations: 309.8 kB / 0.6056 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.3856, allocations: 0.7149 MB / 0.6063 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.704e-05/0.3856, allocations: 24.95 kB / 0.6063 GB, free: 12.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.3857, allocations: 19.38 kB / 0.6064 GB, free: 12.92 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3857, allocations: 0 / 0.6064 GB, free: 12.92 MB / 426.7 MB Notification: Performance of Templates: time 0.003317/0.389, allocations: 1.416 MB / 0.6077 GB, free: 11.52 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches