Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009151/0.0009152, 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.18/1.18, 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.0007524/0.0007524, allocations: 102.8 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.2653/0.2653, allocations: 44.14 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003496, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2577, allocations: 61.88 MB / 0.5107 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09382/0.3515, allocations: 88.06 MB / 0.5967 GB, free: 7.027 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.3518, allocations: 75.95 kB / 0.5968 GB, free: 6.957 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01042/0.3622, allocations: 4.276 MB / 0.601 GB, free: 2.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3623, allocations: 0 / 0.601 GB, free: 2.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.3623, allocations: 8 kB / 0.601 GB, free: 2.672 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.0003579/0.3626, allocations: 414.9 kB / 0.6014 GB, free: 2.215 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.3627, allocations: 8.031 kB / 0.6014 GB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.3627, allocations: 8.844 kB / 0.6014 GB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.3629, allocations: 205.2 kB / 0.6016 GB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3629, allocations: 4.375 kB / 0.6016 GB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.363, allocations: 8.312 kB / 0.6016 GB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.3631, allocations: 62.22 kB / 0.6017 GB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3631, allocations: 4.125 kB / 0.6017 GB, free: 1.879 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3631, allocations: 7.938 kB / 0.6017 GB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3631, allocations: 0 / 0.6017 GB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.772e-05/0.3632, allocations: 31.97 kB / 0.6017 GB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.3636, allocations: 296.7 kB / 0.602 GB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.604e-05/0.3637, allocations: 50.5 kB / 0.602 GB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.3637, allocations: 12.86 kB / 0.602 GB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.3637, allocations: 4.078 kB / 0.602 GB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.3638, allocations: 34.56 kB / 0.6021 GB, free: 1.379 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3638, allocations: 4 kB / 0.6021 GB, free: 1.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007524/0.3645, allocations: 237.1 kB / 0.6023 GB, free: 1.137 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.3646, allocations: 55.39 kB / 0.6024 GB, free: 1.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.3648, allocations: 196 kB / 0.6025 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.3648, allocations: 33.64 kB / 0.6026 GB, free: 0.832 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.3649, allocations: 116 kB / 0.6027 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.3649, allocations: 23.64 kB / 0.6027 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.3649, allocations: 4 kB / 0.6027 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.365, allocations: 326.8 kB / 0.603 GB, free: 368 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.191e-05/0.3651, allocations: 27.97 kB / 0.6031 GB, free: 340 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.3652, allocations: 31.98 kB / 0.6031 GB, free: 308 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.3653, allocations: 68.83 kB / 0.6032 GB, free: 236 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3653, allocations: 0 / 0.6032 GB, free: 236 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001838/0.3655, allocations: 105.5 kB / 0.6033 GB, free: 124 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.3655, allocations: 4 kB / 0.6033 GB, free: 120 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3655, allocations: 4 kB / 0.6033 GB, free: 116 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.3655, allocations: 3.938 kB / 0.6033 GB, free: 112 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.851e-05/0.3656, allocations: 27.92 kB / 0.6033 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3656, allocations: 0 / 0.6033 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.3657, allocations: 8 kB / 0.6033 GB, free: 76 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.3657, allocations: 7.984 kB / 0.6033 GB, free: 68 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.074e-05/0.3658, allocations: 126.3 kB / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.3658, allocations: 15.91 kB / 0.6034 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.3661, allocations: 130.5 kB / 0.6036 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3661, allocations: 4.422 kB / 0.6036 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3661, allocations: 4 kB / 0.6036 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3661, allocations: 0 / 0.6036 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.3666, allocations: 427.1 kB / 0.604 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.3666, allocations: 4 kB / 0.604 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/0.3667, allocations: 20.02 kB / 0.604 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3667, allocations: 7.984 kB / 0.604 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.3667, allocations: 3.938 kB / 0.604 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3667, allocations: 0 / 0.604 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3667, allocations: 0 / 0.604 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.367, allocations: 212.2 kB / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.367, allocations: 93.02 kB / 0.6043 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.367, allocations: 7.922 kB / 0.6043 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.3671, allocations: 8 kB / 0.6043 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.3672, allocations: 11.98 kB / 0.6043 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.3672, allocations: 0 / 0.6043 GB, free: 14.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.3673, allocations: 160 kB / 0.6045 GB, free: 14.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3673, allocations: 0 / 0.6045 GB, free: 14.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.3676, allocations: 24 kB / 0.6045 GB, free: 14.72 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.0008912/0.3685, allocations: 464.5 kB / 0.605 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.3687, allocations: 75.83 kB / 0.605 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3687, allocations: 0 / 0.605 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.111e-05/0.3688, allocations: 44.05 kB / 0.6051 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.3691, allocations: 20.73 kB / 0.6051 GB, free: 14.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.3695, allocations: 278.2 kB / 0.6054 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.3697, allocations: 0.7004 MB / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.851e-05/0.3698, allocations: 20.95 kB / 0.6061 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.3698, allocations: 11.44 kB / 0.6061 GB, free: 13.24 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3698, allocations: 0 / 0.6061 GB, free: 13.24 MB / 426.7 MB Notification: Performance of Templates: time 0.003318/0.3732, allocations: 1.357 MB / 0.6074 GB, free: 11.89 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches