Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000819/0.0008191, allocations: 179.9 kB / 18.09 MB, free: 3.605 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.178/1.178, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.0007676/0.0007676, allocations: 93.08 kB / 293.3 MB, free: 10.79 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.273/0.273, allocations: 44.15 MB / 388.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003704, allocations: 12 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.248, allocations: 61.89 MB / 0.5107 GB, free: 38.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09564/0.3437, allocations: 88.06 MB / 0.5967 GB, free: 7.031 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.3439, allocations: 79.94 kB / 0.5968 GB, free: 6.957 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.3545, allocations: 4.512 MB / 0.6012 GB, free: 2.441 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3545, allocations: 0 / 0.6012 GB, free: 2.441 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.3545, allocations: 3.984 kB / 0.6012 GB, free: 2.438 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.0004041/0.355, allocations: 422.9 kB / 0.6016 GB, free: 1.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.355, allocations: 8.031 kB / 0.6016 GB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.3551, allocations: 24.69 kB / 0.6016 GB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.3553, allocations: 223.9 kB / 0.6019 GB, free: 1.684 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3553, allocations: 4.375 kB / 0.6019 GB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.3553, allocations: 384 / 0.6019 GB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.3555, allocations: 58.19 kB / 0.6019 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3555, allocations: 192 / 0.6019 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.3555, allocations: 3.938 kB / 0.6019 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.3555, allocations: 0 / 0.6019 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.104e-05/0.3556, allocations: 35.97 kB / 0.602 GB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.356, allocations: 308.7 kB / 0.6022 GB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.01e-05/0.3561, allocations: 46.48 kB / 0.6023 GB, free: 1.172 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.3561, allocations: 20.86 kB / 0.6023 GB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.3562, allocations: 4 kB / 0.6023 GB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.3562, allocations: 30.56 kB / 0.6023 GB, free: 1.105 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3562, allocations: 0 / 0.6023 GB, free: 1.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007958/0.357, allocations: 265.1 kB / 0.6026 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.357, allocations: 55.41 kB / 0.6026 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.3573, allocations: 263 kB / 0.6029 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.3573, allocations: 29.7 kB / 0.6029 GB, free: 488 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.3574, allocations: 108.1 kB / 0.603 GB, free: 376 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.3574, allocations: 31.55 kB / 0.6031 GB, free: 344 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.3574, allocations: 4 kB / 0.6031 GB, free: 340 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3576, allocations: 326.8 kB / 0.6034 GB, free: 4 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.3577, allocations: 32.06 kB / 0.6034 GB, free: 15.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.3577, allocations: 31.92 kB / 0.6034 GB, free: 15.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3579, allocations: 68.83 kB / 0.6035 GB, free: 15.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3579, allocations: 4 kB / 0.6035 GB, free: 15.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002056/0.3581, allocations: 109.4 kB / 0.6036 GB, free: 15.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3581, allocations: 11.98 kB / 0.6036 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3581, allocations: 0 / 0.6036 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3582, allocations: 0 / 0.6036 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.372e-05/0.3583, allocations: 19.94 kB / 0.6036 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3583, allocations: 4 kB / 0.6036 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.3583, allocations: 11.92 kB / 0.6037 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.3583, allocations: 4 kB / 0.6037 GB, free: 15.7 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 0.0001016/0.3584, allocations: 138.3 kB / 0.6038 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.3585, allocations: 12.23 kB / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.3587, allocations: 131 kB / 0.6039 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3587, allocations: 0 / 0.6039 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3588, allocations: 0 / 0.6039 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3588, allocations: 3.984 kB / 0.6039 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/0.3593, allocations: 451.6 kB / 0.6044 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3593, allocations: 3.938 kB / 0.6044 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.854e-05/0.3594, allocations: 27.92 kB / 0.6044 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3594, allocations: 0 / 0.6044 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3594, allocations: 3.938 kB / 0.6044 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3594, allocations: 0 / 0.6044 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3594, allocations: 4 kB / 0.6044 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.3597, allocations: 212.2 kB / 0.6046 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/0.3597, allocations: 100.9 kB / 0.6047 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.3598, allocations: 7.938 kB / 0.6047 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.3599, allocations: 8 kB / 0.6047 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.3599, allocations: 11.92 kB / 0.6047 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.3599, allocations: 8 kB / 0.6047 GB, free: 14.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001667/0.3601, allocations: 193 kB / 0.6049 GB, free: 14.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3601, allocations: 0 / 0.6049 GB, free: 14.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.3603, allocations: 35.94 kB / 0.605 GB, free: 14.27 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.0008976/0.3612, allocations: 460.8 kB / 0.6054 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.3615, allocations: 83.89 kB / 0.6055 GB, free: 13.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3615, allocations: 0 / 0.6055 GB, free: 13.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.089e-05/0.3616, allocations: 31.98 kB / 0.6055 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.3618, allocations: 17 kB / 0.6055 GB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.3623, allocations: 326.8 kB / 0.6058 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.3626, allocations: 0.7238 MB / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.414e-05/0.3627, allocations: 16.97 kB / 0.6066 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.3627, allocations: 23.38 kB / 0.6066 GB, free: 12.73 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3627, allocations: 0 / 0.6066 GB, free: 12.73 MB / 426.7 MB Notification: Performance of Templates: time 0.003505/0.3663, allocations: 1.468 MB / 0.608 GB, free: 11.27 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches