Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.288/1.288, allocations: 223.2 MB / 241 MB, free: 10.14 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.0008294/0.0008294, allocations: 89.86 kB / 292.2 MB, free: 10.71 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.2918/0.2918, allocations: 44.22 MB / 387.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002796/0.0002795, allocations: 8 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3557, allocations: 61.89 MB / 0.5095 GB, free: 37.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.4631, allocations: 88.74 MB / 0.5962 GB, free: 6.406 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.4634, allocations: 83.44 kB / 0.5963 GB, free: 6.332 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01074/0.4741, allocations: 4.619 MB / 0.6008 GB, free: 1.707 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4741, allocations: 3.938 kB / 0.6008 GB, free: 1.703 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.4742, allocations: 0 / 0.6008 GB, free: 1.703 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.0004291/0.4746, allocations: 402.9 kB / 0.6012 GB, free: 1.262 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.4746, allocations: 12.56 kB / 0.6012 GB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.4747, allocations: 8 kB / 0.6012 GB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.4749, allocations: 197 kB / 0.6014 GB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.4749, allocations: 3.953 kB / 0.6014 GB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.4749, allocations: 4 kB / 0.6014 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.4751, allocations: 75.33 kB / 0.6015 GB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4751, allocations: 0 / 0.6015 GB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.4752, allocations: 4 kB / 0.6015 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.4752, allocations: 8 kB / 0.6015 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.4753, allocations: 35.97 kB / 0.6015 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.4757, allocations: 292.7 kB / 0.6018 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.4758, allocations: 54.5 kB / 0.6018 GB, free: 484 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.4758, allocations: 0 / 0.6018 GB, free: 484 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.4759, allocations: 34.56 kB / 0.6019 GB, free: 440 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.4759, allocations: 0 / 0.6019 GB, free: 440 kB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008062/0.4767, allocations: 245.3 kB / 0.6021 GB, free: 188 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.4768, allocations: 81.05 kB / 0.6022 GB, free: 88 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.477, allocations: 129.2 kB / 0.6023 GB, free: 15.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.477, allocations: 25.7 kB / 0.6023 GB, free: 15.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.477, allocations: 96.14 kB / 0.6024 GB, free: 15.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.4771, allocations: 23.64 kB / 0.6025 GB, free: 15.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/0.4771, allocations: 7.938 kB / 0.6025 GB, free: 15.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4772, allocations: 314.8 kB / 0.6028 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.4774, allocations: 43.97 kB / 0.6028 GB, free: 15.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.4775, allocations: 53.69 kB / 0.6029 GB, free: 15.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.4776, allocations: 39.97 kB / 0.6029 GB, free: 15.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4776, allocations: 8.031 kB / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002958/0.4779, allocations: 129.7 kB / 0.603 GB, free: 15.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.478, allocations: 12 kB / 0.603 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.478, allocations: 0 / 0.603 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.478, allocations: 0 / 0.603 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.4781, allocations: 19.98 kB / 0.6031 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4781, allocations: 8.062 kB / 0.6031 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.428e-05/0.4782, allocations: 11.98 kB / 0.6031 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.4782, allocations: 4 kB / 0.6031 GB, free: 15.14 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 0.0001012/0.4783, allocations: 121.8 kB / 0.6032 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.4784, allocations: 7.906 kB / 0.6032 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.4787, allocations: 138.3 kB / 0.6033 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.4787, allocations: 7.984 kB / 0.6033 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4787, allocations: 0 / 0.6033 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4787, allocations: 0 / 0.6033 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005359/0.4793, allocations: 410.4 kB / 0.6037 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.4793, allocations: 4 kB / 0.6037 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.883e-05/0.4794, allocations: 23.92 kB / 0.6038 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4794, allocations: 4 kB / 0.6038 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.4794, allocations: 8 kB / 0.6038 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.4794, allocations: 3.984 kB / 0.6038 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4794, allocations: 0 / 0.6038 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.4797, allocations: 219.5 kB / 0.604 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.4798, allocations: 85.02 kB / 0.6041 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.4798, allocations: 7.984 kB / 0.6041 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.929e-05/0.4799, allocations: 15.94 kB / 0.6041 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.48, allocations: 3.984 kB / 0.6041 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.48, allocations: 4.281 kB / 0.6041 GB, free: 13.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.645e-05/0.4801, allocations: 117.4 kB / 0.6042 GB, free: 13.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4801, allocations: 3.938 kB / 0.6042 GB, free: 13.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002535/0.4803, allocations: 31.89 kB / 0.6042 GB, free: 13.84 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.00105/0.4814, allocations: 466.2 kB / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.4817, allocations: 95.91 kB / 0.6048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4817, allocations: 4 kB / 0.6048 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.4818, allocations: 51.91 kB / 0.6048 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.482, allocations: 14.8 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.4824, allocations: 197.3 kB / 0.605 GB, free: 13.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.4827, allocations: 0.6965 MB / 0.6057 GB, free: 12.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.733e-05/0.4828, allocations: 15.58 kB / 0.6057 GB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.4828, allocations: 15.44 kB / 0.6057 GB, free: 12.42 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4828, allocations: 0 / 0.6057 GB, free: 12.42 MB / 426.7 MB Notification: Performance of Templates: time 0.003683/0.4865, allocations: 1.437 MB / 0.6071 GB, free: 11 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches