Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,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.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008254/0.0008255, allocations: 176 kB / 18.08 MB, free: 3.637 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.177/1.177, allocations: 223.3 MB / 242.1 MB, free: 9.992 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.0007202/0.0007202, allocations: 96.69 kB / 293.3 MB, free: 10.58 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.261/0.261, allocations: 44.13 MB / 388.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003272, allocations: 11.98 kB / 461.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2774, allocations: 61.88 MB / 0.5107 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09883/0.3763, allocations: 88.17 MB / 0.5968 GB, free: 6.914 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.3766, allocations: 75.95 kB / 0.5969 GB, free: 6.844 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01184/0.3885, allocations: 4.535 MB / 0.6013 GB, free: 2.305 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3885, allocations: 0 / 0.6013 GB, free: 2.305 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.3885, allocations: 4 kB / 0.6013 GB, free: 2.301 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.0005001/0.389, allocations: 415 kB / 0.6017 GB, free: 1.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3891, allocations: 12.02 kB / 0.6017 GB, free: 1.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.3891, allocations: 16.75 kB / 0.6018 GB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.3894, allocations: 219.9 kB / 0.602 GB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.3894, allocations: 8.375 kB / 0.602 GB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.3895, allocations: 384 / 0.602 GB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3896, allocations: 62.17 kB / 0.602 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3897, allocations: 192 / 0.602 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3897, allocations: 3.938 kB / 0.602 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3897, allocations: 4 kB / 0.602 GB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.3898, allocations: 27.97 kB / 0.6021 GB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.3903, allocations: 324.7 kB / 0.6024 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.3904, allocations: 50.5 kB / 0.6024 GB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.3905, allocations: 20.94 kB / 0.6024 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3905, allocations: 8 kB / 0.6025 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.3906, allocations: 30.56 kB / 0.6025 GB, free: 0.957 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.3906, allocations: 0 / 0.6025 GB, free: 0.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.001039/0.3916, allocations: 277.2 kB / 0.6027 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.3917, allocations: 55.41 kB / 0.6028 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.392, allocations: 263 kB / 0.6031 GB, free: 360 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.392, allocations: 29.7 kB / 0.6031 GB, free: 324 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.392, allocations: 108.1 kB / 0.6032 GB, free: 212 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.3921, allocations: 31.55 kB / 0.6032 GB, free: 180 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.3921, allocations: 4 kB / 0.6032 GB, free: 176 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3922, allocations: 326.8 kB / 0.6035 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.468e-05/0.3923, allocations: 43.91 kB / 0.6036 GB, free: 15.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.037e-05/0.3924, allocations: 32.06 kB / 0.6036 GB, free: 15.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.3926, allocations: 84.8 kB / 0.6037 GB, free: 15.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3926, allocations: 0 / 0.6037 GB, free: 15.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000221/0.3928, allocations: 125.5 kB / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3928, allocations: 6.188 kB / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3928, allocations: 0 / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3929, allocations: 4 kB / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.733e-05/0.393, allocations: 19.92 kB / 0.6038 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.393, allocations: 11.94 kB / 0.6038 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.393, allocations: 4 kB / 0.6038 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.3931, allocations: 8 kB / 0.6039 GB, free: 15.5 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 0.0001092/0.3932, allocations: 138.3 kB / 0.604 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.3932, allocations: 15.81 kB / 0.604 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.3935, allocations: 135 kB / 0.6041 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3935, allocations: 4 kB / 0.6041 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3935, allocations: 0 / 0.6041 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3935, allocations: 0 / 0.6041 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.3941, allocations: 467.5 kB / 0.6046 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3941, allocations: 0 / 0.6046 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.65e-05/0.3942, allocations: 19.98 kB / 0.6046 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3942, allocations: 0 / 0.6046 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.3942, allocations: 7.938 kB / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3942, allocations: 0 / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3942, allocations: 80 / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.3945, allocations: 232.2 kB / 0.6048 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.3946, allocations: 104.9 kB / 0.6049 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.3946, allocations: 11.92 kB / 0.6049 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-05/0.3947, allocations: 8 kB / 0.6049 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.3947, allocations: 11.98 kB / 0.605 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.3947, allocations: 0 / 0.605 GB, free: 14.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001662/0.3949, allocations: 197.3 kB / 0.6051 GB, free: 14.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3949, allocations: 0 / 0.6051 GB, free: 14.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002625/0.3952, allocations: 31.94 kB / 0.6052 GB, free: 14.04 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.0009309/0.3961, allocations: 470.4 kB / 0.6056 GB, free: 13.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.3964, allocations: 83.88 kB / 0.6057 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3964, allocations: 4 kB / 0.6057 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.3965, allocations: 43.97 kB / 0.6058 GB, free: 13.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.3968, allocations: 16 kB / 0.6058 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005802/0.3974, allocations: 338.8 kB / 0.6061 GB, free: 13.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.3977, allocations: 0.716 MB / 0.6068 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.775e-05/0.3978, allocations: 32.89 kB / 0.6068 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.3978, allocations: 23.42 kB / 0.6068 GB, free: 12.46 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3978, allocations: 0 / 0.6068 GB, free: 12.46 MB / 426.7 MB Notification: Performance of Templates: time 0.003756/0.4016, allocations: 1.5 MB / 0.6083 GB, free: 10.96 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches