Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 176.8 kB / 17.06 MB, free: 5.082 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.286/1.286, allocations: 223.2 MB / 241 MB, free: 11.84 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.0008543/0.0008544, allocations: 91.11 kB / 292.2 MB, free: 10.89 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.3256/0.3256, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003077, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2828, allocations: 61.91 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.109/0.3918, allocations: 88.74 MB / 0.5962 GB, free: 6.383 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.3921, allocations: 75.88 kB / 0.5963 GB, free: 6.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01092/0.4031, allocations: 4.624 MB / 0.6008 GB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.237e-06/0.4031, allocations: 0 / 0.6008 GB, free: 1.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.4031, allocations: 7.938 kB / 0.6008 GB, free: 1.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.0004353/0.4036, allocations: 395 kB / 0.6012 GB, free: 1.238 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4036, allocations: 12.56 kB / 0.6012 GB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.4037, allocations: 4 kB / 0.6012 GB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.4039, allocations: 190.9 kB / 0.6014 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4039, allocations: 7.953 kB / 0.6014 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.4039, allocations: 3.938 kB / 0.6014 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.4042, allocations: 75.38 kB / 0.6015 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.4042, allocations: 8 kB / 0.6015 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4042, allocations: 0 / 0.6015 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.4042, allocations: 3.984 kB / 0.6015 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.4043, allocations: 43.97 kB / 0.6015 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.4047, allocations: 292.7 kB / 0.6018 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.4048, allocations: 50.56 kB / 0.6018 GB, free: 460 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.4049, allocations: 0 / 0.6018 GB, free: 460 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.4049, allocations: 30.56 kB / 0.6019 GB, free: 420 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.4049, allocations: 0 / 0.6019 GB, free: 420 kB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007424/0.4057, allocations: 241.2 kB / 0.6021 GB, free: 172 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.4057, allocations: 81.11 kB / 0.6022 GB, free: 72 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.4059, allocations: 127 kB / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.4059, allocations: 37.7 kB / 0.6023 GB, free: 15.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.406, allocations: 84.14 kB / 0.6024 GB, free: 15.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.406, allocations: 31.7 kB / 0.6025 GB, free: 15.78 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.406, allocations: 0 / 0.6025 GB, free: 15.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4061, allocations: 326.8 kB / 0.6028 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.4062, allocations: 39.98 kB / 0.6028 GB, free: 15.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.4064, allocations: 57.69 kB / 0.6029 GB, free: 15.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.4065, allocations: 51.94 kB / 0.6029 GB, free: 15.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4065, allocations: 0 / 0.6029 GB, free: 15.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002571/0.4067, allocations: 125.5 kB / 0.603 GB, free: 15.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.4068, allocations: 4 kB / 0.603 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4068, allocations: 0 / 0.603 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.4068, allocations: 0 / 0.603 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.4069, allocations: 31.98 kB / 0.6031 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4069, allocations: 0 / 0.6031 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.407, allocations: 15.98 kB / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.407, allocations: 4 kB / 0.6031 GB, free: 15.11 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.844e-05/0.4071, allocations: 121.7 kB / 0.6032 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.4071, allocations: 11.89 kB / 0.6032 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.4075, allocations: 142.3 kB / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4075, allocations: 0 / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4075, allocations: 0 / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4075, allocations: 288 / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.408, allocations: 410.3 kB / 0.6037 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.408, allocations: 0 / 0.6037 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.339e-05/0.4081, allocations: 23.98 kB / 0.6038 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4081, allocations: 7.984 kB / 0.6038 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.4082, allocations: 3.984 kB / 0.6038 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4082, allocations: 0 / 0.6038 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4082, allocations: 4 kB / 0.6038 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.4085, allocations: 231.8 kB / 0.604 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.4085, allocations: 85 kB / 0.6041 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.4085, allocations: 4 kB / 0.6041 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.4086, allocations: 12 kB / 0.6041 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.4087, allocations: 11.92 kB / 0.6041 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.4087, allocations: 4 kB / 0.6041 GB, free: 13.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.752e-05/0.4088, allocations: 113.4 kB / 0.6042 GB, free: 13.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4088, allocations: 0 / 0.6042 GB, free: 13.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.4091, allocations: 31.89 kB / 0.6042 GB, free: 13.82 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.0009409/0.41, allocations: 466.2 kB / 0.6047 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.4103, allocations: 95.88 kB / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4103, allocations: 0 / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.4104, allocations: 43.97 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.4106, allocations: 15.98 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.411, allocations: 197.3 kB / 0.605 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.4113, allocations: 0.6965 MB / 0.6057 GB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.946e-05/0.4114, allocations: 23.88 kB / 0.6057 GB, free: 12.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.4115, allocations: 15.44 kB / 0.6057 GB, free: 12.4 MB / 426.7 MB Notification: Performance of SimCode: time 2.114e-06/0.4115, allocations: 0 / 0.6057 GB, free: 12.4 MB / 426.7 MB Notification: Performance of Templates: time 0.003834/0.4153, allocations: 1.431 MB / 0.6071 GB, free: 10.98 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches