Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 180.5 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.303/1.303, allocations: 221.3 MB / 236 MB, free: 2.973 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.0008554/0.0008553, allocations: 99.17 kB / 287 MB, free: 244 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.1694/0.1694, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.23e-05, allocations: 4 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3587/0.4695, allocations: 87.98 MB / 0.5876 GB, free: 1.336 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.4699, allocations: 71.95 kB / 0.5877 GB, free: 1.266 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01121/0.4811, allocations: 4.305 MB / 0.5919 GB, free: 12.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4812, allocations: 0 / 0.5919 GB, free: 12.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.4812, allocations: 0 / 0.5919 GB, free: 12.96 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.0003896/0.4816, allocations: 402.2 kB / 0.5923 GB, free: 12.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4817, allocations: 15.97 kB / 0.5923 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.4817, allocations: 11.81 kB / 0.5923 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.482, allocations: 207.5 kB / 0.5925 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.482, allocations: 11.92 kB / 0.5925 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.482, allocations: 0 / 0.5925 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.4821, allocations: 57.62 kB / 0.5926 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4822, allocations: 0 / 0.5926 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.4822, allocations: 4 kB / 0.5926 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4822, allocations: 4 kB / 0.5926 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.579e-05/0.4822, allocations: 12 kB / 0.5926 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.4826, allocations: 300.7 kB / 0.5929 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.961e-05/0.4827, allocations: 42.56 kB / 0.5929 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.4827, allocations: 12.86 kB / 0.5929 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.4828, allocations: 4 kB / 0.5929 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.4828, allocations: 34.56 kB / 0.593 GB, free: 11.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4828, allocations: 0 / 0.593 GB, free: 11.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004635/0.4833, allocations: 149.2 kB / 0.5931 GB, free: 11.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.4833, allocations: 51.41 kB / 0.5932 GB, free: 11.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.4835, allocations: 211.1 kB / 0.5934 GB, free: 11.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.4835, allocations: 29.7 kB / 0.5934 GB, free: 11.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.4836, allocations: 108 kB / 0.5935 GB, free: 11.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.4836, allocations: 31.7 kB / 0.5935 GB, free: 11.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.4836, allocations: 0 / 0.5935 GB, free: 11.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4838, allocations: 330.8 kB / 0.5938 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/0.4838, allocations: 16 kB / 0.5938 GB, free: 10.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.4838, allocations: 12 kB / 0.5939 GB, free: 10.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.4839, allocations: 20.22 kB / 0.5939 GB, free: 10.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4839, allocations: 0 / 0.5939 GB, free: 10.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001249/0.484, allocations: 89.5 kB / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.484, allocations: 5.562 kB / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.484, allocations: 0 / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.4841, allocations: 0 / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.936e-05/0.4842, allocations: 23.92 kB / 0.594 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4842, allocations: 0 / 0.594 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.4842, allocations: 11.98 kB / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.4842, allocations: 0 / 0.594 GB, free: 10.59 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 (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 7.147e-05/0.4843, allocations: 112.9 kB / 0.5941 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.4844, allocations: 15.84 kB / 0.5941 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.4845, allocations: 95.2 kB / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.4845, allocations: 0 / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.4846, allocations: 0 / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4846, allocations: 0 / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.485, allocations: 423 kB / 0.5946 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.485, allocations: 0 / 0.5946 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.115e-05/0.4851, allocations: 19.98 kB / 0.5946 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4851, allocations: 4 kB / 0.5946 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.4851, allocations: 0 / 0.5946 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4851, allocations: 0 / 0.5946 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4851, allocations: 288 / 0.5946 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.4853, allocations: 202.2 kB / 0.5948 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.4854, allocations: 108.8 kB / 0.5949 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.4854, allocations: 0 / 0.5949 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.4855, allocations: 8 kB / 0.5949 GB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.4855, allocations: 11.94 kB / 0.595 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.4855, allocations: 8 kB / 0.595 GB, free: 9.484 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001283/0.4856, allocations: 167.2 kB / 0.5951 GB, free: 9.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4857, allocations: 4 kB / 0.5951 GB, free: 9.316 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.4859, allocations: 31.94 kB / 0.5952 GB, free: 9.285 MB / 410.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 () * 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.0008333/0.4867, allocations: 413.3 kB / 0.5956 GB, free: 8.996 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.4869, allocations: 51.94 kB / 0.5956 GB, free: 8.945 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4869, allocations: 0 / 0.5956 GB, free: 8.945 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.4869, allocations: 24 kB / 0.5956 GB, free: 8.922 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.4871, allocations: 19.92 kB / 0.5956 GB, free: 8.902 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.4875, allocations: 195 kB / 0.5958 GB, free: 8.688 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.4877, allocations: 0.7161 MB / 0.5965 GB, free: 7.945 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.4878, allocations: 16.97 kB / 0.5965 GB, free: 7.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.4878, allocations: 15.42 kB / 0.5966 GB, free: 7.914 MB / 410.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4879, allocations: 0 / 0.5966 GB, free: 7.914 MB / 410.7 MB Notification: Performance of Templates: time 0.003287/0.4911, allocations: 1.369 MB / 0.5979 GB, free: 6.547 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches