Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001207, allocations: 169.9 kB / 8.742 MB, free: 344 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.285/1.285, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0008653/0.0008655, allocations: 102.2 kB / 281.6 MB, free: 5.332 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.2011/0.2011, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.623e-05/2.634e-05, allocations: 8.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 61.91 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3858/0.5028, allocations: 89.47 MB / 0.582 GB, free: 7.043 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.5031, allocations: 71.97 kB / 0.5821 GB, free: 6.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01168/0.5148, allocations: 4.344 MB / 0.5864 GB, free: 2.645 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5149, allocations: 0 / 0.5864 GB, free: 2.645 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.5149, allocations: 4 kB / 0.5864 GB, free: 2.641 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.0005438/0.5155, allocations: 447.8 kB / 0.5868 GB, free: 2.152 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.5155, allocations: 19.97 kB / 0.5868 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.5156, allocations: 11.91 kB / 0.5868 GB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.5159, allocations: 216.5 kB / 0.587 GB, free: 1.871 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.5159, allocations: 11.95 kB / 0.587 GB, free: 1.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.516, allocations: 4 kB / 0.587 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000107/0.5161, allocations: 39.92 kB / 0.5871 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.5162, allocations: 90.62 kB / 0.5872 GB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.5163, allocations: 0 / 0.5872 GB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.5163, allocations: 4 kB / 0.5872 GB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5163, allocations: 0 / 0.5872 GB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.5169, allocations: 0.4936 MB / 0.5877 GB, free: 1.172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.5171, allocations: 78.67 kB / 0.5877 GB, free: 1.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.704e-05/0.5171, allocations: 24.86 kB / 0.5878 GB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.5172, allocations: 4.219 kB / 0.5878 GB, free: 1.055 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.5173, allocations: 75.33 kB / 0.5878 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.5173, allocations: 3.938 kB / 0.5878 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000217/0.5175, allocations: 105.4 kB / 0.5879 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.5176, allocations: 51.41 kB / 0.588 GB, free: 0.793 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.5177, allocations: 174.6 kB / 0.5881 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.5178, allocations: 26.45 kB / 0.5882 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.5178, allocations: 116 kB / 0.5883 GB, free: 468 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.5179, allocations: 27.56 kB / 0.5883 GB, free: 440 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.5179, allocations: 0 / 0.5883 GB, free: 440 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.518, allocations: 330.8 kB / 0.5886 GB, free: 100 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.942e-05/0.518, allocations: 20 kB / 0.5886 GB, free: 80 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.5181, allocations: 60.42 kB / 0.5887 GB, free: 4 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.755e-05/0.5182, allocations: 32 kB / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5182, allocations: 4 kB / 0.5887 GB, free: 15.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001725/0.5184, allocations: 109.4 kB / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5184, allocations: 13.53 kB / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5184, allocations: 0 / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.5184, allocations: 0 / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.5185, allocations: 27.92 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.5185, allocations: 4 kB / 0.5889 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.88e-05/0.5186, allocations: 11.92 kB / 0.5889 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.5186, allocations: 4 kB / 0.5889 GB, free: 15.8 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.912e-05/0.5187, allocations: 112.9 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.5188, allocations: 19.81 kB / 0.589 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.519, allocations: 111.5 kB / 0.5891 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.519, allocations: 3.938 kB / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.519, allocations: 0 / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.519, allocations: 3.984 kB / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.5192, allocations: 194.3 kB / 0.5893 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5192, allocations: 0 / 0.5893 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.171e-05/0.5192, allocations: 12 kB / 0.5893 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5193, allocations: 0 / 0.5893 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.5193, allocations: 0 / 0.5893 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5193, allocations: 4 kB / 0.5893 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5193, allocations: 4 kB / 0.5893 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.5195, allocations: 172.9 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.5196, allocations: 100.8 kB / 0.5896 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.5197, allocations: 0 / 0.5896 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.5197, allocations: 12 kB / 0.5896 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.5198, allocations: 8.047 kB / 0.5896 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.5198, allocations: 4 kB / 0.5896 GB, free: 14.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.751e-05/0.5199, allocations: 136.1 kB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5199, allocations: 0 / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.5201, allocations: 24 kB / 0.5898 GB, free: 14.81 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.0007806/0.5209, allocations: 361.3 kB / 0.5901 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.5211, allocations: 67.92 kB / 0.5902 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5211, allocations: 0 / 0.5902 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.705e-05/0.5211, allocations: 31.94 kB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.5214, allocations: 32.16 kB / 0.5903 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.5218, allocations: 175.1 kB / 0.5904 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.5221, allocations: 0.7203 MB / 0.5911 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.897e-05/0.5222, allocations: 21.19 kB / 0.5911 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.5222, allocations: 15.44 kB / 0.5912 GB, free: 13.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5222, allocations: 0 / 0.5912 GB, free: 13.41 MB / 410.7 MB Notification: Performance of Templates: time 0.004299/0.5265, allocations: 1.702 MB / 0.5928 GB, free: 11.72 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches