Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008186/0.0008232, allocations: 178.2 kB / 18.09 MB, free: 3.625 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.177/1.177, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000784/0.000784, allocations: 105.6 kB / 293.3 MB, free: 10.78 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.2765/0.2765, allocations: 44.14 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 15.98 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2732, allocations: 61.87 MB / 0.5107 GB, free: 38.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0937/0.367, allocations: 88.06 MB / 0.5967 GB, free: 7.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.3672, allocations: 83.94 kB / 0.5968 GB, free: 6.941 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01057/0.3778, allocations: 4.391 MB / 0.6011 GB, free: 2.551 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3778, allocations: 0 / 0.6011 GB, free: 2.551 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.3779, allocations: 4 kB / 0.6011 GB, free: 2.547 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004106/0.3783, allocations: 418.9 kB / 0.6015 GB, free: 2.086 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3783, allocations: 12.02 kB / 0.6015 GB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.3784, allocations: 12.84 kB / 0.6015 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.3786, allocations: 220.4 kB / 0.6017 GB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.3786, allocations: 384 / 0.6017 GB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.3787, allocations: 8.375 kB / 0.6017 GB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.3788, allocations: 54.23 kB / 0.6018 GB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3788, allocations: 192 / 0.6018 GB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3788, allocations: 7.922 kB / 0.6018 GB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3788, allocations: 4 kB / 0.6018 GB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.002e-05/0.3789, allocations: 31.92 kB / 0.6018 GB, free: 1.699 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.3793, allocations: 312.7 kB / 0.6021 GB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.736e-05/0.3794, allocations: 42.56 kB / 0.6022 GB, free: 1.293 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.544e-05/0.3795, allocations: 20.8 kB / 0.6022 GB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.3795, allocations: 4 kB / 0.6022 GB, free: 1.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.3795, allocations: 38.58 kB / 0.6022 GB, free: 1.219 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.715e-06/0.3795, allocations: 4 kB / 0.6022 GB, free: 1.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007811/0.3803, allocations: 245 kB / 0.6025 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.3804, allocations: 55.41 kB / 0.6025 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.3806, allocations: 233 kB / 0.6027 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.3806, allocations: 25.7 kB / 0.6028 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.3807, allocations: 116.1 kB / 0.6029 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.3807, allocations: 23.78 kB / 0.6029 GB, free: 500 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.3807, allocations: 0 / 0.6029 GB, free: 500 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3808, allocations: 330.8 kB / 0.6032 GB, free: 160 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.3809, allocations: 27.97 kB / 0.6032 GB, free: 132 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-05/0.381, allocations: 27.98 kB / 0.6033 GB, free: 104 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.3811, allocations: 68.83 kB / 0.6033 GB, free: 32 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3811, allocations: 0 / 0.6033 GB, free: 32 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002164/0.3814, allocations: 121.4 kB / 0.6034 GB, free: 15.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3814, allocations: 4 kB / 0.6035 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3814, allocations: 0 / 0.6035 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.3814, allocations: 0 / 0.6035 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.069e-05/0.3815, allocations: 23.98 kB / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3815, allocations: 0 / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.3816, allocations: 15.88 kB / 0.6035 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3816, allocations: 0 / 0.6035 GB, free: 15.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.49e-05/0.3817, allocations: 141.8 kB / 0.6036 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.3817, allocations: 15.75 kB / 0.6036 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.382, allocations: 123.4 kB / 0.6038 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.382, allocations: 4 kB / 0.6038 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.382, allocations: 0 / 0.6038 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.382, allocations: 4 kB / 0.6038 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.3825, allocations: 439.3 kB / 0.6042 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3825, allocations: 0 / 0.6042 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.3826, allocations: 20.03 kB / 0.6042 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3826, allocations: 0 / 0.6042 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3826, allocations: 11.94 kB / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3826, allocations: 7.922 kB / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3826, allocations: 0 / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.3829, allocations: 212.2 kB / 0.6044 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.3829, allocations: 101.3 kB / 0.6045 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.383, allocations: 7.938 kB / 0.6045 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.3831, allocations: 7.984 kB / 0.6045 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.3831, allocations: 4 kB / 0.6045 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3831, allocations: 7.938 kB / 0.6045 GB, free: 14.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001513/0.3833, allocations: 188.3 kB / 0.6047 GB, free: 14.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3833, allocations: 0 / 0.6047 GB, free: 14.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.3835, allocations: 31.98 kB / 0.6048 GB, free: 14.45 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0008955/0.3844, allocations: 473.9 kB / 0.6052 GB, free: 14.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.3846, allocations: 63.97 kB / 0.6053 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3846, allocations: 0 / 0.6053 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.149e-05/0.3847, allocations: 43.97 kB / 0.6053 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.385, allocations: 16.61 kB / 0.6053 GB, free: 14.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.3855, allocations: 309.8 kB / 0.6056 GB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.3858, allocations: 0.7121 MB / 0.6063 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.011e-05/0.3859, allocations: 20.95 kB / 0.6063 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.3859, allocations: 15.38 kB / 0.6064 GB, free: 12.95 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3859, allocations: 4 kB / 0.6064 GB, free: 12.94 MB / 426.7 MB Notification: Performance of Templates: time 0.003408/0.3893, allocations: 1.422 MB / 0.6077 GB, free: 11.53 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches