Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") 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: 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.238/1.238, allocations: 221.4 MB / 236 MB, free: 2.922 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.0009248/0.000925, allocations: 84.16 kB / 287 MB, free: 200 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.1813/0.1813, allocations: 44.14 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.07e-05, allocations: 8.203 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3418/0.4533, allocations: 88.93 MB / 0.5886 GB, free: 412 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.4535, allocations: 79.94 kB / 0.5886 GB, free: 332 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01137/0.4649, allocations: 4.571 MB / 0.5931 GB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4649, allocations: 0 / 0.5931 GB, free: 11.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.4649, allocations: 4 kB / 0.5931 GB, free: 11.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003743/0.4653, allocations: 394.2 kB / 0.5935 GB, free: 11.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4654, allocations: 8.031 kB / 0.5935 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.4654, allocations: 11.89 kB / 0.5935 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.4657, allocations: 214.2 kB / 0.5937 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.4657, allocations: 7.953 kB / 0.5937 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.4657, allocations: 3.828 kB / 0.5937 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.4658, allocations: 57.69 kB / 0.5938 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4659, allocations: 3.938 kB / 0.5938 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.4659, allocations: 3.938 kB / 0.5938 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4659, allocations: 0 / 0.5938 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.677e-05/0.466, allocations: 27.98 kB / 0.5938 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.4664, allocations: 328.7 kB / 0.5941 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.4666, allocations: 50.59 kB / 0.5942 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.871e-05/0.4667, allocations: 20.98 kB / 0.5942 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.4667, allocations: 0 / 0.5942 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.4667, allocations: 38.56 kB / 0.5942 GB, free: 10.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.4667, allocations: 0 / 0.5942 GB, free: 10.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006229/0.4674, allocations: 237.4 kB / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.4674, allocations: 51.41 kB / 0.5945 GB, free: 10.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.4676, allocations: 168.6 kB / 0.5947 GB, free: 9.973 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.4676, allocations: 25.7 kB / 0.5947 GB, free: 9.941 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.4676, allocations: 104.1 kB / 0.5948 GB, free: 9.836 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.4677, allocations: 39.44 kB / 0.5948 GB, free: 9.797 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.4677, allocations: 8 kB / 0.5948 GB, free: 9.789 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4678, allocations: 318.8 kB / 0.5951 GB, free: 9.469 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.315e-05/0.4679, allocations: 35.94 kB / 0.5952 GB, free: 9.434 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.204e-05/0.4679, allocations: 35.98 kB / 0.5952 GB, free: 9.398 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.163e-05/0.468, allocations: 42.72 kB / 0.5952 GB, free: 9.359 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.468, allocations: 7.984 kB / 0.5952 GB, free: 9.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001731/0.4682, allocations: 121.6 kB / 0.5954 GB, free: 9.227 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.4682, allocations: 4 kB / 0.5954 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.4682, allocations: 0 / 0.5954 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.4682, allocations: 4 kB / 0.5954 GB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.4684, allocations: 35.98 kB / 0.5954 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.4684, allocations: 11.88 kB / 0.5954 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.816e-05/0.4685, allocations: 16 kB / 0.5954 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.4685, allocations: 4 kB / 0.5954 GB, free: 9.152 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 (11): * Single equations (assignments): 11 * 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.129e-05/0.4685, allocations: 108.9 kB / 0.5955 GB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.4686, allocations: 19.8 kB / 0.5956 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.4688, allocations: 146.2 kB / 0.5957 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4688, allocations: 7.938 kB / 0.5957 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4689, allocations: 0 / 0.5957 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4689, allocations: 7.953 kB / 0.5957 GB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005144/0.4694, allocations: 468.1 kB / 0.5962 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4694, allocations: 0 / 0.5962 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.4695, allocations: 31.92 kB / 0.5962 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4695, allocations: 4 kB / 0.5962 GB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.4695, allocations: 8.016 kB / 0.5962 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.4696, allocations: 0 / 0.5962 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4696, allocations: 7.938 kB / 0.5962 GB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.4698, allocations: 256.4 kB / 0.5964 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.4699, allocations: 101 kB / 0.5965 GB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.4699, allocations: 0 / 0.5965 GB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.47, allocations: 19.98 kB / 0.5966 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.47, allocations: 7.984 kB / 0.5966 GB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.47, allocations: 4 kB / 0.5966 GB, free: 7.852 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.4702, allocations: 130.5 kB / 0.5967 GB, free: 7.727 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4702, allocations: 0 / 0.5967 GB, free: 7.727 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002407/0.4704, allocations: 43.92 kB / 0.5967 GB, free: 7.684 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008487/0.4713, allocations: 418.6 kB / 0.5971 GB, free: 7.387 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.4714, allocations: 87.98 kB / 0.5972 GB, free: 7.301 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4714, allocations: 4 kB / 0.5972 GB, free: 7.297 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.4715, allocations: 51.92 kB / 0.5973 GB, free: 7.246 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.4717, allocations: 23.8 kB / 0.5973 GB, free: 7.223 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.4722, allocations: 215.5 kB / 0.5975 GB, free: 6.984 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.4725, allocations: 0.7162 MB / 0.5982 GB, free: 6.242 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.947e-05/0.4726, allocations: 32.38 kB / 0.5982 GB, free: 6.211 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.4726, allocations: 23.42 kB / 0.5983 GB, free: 6.188 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4726, allocations: 0 / 0.5983 GB, free: 6.188 MB / 410.7 MB Notification: Performance of Templates: time 0.003941/0.4766, allocations: 1.552 MB / 0.5998 GB, free: 4.641 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches