Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 177 kB / 17.06 MB, free: 5.094 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.278/1.278, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008059/0.0008059, allocations: 96.84 kB / 292.2 MB, free: 10.93 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.3194/0.3194, allocations: 44.21 MB / 387.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003292, allocations: 8 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2957, allocations: 61.89 MB / 0.5096 GB, free: 38.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.4041, allocations: 89.19 MB / 0.5967 GB, free: 5.953 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.4044, allocations: 79.94 kB / 0.5967 GB, free: 5.879 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01097/0.4154, allocations: 4.714 MB / 0.6013 GB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4154, allocations: 0 / 0.6013 GB, free: 1.152 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.4154, allocations: 8 kB / 0.6013 GB, free: 1.145 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.0003841/0.4158, allocations: 395 kB / 0.6017 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.4159, allocations: 12.56 kB / 0.6017 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.4159, allocations: 3.906 kB / 0.6017 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.4161, allocations: 198.9 kB / 0.6019 GB, free: 472 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.4161, allocations: 7.953 kB / 0.6019 GB, free: 464 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.4162, allocations: 4 kB / 0.6019 GB, free: 460 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.4163, allocations: 87.31 kB / 0.602 GB, free: 360 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4164, allocations: 3.906 kB / 0.602 GB, free: 356 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.4164, allocations: 0 / 0.602 GB, free: 356 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.4164, allocations: 0 / 0.602 GB, free: 356 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.4165, allocations: 47.97 kB / 0.6021 GB, free: 308 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.4169, allocations: 312.8 kB / 0.6024 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.417, allocations: 50.56 kB / 0.6024 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.4171, allocations: 4 kB / 0.6024 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.4171, allocations: 30.56 kB / 0.6025 GB, free: 15.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4171, allocations: 0 / 0.6025 GB, free: 15.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007288/0.4178, allocations: 265.6 kB / 0.6027 GB, free: 15.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.4179, allocations: 81.05 kB / 0.6028 GB, free: 15.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.418, allocations: 130.9 kB / 0.6029 GB, free: 15.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.418, allocations: 29.7 kB / 0.6029 GB, free: 15.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.4181, allocations: 96.03 kB / 0.603 GB, free: 15.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.4181, allocations: 23.66 kB / 0.603 GB, free: 15.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.4182, allocations: 0 / 0.603 GB, free: 15.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.4183, allocations: 330.8 kB / 0.6034 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.4184, allocations: 43.97 kB / 0.6034 GB, free: 14.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.4185, allocations: 69.61 kB / 0.6035 GB, free: 14.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.4186, allocations: 43.97 kB / 0.6035 GB, free: 14.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4187, allocations: 0 / 0.6035 GB, free: 14.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002811/0.4189, allocations: 145.5 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.419, allocations: 8 kB / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.419, allocations: 0 / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.419, allocations: 0 / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.4191, allocations: 35.97 kB / 0.6037 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4191, allocations: 0 / 0.6037 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.4192, allocations: 11.98 kB / 0.6037 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.4192, allocations: 4 kB / 0.6037 GB, free: 14.49 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 (7): * Single equations (assignments): 7 * 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.849e-05/0.4193, allocations: 125.7 kB / 0.6038 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.4193, allocations: 7.906 kB / 0.6038 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.4197, allocations: 158.3 kB / 0.604 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.4197, allocations: 0 / 0.604 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4197, allocations: 0 / 0.604 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4197, allocations: 4 kB / 0.604 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005372/0.4202, allocations: 434.8 kB / 0.6044 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4203, allocations: 0 / 0.6044 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.262e-05/0.4203, allocations: 19.98 kB / 0.6044 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4204, allocations: 0 / 0.6044 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4204, allocations: 4 kB / 0.6044 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4204, allocations: 0 / 0.6044 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4204, allocations: 0 / 0.6044 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.4207, allocations: 247.3 kB / 0.6047 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.4208, allocations: 89 kB / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.4208, allocations: 8 kB / 0.6048 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.036e-05/0.4209, allocations: 11.98 kB / 0.6048 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.4209, allocations: 7.984 kB / 0.6048 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.4209, allocations: 4 kB / 0.6048 GB, free: 13.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.29e-05/0.421, allocations: 109 kB / 0.6049 GB, free: 13.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.421, allocations: 0 / 0.6049 GB, free: 13.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002449/0.4213, allocations: 39.92 kB / 0.6049 GB, free: 13.14 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 (7): * Single equations (assignments): 7 * 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.0008898/0.4222, allocations: 456.9 kB / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.4225, allocations: 107.9 kB / 0.6055 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4225, allocations: 0 / 0.6055 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.4226, allocations: 63.94 kB / 0.6055 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.4228, allocations: 15.94 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.4232, allocations: 217.3 kB / 0.6057 GB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.4234, allocations: 0.7004 MB / 0.6064 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.291e-05/0.4235, allocations: 28.94 kB / 0.6065 GB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.4236, allocations: 11.44 kB / 0.6065 GB, free: 11.67 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/0.4236, allocations: 0 / 0.6065 GB, free: 11.67 MB / 426.7 MB Notification: Performance of Templates: time 0.003518/0.4271, allocations: 1.457 MB / 0.6079 GB, free: 10.22 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches