Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008372/0.000837, allocations: 183.8 kB / 18.09 MB, free: 3.727 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.196/1.196, allocations: 223.3 MB / 242.1 MB, free: 9.992 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.0007803/0.0007803, allocations: 97.91 kB / 293.3 MB, free: 10.57 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.2734/0.2734, allocations: 44.14 MB / 388.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003533, allocations: 15.98 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2701, allocations: 61.88 MB / 0.5107 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09347/0.3637, allocations: 88.17 MB / 0.5968 GB, free: 6.902 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.3639, allocations: 79.95 kB / 0.5969 GB, free: 6.828 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01044/0.3744, allocations: 4.407 MB / 0.6012 GB, free: 2.422 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3744, allocations: 3.938 kB / 0.6012 GB, free: 2.418 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.3744, allocations: 0 / 0.6012 GB, free: 2.418 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.0003986/0.3748, allocations: 422.9 kB / 0.6016 GB, free: 1.953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3749, allocations: 12.03 kB / 0.6016 GB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.3749, allocations: 8.844 kB / 0.6016 GB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.3751, allocations: 220.5 kB / 0.6019 GB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.3751, allocations: 4.312 kB / 0.6019 GB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.3752, allocations: 8.375 kB / 0.6019 GB, free: 1.668 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.3753, allocations: 58.22 kB / 0.6019 GB, free: 1.605 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3753, allocations: 192 / 0.6019 GB, free: 1.605 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3754, allocations: 7.938 kB / 0.6019 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3754, allocations: 0 / 0.6019 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.94e-05/0.3755, allocations: 39.91 kB / 0.602 GB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.3759, allocations: 308.7 kB / 0.6023 GB, free: 1.207 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.652e-05/0.376, allocations: 46.55 kB / 0.6023 GB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.3761, allocations: 20.86 kB / 0.6023 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.3761, allocations: 12.02 kB / 0.6023 GB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3761, allocations: 34.55 kB / 0.6024 GB, free: 1.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3761, allocations: 0 / 0.6024 GB, free: 1.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008774/0.377, allocations: 265 kB / 0.6026 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.3771, allocations: 55.41 kB / 0.6027 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.3773, allocations: 233 kB / 0.6029 GB, free: 0.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.3773, allocations: 25.7 kB / 0.6029 GB, free: 480 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.3774, allocations: 116.1 kB / 0.603 GB, free: 360 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.3774, allocations: 23.7 kB / 0.6031 GB, free: 336 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.3774, allocations: 4 kB / 0.6031 GB, free: 332 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3775, allocations: 327 kB / 0.6034 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.241e-05/0.3776, allocations: 35.98 kB / 0.6034 GB, free: 15.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.3777, allocations: 31.97 kB / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.3779, allocations: 88.98 kB / 0.6035 GB, free: 15.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3779, allocations: 0 / 0.6035 GB, free: 15.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000212/0.3781, allocations: 125.5 kB / 0.6036 GB, free: 15.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3781, allocations: 5.875 kB / 0.6036 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3781, allocations: 0 / 0.6036 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3782, allocations: 0 / 0.6036 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.66e-05/0.3783, allocations: 23.98 kB / 0.6037 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.3783, allocations: 0 / 0.6037 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.484e-05/0.3783, allocations: 11.94 kB / 0.6037 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3783, allocations: 7.938 kB / 0.6037 GB, free: 15.66 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.88e-05/0.3784, allocations: 141.7 kB / 0.6038 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.3785, allocations: 11.81 kB / 0.6038 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.3788, allocations: 147 kB / 0.604 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3788, allocations: 0 / 0.604 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3788, allocations: 4 kB / 0.604 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3788, allocations: 0 / 0.604 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.3793, allocations: 451.2 kB / 0.6044 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3793, allocations: 0 / 0.6044 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.727e-05/0.3794, allocations: 19.98 kB / 0.6044 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.3794, allocations: 0 / 0.6044 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3794, allocations: 11.94 kB / 0.6044 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3794, allocations: 3.938 kB / 0.6044 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3794, allocations: 0 / 0.6044 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.3797, allocations: 220.2 kB / 0.6046 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.3798, allocations: 96.92 kB / 0.6047 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.3798, allocations: 7.984 kB / 0.6048 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.3799, allocations: 15.94 kB / 0.6048 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.3799, allocations: 7.984 kB / 0.6048 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.3799, allocations: 4 kB / 0.6048 GB, free: 14.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.3801, allocations: 180.3 kB / 0.6049 GB, free: 14.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3801, allocations: 0 / 0.6049 GB, free: 14.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.3804, allocations: 28 kB / 0.605 GB, free: 14.23 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.0009186/0.3813, allocations: 478 kB / 0.6054 GB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.3815, allocations: 79.95 kB / 0.6055 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3815, allocations: 0 / 0.6055 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.3816, allocations: 47.91 kB / 0.6056 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.3819, allocations: 15.98 kB / 0.6056 GB, free: 13.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005169/0.3824, allocations: 317.8 kB / 0.6059 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.3827, allocations: 0.716 MB / 0.6066 GB, free: 12.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.985e-05/0.3828, allocations: 24.95 kB / 0.6066 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.3828, allocations: 19.44 kB / 0.6066 GB, free: 12.68 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3829, allocations: 3.938 kB / 0.6066 GB, free: 12.67 MB / 426.7 MB Notification: Performance of Templates: time 0.003622/0.3865, allocations: 1.457 MB / 0.608 GB, free: 11.22 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches