Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009614/0.0009614, 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.229/1.229, allocations: 221.3 MB / 236 MB, free: 2.953 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.0008782/0.0008783, allocations: 97.39 kB / 287 MB, free: 236 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.1668/0.1668, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.619e-05/3.621e-05, allocations: 4.219 kB / 451.8 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 61.9 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3586/0.4684, allocations: 88.09 MB / 0.5877 GB, free: 1.203 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.4686, allocations: 74.53 kB / 0.5878 GB, free: 1.133 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01146/0.4801, allocations: 4.342 MB / 0.592 GB, free: 12.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4802, allocations: 4 kB / 0.592 GB, free: 12.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.4802, allocations: 0 / 0.592 GB, free: 12.8 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004382/0.4806, allocations: 382.2 kB / 0.5924 GB, free: 12.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.4807, allocations: 12.03 kB / 0.5924 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.4807, allocations: 11.91 kB / 0.5924 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.481, allocations: 199.8 kB / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.481, allocations: 0 / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.481, allocations: 11.94 kB / 0.5926 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.4812, allocations: 69.64 kB / 0.5927 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4812, allocations: 0 / 0.5927 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.4812, allocations: 0 / 0.5927 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4812, allocations: 4 kB / 0.5927 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.9e-05/0.4813, allocations: 27.98 kB / 0.5927 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.4817, allocations: 328.5 kB / 0.593 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.556e-05/0.4818, allocations: 54.58 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.4819, allocations: 16.86 kB / 0.5931 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.4819, allocations: 3.938 kB / 0.5931 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.4819, allocations: 42.55 kB / 0.5932 GB, free: 11.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.4819, allocations: 0 / 0.5932 GB, free: 11.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005745/0.4825, allocations: 210.5 kB / 0.5934 GB, free: 11.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.4826, allocations: 59.41 kB / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.4827, allocations: 134.7 kB / 0.5935 GB, free: 11.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.4827, allocations: 29.7 kB / 0.5936 GB, free: 11.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.4828, allocations: 104 kB / 0.5937 GB, free: 10.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.4828, allocations: 39.36 kB / 0.5937 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.4828, allocations: 0 / 0.5937 GB, free: 10.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.4829, allocations: 326.8 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/0.483, allocations: 24 kB / 0.594 GB, free: 10.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.954e-05/0.483, allocations: 28 kB / 0.5941 GB, free: 10.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.586e-05/0.4831, allocations: 37.48 kB / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.4831, allocations: 0 / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001512/0.4832, allocations: 105.5 kB / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.4833, allocations: 8 kB / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.4833, allocations: 0 / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.4833, allocations: 0 / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.4834, allocations: 31.98 kB / 0.5942 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4834, allocations: 0 / 0.5942 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.4835, allocations: 11.98 kB / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.4835, allocations: 7.953 kB / 0.5943 GB, free: 10.31 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 (13): * Single equations (assignments): 13 * 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.685e-05/0.4836, allocations: 112.9 kB / 0.5944 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.4836, allocations: 11.89 kB / 0.5944 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.4839, allocations: 150 kB / 0.5945 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4839, allocations: 0 / 0.5945 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4839, allocations: 0 / 0.5945 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.4839, allocations: 4 kB / 0.5945 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.4844, allocations: 459.1 kB / 0.595 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.4844, allocations: 0 / 0.595 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.4845, allocations: 23.98 kB / 0.595 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4845, allocations: 4 kB / 0.595 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.4846, allocations: 7.891 kB / 0.595 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.4846, allocations: 8.031 kB / 0.595 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.4846, allocations: 7.984 kB / 0.595 GB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.4849, allocations: 224.9 kB / 0.5952 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.485, allocations: 89 kB / 0.5953 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.485, allocations: 3.953 kB / 0.5953 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.4851, allocations: 19.98 kB / 0.5953 GB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.4852, allocations: 4 kB / 0.5953 GB, free: 9.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.4852, allocations: 7.984 kB / 0.5953 GB, free: 9.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.742e-05/0.4853, allocations: 121.5 kB / 0.5955 GB, free: 8.973 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4853, allocations: 0 / 0.5955 GB, free: 8.973 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.4855, allocations: 24 kB / 0.5955 GB, free: 8.949 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 (13): * Single equations (assignments): 13 * 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.0009006/0.4864, allocations: 413.8 kB / 0.5959 GB, free: 8.648 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.4866, allocations: 72 kB / 0.5959 GB, free: 8.578 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4866, allocations: 0 / 0.5959 GB, free: 8.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/0.4867, allocations: 51.86 kB / 0.596 GB, free: 8.527 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.4869, allocations: 15.98 kB / 0.596 GB, free: 8.512 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.4873, allocations: 182.5 kB / 0.5962 GB, free: 8.309 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.4876, allocations: 0.7081 MB / 0.5969 GB, free: 7.574 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.078e-05/0.4876, allocations: 24.47 kB / 0.5969 GB, free: 7.551 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.4877, allocations: 15.44 kB / 0.5969 GB, free: 7.535 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4877, allocations: 0 / 0.5969 GB, free: 7.535 MB / 410.7 MB Notification: Performance of Templates: time 0.003697/0.4914, allocations: 1.414 MB / 0.5983 GB, free: 6.125 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches