Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008541/0.0008544, allocations: 183 kB / 18.09 MB, free: 3.73 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.173/1.173, allocations: 223.3 MB / 242.1 MB, free: 11.61 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.0007991/0.0007991, allocations: 86.3 kB / 293.3 MB, free: 10.77 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.2695/0.2695, allocations: 44.14 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.0003399, allocations: 16 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2576, allocations: 61.89 MB / 0.5107 GB, free: 38.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09339/0.351, allocations: 88.25 MB / 0.5969 GB, free: 6.816 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.3512, allocations: 79.95 kB / 0.597 GB, free: 6.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01014/0.3614, allocations: 4.466 MB / 0.6013 GB, free: 2.277 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.908e-06/0.3614, allocations: 0 / 0.6013 GB, free: 2.277 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3614, allocations: 3.938 kB / 0.6014 GB, free: 2.273 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003122/0.3617, allocations: 379.3 kB / 0.6017 GB, free: 1.852 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.3618, allocations: 12.03 kB / 0.6017 GB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.3618, allocations: 8.844 kB / 0.6017 GB, free: 1.832 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.362, allocations: 188.2 kB / 0.6019 GB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-06/0.362, allocations: 384 / 0.6019 GB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.362, allocations: 12.36 kB / 0.6019 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.3622, allocations: 59.91 kB / 0.602 GB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3622, allocations: 192 / 0.602 GB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3622, allocations: 7.938 kB / 0.602 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3622, allocations: 0 / 0.602 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.21e-05/0.3623, allocations: 31.92 kB / 0.602 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.3626, allocations: 268.9 kB / 0.6023 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.3628, allocations: 62.42 kB / 0.6023 GB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.3628, allocations: 16.94 kB / 0.6024 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.3628, allocations: 3.938 kB / 0.6024 GB, free: 1.082 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.3629, allocations: 34.56 kB / 0.6024 GB, free: 1.039 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3629, allocations: 0 / 0.6024 GB, free: 1.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004648/0.3633, allocations: 153.4 kB / 0.6025 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.3634, allocations: 81.11 kB / 0.6026 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3635, allocations: 134.8 kB / 0.6027 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.3635, allocations: 29.7 kB / 0.6028 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.3636, allocations: 92.12 kB / 0.6029 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.3636, allocations: 19.66 kB / 0.6029 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.3636, allocations: 0 / 0.6029 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.3637, allocations: 322.8 kB / 0.6032 GB, free: 176 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.279e-05/0.3638, allocations: 19.98 kB / 0.6032 GB, free: 156 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.3638, allocations: 45.69 kB / 0.6032 GB, free: 104 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.364, allocations: 44.84 kB / 0.6033 GB, free: 56 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.364, allocations: 3.938 kB / 0.6033 GB, free: 52 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001881/0.3642, allocations: 89.69 kB / 0.6034 GB, free: 15.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3642, allocations: 8 kB / 0.6034 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.3642, allocations: 0 / 0.6034 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.3642, allocations: 0 / 0.6034 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.3643, allocations: 12 kB / 0.6034 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3643, allocations: 3.984 kB / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.953e-05/0.3643, allocations: 8 kB / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.3643, allocations: 4 kB / 0.6034 GB, free: 15.92 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 (5): * Single equations (assignments): 5 * 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.015e-05/0.3644, allocations: 118.3 kB / 0.6035 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.3645, allocations: 3.906 kB / 0.6035 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.3647, allocations: 105.5 kB / 0.6036 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3647, allocations: 0 / 0.6036 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3647, allocations: 0 / 0.6036 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3647, allocations: 3.984 kB / 0.6036 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.3651, allocations: 358.4 kB / 0.604 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3651, allocations: 4.375 kB / 0.604 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.086e-05/0.3651, allocations: 19.92 kB / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3651, allocations: 0 / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.3652, allocations: 4 kB / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3652, allocations: 0 / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3652, allocations: 0 / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.3654, allocations: 191.4 kB / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.3654, allocations: 89.02 kB / 0.6043 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.3654, allocations: 0 / 0.6043 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.617e-05/0.3655, allocations: 7.984 kB / 0.6043 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.3656, allocations: 7.938 kB / 0.6043 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.3656, allocations: 0 / 0.6043 GB, free: 14.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.404e-05/0.3656, allocations: 113.3 kB / 0.6044 GB, free: 14.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3656, allocations: 7.938 kB / 0.6044 GB, free: 14.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.3659, allocations: 27.98 kB / 0.6044 GB, free: 14.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.000802/0.3667, allocations: 446.5 kB / 0.6049 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.3669, allocations: 55.97 kB / 0.6049 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3669, allocations: 0 / 0.6049 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.686e-05/0.3669, allocations: 31.92 kB / 0.6049 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.3672, allocations: 15.98 kB / 0.605 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.3675, allocations: 164.7 kB / 0.6051 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.3677, allocations: 0.6859 MB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.604e-05/0.3678, allocations: 15.98 kB / 0.6058 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.3678, allocations: 11.44 kB / 0.6058 GB, free: 13.48 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3678, allocations: 0 / 0.6058 GB, free: 13.48 MB / 426.7 MB Notification: Performance of Templates: time 0.003059/0.3709, allocations: 1.287 MB / 0.6071 GB, free: 12.2 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches