Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009137/0.0009138, allocations: 173 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.353/1.353, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0008983/0.0008979, allocations: 90.36 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.198/0.198, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.607e-05/1.608e-05, allocations: 8.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3893/0.505, allocations: 88.52 MB / 0.5811 GB, free: 7.984 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.5053, allocations: 75.95 kB / 0.5812 GB, free: 7.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01483/0.5202, allocations: 5.441 MB / 0.5865 GB, free: 2.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5202, allocations: 0 / 0.5865 GB, free: 2.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.5202, allocations: 4 kB / 0.5865 GB, free: 2.477 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004395/0.5207, allocations: 386.2 kB / 0.5869 GB, free: 2.055 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.5207, allocations: 19.98 kB / 0.5869 GB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.5208, allocations: 7.906 kB / 0.5869 GB, free: 2.027 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.5211, allocations: 218.7 kB / 0.5871 GB, free: 1.773 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.5211, allocations: 3.953 kB / 0.5871 GB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.5211, allocations: 4 kB / 0.5871 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.945e-05/0.5212, allocations: 15.98 kB / 0.5871 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.248e-05/0.5213, allocations: 49.67 kB / 0.5872 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.5213, allocations: 0.75 kB / 0.5872 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.5214, allocations: 4 kB / 0.5872 GB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5214, allocations: 11.94 kB / 0.5872 GB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.5218, allocations: 265.4 kB / 0.5875 GB, free: 1.383 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.5219, allocations: 50.69 kB / 0.5875 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.522, allocations: 16.98 kB / 0.5875 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.522, allocations: 0 / 0.5875 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.5221, allocations: 75.31 kB / 0.5876 GB, free: 1.219 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.5221, allocations: 3.938 kB / 0.5876 GB, free: 1.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004617/0.5226, allocations: 145.2 kB / 0.5877 GB, free: 1.066 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.5227, allocations: 51.41 kB / 0.5878 GB, free: 1.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.5228, allocations: 165.4 kB / 0.5879 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.5229, allocations: 25.7 kB / 0.588 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.5229, allocations: 100.1 kB / 0.5881 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.523, allocations: 19.7 kB / 0.5881 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.523, allocations: 4 kB / 0.5881 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5231, allocations: 326.8 kB / 0.5884 GB, free: 360 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.335e-05/0.5231, allocations: 15.94 kB / 0.5884 GB, free: 344 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.321e-05/0.5232, allocations: 33.72 kB / 0.5884 GB, free: 304 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.5232, allocations: 27.92 kB / 0.5885 GB, free: 276 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5233, allocations: 0 / 0.5885 GB, free: 276 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001442/0.5234, allocations: 93.5 kB / 0.5886 GB, free: 176 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.5234, allocations: 13.42 kB / 0.5886 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5234, allocations: 0 / 0.5886 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.5235, allocations: 7.938 kB / 0.5886 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.5236, allocations: 12 kB / 0.5886 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.5236, allocations: 0 / 0.5886 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.5236, allocations: 7.938 kB / 0.5886 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.5237, allocations: 3.984 kB / 0.5886 GB, free: 132 kB / 394.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 7.554e-05/0.5237, allocations: 111.2 kB / 0.5887 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.5238, allocations: 7.906 kB / 0.5887 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.524, allocations: 114.2 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.524, allocations: 4.188 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.524, allocations: 4 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.524, allocations: 0 / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.5244, allocations: 379.8 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5244, allocations: 0 / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.5245, allocations: 11.98 kB / 0.5892 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5245, allocations: 7.969 kB / 0.5892 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.5245, allocations: 4.281 kB / 0.5892 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.5245, allocations: 0 / 0.5892 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5245, allocations: 0 / 0.5892 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.5247, allocations: 217.8 kB / 0.5894 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.5248, allocations: 93 kB / 0.5895 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.5248, allocations: 4 kB / 0.5895 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.5249, allocations: 4 kB / 0.5895 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.5249, allocations: 11.92 kB / 0.5895 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.5249, allocations: 4 kB / 0.5895 GB, free: 15.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.5251, allocations: 141 kB / 0.5897 GB, free: 14.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5251, allocations: 0 / 0.5897 GB, free: 14.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.5253, allocations: 24 kB / 0.5897 GB, free: 14.91 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.0008417/0.5262, allocations: 392.1 kB / 0.5901 GB, free: 14.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.5263, allocations: 55.92 kB / 0.5901 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5263, allocations: 4.062 kB / 0.5901 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.214e-05/0.5264, allocations: 31.94 kB / 0.5902 GB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.5266, allocations: 29.56 kB / 0.5902 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.527, allocations: 153.4 kB / 0.5903 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.5273, allocations: 0.7119 MB / 0.591 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.41e-05/0.5273, allocations: 16.42 kB / 0.591 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.5274, allocations: 19.42 kB / 0.5911 GB, free: 13.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.532e-06/0.5274, allocations: 0 / 0.5911 GB, free: 13.53 MB / 410.7 MB Notification: Performance of Templates: time 0.003838/0.5312, allocations: 1.625 MB / 0.5926 GB, free: 11.91 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches