Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009832/0.0009829, allocations: 179.6 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.261/1.261, allocations: 221.3 MB / 236 MB, free: 2.938 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.0008973/0.0008972, allocations: 92.05 kB / 287 MB, free: 232 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.166/0.166, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.53e-05/2.531e-05, allocations: 4.219 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 61.92 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.351/0.4678, allocations: 89.18 MB / 0.5888 GB, free: 104 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.4681, allocations: 77.89 kB / 0.5889 GB, free: 28 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01856/0.4867, allocations: 5.471 MB / 0.5942 GB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4867, allocations: 0 / 0.5942 GB, free: 10.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.4868, allocations: 11.94 kB / 0.5942 GB, free: 10.55 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005298/0.4873, allocations: 386.2 kB / 0.5946 GB, free: 10.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.4874, allocations: 12.03 kB / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.4874, allocations: 7.906 kB / 0.5946 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.4878, allocations: 210.8 kB / 0.5948 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.4878, allocations: 7.953 kB / 0.5948 GB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.4879, allocations: 4 kB / 0.5948 GB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.488, allocations: 57.67 kB / 0.5949 GB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.488, allocations: 0 / 0.5949 GB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.4881, allocations: 0 / 0.5949 GB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.4881, allocations: 0 / 0.5949 GB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.983e-05/0.4882, allocations: 27.86 kB / 0.5949 GB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.4886, allocations: 296.9 kB / 0.5952 GB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.4888, allocations: 58.67 kB / 0.5952 GB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.888e-05/0.4889, allocations: 24.92 kB / 0.5953 GB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.4889, allocations: 0 / 0.5953 GB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.4891, allocations: 63.39 kB / 0.5953 GB, free: 9.258 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.4891, allocations: 0 / 0.5953 GB, free: 9.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005376/0.4896, allocations: 161.1 kB / 0.5955 GB, free: 9.094 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.4897, allocations: 59.41 kB / 0.5955 GB, free: 9.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.4899, allocations: 165.4 kB / 0.5957 GB, free: 8.855 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.49, allocations: 29.7 kB / 0.5957 GB, free: 8.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.49, allocations: 100.1 kB / 0.5958 GB, free: 8.719 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.4901, allocations: 19.72 kB / 0.5958 GB, free: 8.699 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-06/0.4901, allocations: 4 kB / 0.5958 GB, free: 8.695 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4903, allocations: 326.8 kB / 0.5962 GB, free: 8.367 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.4903, allocations: 20 kB / 0.5962 GB, free: 8.348 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.4904, allocations: 33.7 kB / 0.5962 GB, free: 8.309 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.408e-05/0.4905, allocations: 20 kB / 0.5962 GB, free: 8.289 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.4905, allocations: 0 / 0.5962 GB, free: 8.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002011/0.4907, allocations: 105.4 kB / 0.5963 GB, free: 8.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4907, allocations: 4 kB / 0.5963 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4907, allocations: 0 / 0.5963 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4907, allocations: 0 / 0.5963 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.4909, allocations: 27.92 kB / 0.5964 GB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.4909, allocations: 0 / 0.5964 GB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.4909, allocations: 8.125 kB / 0.5964 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.491, allocations: 4.031 kB / 0.5964 GB, free: 8.137 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.931e-05/0.491, allocations: 116.9 kB / 0.5965 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.4911, allocations: 7.906 kB / 0.5965 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.4913, allocations: 114.2 kB / 0.5966 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4913, allocations: 4 kB / 0.5966 GB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4913, allocations: 0 / 0.5966 GB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4913, allocations: 0 / 0.5966 GB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.4917, allocations: 419.2 kB / 0.597 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4918, allocations: 0 / 0.597 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.4918, allocations: 11.98 kB / 0.597 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4918, allocations: 3.938 kB / 0.597 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4918, allocations: 4 kB / 0.597 GB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4918, allocations: 0 / 0.597 GB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4918, allocations: 0 / 0.597 GB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.4921, allocations: 221.9 kB / 0.5972 GB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.4921, allocations: 89.19 kB / 0.5973 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.4922, allocations: 12 kB / 0.5973 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.4922, allocations: 4 kB / 0.5973 GB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.4923, allocations: 15.86 kB / 0.5973 GB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.4923, allocations: 4 kB / 0.5974 GB, free: 7.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.4924, allocations: 148.9 kB / 0.5975 GB, free: 6.875 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4924, allocations: 4 kB / 0.5975 GB, free: 6.871 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002385/0.4927, allocations: 28 kB / 0.5975 GB, free: 6.844 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009169/0.4936, allocations: 427.7 kB / 0.5979 GB, free: 6.539 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.4938, allocations: 63.91 kB / 0.598 GB, free: 6.477 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4938, allocations: 0 / 0.598 GB, free: 6.477 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.243e-05/0.4938, allocations: 31.94 kB / 0.598 GB, free: 6.445 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.4941, allocations: 27.83 kB / 0.5981 GB, free: 6.418 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.4945, allocations: 158.9 kB / 0.5982 GB, free: 6.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.4948, allocations: 0.7123 MB / 0.5989 GB, free: 5.492 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.495e-05/0.4948, allocations: 16.42 kB / 0.5989 GB, free: 5.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.4949, allocations: 19.42 kB / 0.5989 GB, free: 5.457 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4949, allocations: 0 / 0.5989 GB, free: 5.457 MB / 410.7 MB Notification: Performance of Templates: time 0.004163/0.4991, allocations: 1.693 MB / 0.6006 GB, free: 3.777 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches