Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009528/0.0009529, allocations: 180 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.241/1.241, allocations: 221.3 MB / 236 MB, free: 2.957 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.000768/0.0007679, allocations: 95.8 kB / 287 MB, free: 244 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.1702/0.1702, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.407e-05, allocations: 4.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1244, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.394/0.5185, allocations: 90.12 MB / 0.5897 GB, free: 15.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.5188, allocations: 75.95 kB / 0.5898 GB, free: 15.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0113/0.5301, allocations: 4.39 MB / 0.5941 GB, free: 10.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5301, allocations: 0 / 0.5941 GB, free: 10.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.5301, allocations: 4 kB / 0.5941 GB, free: 10.73 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004944/0.5306, allocations: 455.8 kB / 0.5945 GB, free: 10.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5307, allocations: 8.031 kB / 0.5945 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/0.5308, allocations: 11.91 kB / 0.5945 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.5311, allocations: 227.2 kB / 0.5948 GB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.5311, allocations: 11.95 kB / 0.5948 GB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.5311, allocations: 4 kB / 0.5948 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.5313, allocations: 105.8 kB / 0.5949 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.5313, allocations: 0 / 0.5949 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.5314, allocations: 0 / 0.5949 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5314, allocations: 4 kB / 0.5949 GB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.676e-05/0.5315, allocations: 47.92 kB / 0.5949 GB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.532, allocations: 0.5126 MB / 0.5954 GB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.5323, allocations: 82.66 kB / 0.5955 GB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.434e-05/0.5324, allocations: 29.08 kB / 0.5955 GB, free: 9.074 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.5324, allocations: 8 kB / 0.5955 GB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.5325, allocations: 87.25 kB / 0.5956 GB, free: 8.969 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.5325, allocations: 0 / 0.5956 GB, free: 8.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002435/0.5328, allocations: 109.4 kB / 0.5957 GB, free: 8.855 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.5328, allocations: 51.41 kB / 0.5958 GB, free: 8.793 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.533, allocations: 178.6 kB / 0.5959 GB, free: 8.602 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.5331, allocations: 25.7 kB / 0.596 GB, free: 8.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.5331, allocations: 116 kB / 0.5961 GB, free: 8.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.5332, allocations: 35.55 kB / 0.5961 GB, free: 8.418 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-06/0.5332, allocations: 0 / 0.5961 GB, free: 8.418 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.5333, allocations: 326.8 kB / 0.5964 GB, free: 8.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.401e-05/0.5333, allocations: 20 kB / 0.5964 GB, free: 8.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.694e-05/0.5334, allocations: 57.78 kB / 0.5965 GB, free: 8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.684e-05/0.5334, allocations: 35.92 kB / 0.5965 GB, free: 7.965 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5335, allocations: 0 / 0.5965 GB, free: 7.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001784/0.5336, allocations: 125.4 kB / 0.5967 GB, free: 7.836 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.5337, allocations: 5.406 kB / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5337, allocations: 4 kB / 0.5967 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.5337, allocations: 128 / 0.5967 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.5338, allocations: 35.97 kB / 0.5967 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5338, allocations: 4 kB / 0.5967 GB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.861e-05/0.5339, allocations: 11.94 kB / 0.5967 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.5339, allocations: 7.953 kB / 0.5967 GB, free: 7.77 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 7.051e-05/0.534, allocations: 116.9 kB / 0.5968 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.534, allocations: 15.81 kB / 0.5968 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.5342, allocations: 123.2 kB / 0.597 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5342, allocations: 4 kB / 0.597 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5342, allocations: 0 / 0.597 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.5343, allocations: 0 / 0.597 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.5344, allocations: 217.7 kB / 0.5972 GB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5344, allocations: 3.984 kB / 0.5972 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.03e-05/0.5345, allocations: 12 kB / 0.5972 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5345, allocations: 0 / 0.5972 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.5345, allocations: 4 kB / 0.5972 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5345, allocations: 0 / 0.5972 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5346, allocations: 0 / 0.5972 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.5348, allocations: 185.6 kB / 0.5974 GB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.5349, allocations: 96.88 kB / 0.5975 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.5349, allocations: 8 kB / 0.5975 GB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.535, allocations: 7.938 kB / 0.5975 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.535, allocations: 7.984 kB / 0.5975 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.535, allocations: 4 kB / 0.5975 GB, free: 6.879 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.5352, allocations: 149.2 kB / 0.5976 GB, free: 6.734 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5352, allocations: 0 / 0.5976 GB, free: 6.734 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000203/0.5354, allocations: 28.12 kB / 0.5977 GB, free: 6.707 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.0008185/0.5362, allocations: 378.1 kB / 0.598 GB, free: 6.434 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.5364, allocations: 71.86 kB / 0.5981 GB, free: 6.363 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5364, allocations: 0 / 0.5981 GB, free: 6.363 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.155e-05/0.5364, allocations: 32 kB / 0.5981 GB, free: 6.332 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.5367, allocations: 40.36 kB / 0.5982 GB, free: 6.289 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.5371, allocations: 192 kB / 0.5983 GB, free: 6.082 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.5375, allocations: 0.7204 MB / 0.599 GB, free: 5.336 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.471e-05/0.5376, allocations: 29.19 kB / 0.5991 GB, free: 5.305 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.5377, allocations: 15.44 kB / 0.5991 GB, free: 5.289 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5377, allocations: 0 / 0.5991 GB, free: 5.289 MB / 410.7 MB Notification: Performance of Templates: time 0.004726/0.5424, allocations: 1.797 MB / 0.6008 GB, free: 3.508 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches