Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008706/0.0008706, allocations: 179 kB / 18.09 MB, free: 3.75 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.19/1.19, allocations: 223.3 MB / 242.1 MB, free: 9.934 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.0008385/0.0008385, allocations: 86.73 kB / 293.3 MB, free: 10.55 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.2741/0.2741, allocations: 44.14 MB / 388.5 MB, free: 38.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003147, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2498, allocations: 61.88 MB / 0.5107 GB, free: 37.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09345/0.3433, allocations: 88.07 MB / 0.5967 GB, free: 6.988 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.3435, allocations: 75.95 kB / 0.5968 GB, free: 6.918 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01008/0.3536, allocations: 4.264 MB / 0.601 GB, free: 2.652 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3536, allocations: 7.938 kB / 0.601 GB, free: 2.645 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.3536, allocations: 4 kB / 0.601 GB, free: 2.641 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.0003733/0.354, allocations: 411 kB / 0.6014 GB, free: 2.188 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3541, allocations: 8.031 kB / 0.6014 GB, free: 2.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.3541, allocations: 12.84 kB / 0.6014 GB, free: 2.168 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.3543, allocations: 201.2 kB / 0.6016 GB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.3543, allocations: 4.312 kB / 0.6016 GB, free: 1.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.3543, allocations: 12.36 kB / 0.6016 GB, free: 1.918 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.3545, allocations: 62.17 kB / 0.6017 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3545, allocations: 192 / 0.6017 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3545, allocations: 7.938 kB / 0.6017 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3545, allocations: 0 / 0.6017 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.034e-05/0.3546, allocations: 31.97 kB / 0.6017 GB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.355, allocations: 296.7 kB / 0.602 GB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.949e-05/0.3551, allocations: 50.5 kB / 0.602 GB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.3551, allocations: 12.86 kB / 0.602 GB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.3552, allocations: 4.078 kB / 0.602 GB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.3552, allocations: 30.56 kB / 0.6021 GB, free: 1.355 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.3552, allocations: 4 kB / 0.6021 GB, free: 1.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000789/0.356, allocations: 245.3 kB / 0.6023 GB, free: 1.105 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.356, allocations: 59.41 kB / 0.6024 GB, free: 1.035 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.3562, allocations: 196 kB / 0.6026 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.3563, allocations: 25.7 kB / 0.6026 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.3563, allocations: 124 kB / 0.6027 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.3563, allocations: 15.66 kB / 0.6027 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.3564, allocations: 8 kB / 0.6027 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.3565, allocations: 326.7 kB / 0.603 GB, free: 336 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.025e-05/0.3565, allocations: 27.98 kB / 0.6031 GB, free: 308 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.759e-05/0.3566, allocations: 35.97 kB / 0.6031 GB, free: 272 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.3568, allocations: 68.83 kB / 0.6032 GB, free: 200 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3568, allocations: 0 / 0.6032 GB, free: 200 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001892/0.357, allocations: 105.5 kB / 0.6033 GB, free: 88 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.357, allocations: 4 kB / 0.6033 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.357, allocations: 0 / 0.6033 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.357, allocations: 4 kB / 0.6033 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.503e-05/0.3571, allocations: 23.92 kB / 0.6033 GB, free: 56 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3571, allocations: 4.312 kB / 0.6033 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.3572, allocations: 4 kB / 0.6033 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.3572, allocations: 7.922 kB / 0.6033 GB, free: 40 kB / 410.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.336e-05/0.3573, allocations: 130.3 kB / 0.6034 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.3573, allocations: 11.91 kB / 0.6034 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.3576, allocations: 126.3 kB / 0.6036 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3576, allocations: 4 kB / 0.6036 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3576, allocations: 4 kB / 0.6036 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3576, allocations: 3.938 kB / 0.6036 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/0.3581, allocations: 427.1 kB / 0.604 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3581, allocations: 4.031 kB / 0.604 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.431e-05/0.3582, allocations: 19.98 kB / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3582, allocations: 0 / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.3582, allocations: 7.938 kB / 0.604 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3582, allocations: 0 / 0.604 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3582, allocations: 0 / 0.604 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.3585, allocations: 212.2 kB / 0.6042 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.3585, allocations: 97.02 kB / 0.6043 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.3585, allocations: 7.922 kB / 0.6043 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.3586, allocations: 4 kB / 0.6043 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.3587, allocations: 11.98 kB / 0.6043 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3587, allocations: 4 kB / 0.6043 GB, free: 14.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.3588, allocations: 156 kB / 0.6045 GB, free: 14.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3588, allocations: 0 / 0.6045 GB, free: 14.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000231/0.359, allocations: 28 kB / 0.6045 GB, free: 14.7 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.000862/0.3599, allocations: 468.9 kB / 0.605 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.3601, allocations: 71.89 kB / 0.605 GB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3601, allocations: 0 / 0.605 GB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.029e-05/0.3602, allocations: 40.2 kB / 0.6051 GB, free: 14.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.3605, allocations: 24.12 kB / 0.6051 GB, free: 14.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/0.3609, allocations: 282.2 kB / 0.6054 GB, free: 13.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.3612, allocations: 0.7004 MB / 0.606 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.332e-05/0.3612, allocations: 16.66 kB / 0.6061 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.3613, allocations: 11.44 kB / 0.6061 GB, free: 13.21 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3613, allocations: 3.938 kB / 0.6061 GB, free: 13.21 MB / 426.7 MB Notification: Performance of Templates: time 0.003338/0.3646, allocations: 1.354 MB / 0.6074 GB, free: 11.86 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches