Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 169.3 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 221.5 MB / 230.7 MB, free: 7.5 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.0008725/0.0008727, allocations: 101.8 kB / 281.6 MB, free: 5.242 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.2085/0.2085, allocations: 44.15 MB / 376.5 MB, free: 3.016 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.718e-05/1.72e-05, allocations: 8.219 kB / 444.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 61.91 MB / 0.4947 GB, free: 1.223 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3558/0.4774, allocations: 89.47 MB / 0.5821 GB, free: 7.023 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.4777, allocations: 75.95 kB / 0.5821 GB, free: 6.949 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01254/0.4903, allocations: 4.357 MB / 0.5864 GB, free: 2.602 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4904, allocations: 0 / 0.5864 GB, free: 2.602 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.4904, allocations: 4 kB / 0.5864 GB, free: 2.598 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005738/0.491, allocations: 451.8 kB / 0.5868 GB, free: 2.105 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.491, allocations: 11.98 kB / 0.5868 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.4911, allocations: 11.91 kB / 0.5868 GB, free: 2.082 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.4914, allocations: 228.5 kB / 0.5871 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.4915, allocations: 11.89 kB / 0.5871 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.4915, allocations: 4 kB / 0.5871 GB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001329/0.4916, allocations: 32 kB / 0.5871 GB, free: 1.773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.4918, allocations: 88.23 kB / 0.5872 GB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4919, allocations: 3.984 kB / 0.5872 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.4919, allocations: 0 / 0.5872 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4919, allocations: 4 kB / 0.5872 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007891/0.4927, allocations: 0.4897 MB / 0.5877 GB, free: 1.129 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.493, allocations: 78.67 kB / 0.5878 GB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.493, allocations: 28.86 kB / 0.5878 GB, free: 1.012 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.4931, allocations: 8.156 kB / 0.5878 GB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.4932, allocations: 75.38 kB / 0.5879 GB, free: 0.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.4932, allocations: 3.938 kB / 0.5879 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002318/0.4935, allocations: 101.4 kB / 0.588 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.4935, allocations: 59.41 kB / 0.588 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.4937, allocations: 163.4 kB / 0.5882 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.4937, allocations: 25.7 kB / 0.5882 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/0.4938, allocations: 116 kB / 0.5883 GB, free: 424 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.4938, allocations: 31.55 kB / 0.5883 GB, free: 392 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.4938, allocations: 0 / 0.5883 GB, free: 392 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4939, allocations: 326.8 kB / 0.5886 GB, free: 56 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.676e-05/0.494, allocations: 20.12 kB / 0.5887 GB, free: 36 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-05/0.4941, allocations: 64.28 kB / 0.5887 GB, free: 15.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.05e-05/0.4941, allocations: 31.95 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4942, allocations: 0 / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001808/0.4943, allocations: 109.6 kB / 0.5889 GB, free: 15.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.4944, allocations: 11.98 kB / 0.5889 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.4944, allocations: 7.938 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.4944, allocations: 0 / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.4945, allocations: 24 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4945, allocations: 3.984 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.4946, allocations: 11.94 kB / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.4946, allocations: 4 kB / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.447e-05/0.4947, allocations: 120.2 kB / 0.589 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.4948, allocations: 11.81 kB / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.495, allocations: 115.4 kB / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.495, allocations: 7.984 kB / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.495, allocations: 0 / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.495, allocations: 0 / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.4952, allocations: 186.1 kB / 0.5893 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4952, allocations: 0 / 0.5893 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.559e-05/0.4953, allocations: 12 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.4953, allocations: 0 / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.4953, allocations: 7.984 kB / 0.5894 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4953, allocations: 0 / 0.5894 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4953, allocations: 0 / 0.5894 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.4956, allocations: 173 kB / 0.5895 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.4956, allocations: 100.8 kB / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.4957, allocations: 4 kB / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.4957, allocations: 7.984 kB / 0.5896 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.4958, allocations: 8.062 kB / 0.5896 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.4958, allocations: 4 kB / 0.5896 GB, free: 14.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.4959, allocations: 136.1 kB / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4959, allocations: 0 / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.4962, allocations: 24 kB / 0.5898 GB, free: 14.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008126/0.497, allocations: 359.8 kB / 0.5901 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.4972, allocations: 59.94 kB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4972, allocations: 4 kB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.94e-05/0.4972, allocations: 35.94 kB / 0.5902 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.4975, allocations: 24.16 kB / 0.5903 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.498, allocations: 179.1 kB / 0.5904 GB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.4983, allocations: 0.7203 MB / 0.5911 GB, free: 13.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.792e-05/0.4984, allocations: 21.19 kB / 0.5912 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.4984, allocations: 15.44 kB / 0.5912 GB, free: 13.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4984, allocations: 0 / 0.5912 GB, free: 13.39 MB / 410.7 MB Notification: Performance of Templates: time 0.004208/0.5027, allocations: 1.715 MB / 0.5928 GB, free: 11.68 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches