Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007466/0.0007466, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009079/0.000908, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1911/0.1911, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002434/0.0002434, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09059/0.09085, allocations: 63.55 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.001919/0.09281, allocations: 1.633 MB / 484.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.09427, allocations: 0.9548 MB / 485.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.247e-05/0.09434, allocations: 7.938 kB / 485.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.09473, allocations: 239.5 kB / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.0951, allocations: 235.3 kB / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008901/0.096, allocations: 444.9 kB / 486.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.0963, allocations: 287.2 kB / 487 MB, free: 280 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.09642, allocations: 44.7 kB / 487 MB, free: 236 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.09654, allocations: 111.5 kB / 487.1 MB, free: 124 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.09675, allocations: 183.3 kB / 487.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.09678, allocations: 4 kB / 487.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.19e-05/0.09687, allocations: 47.97 kB / 487.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.781e-05/0.09698, allocations: 79.69 kB / 487.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.077e-05/0.09708, allocations: 136.7 kB / 487.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.09739, allocations: 287.1 kB / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.0974, allocations: 0 / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09741, allocations: 4 kB / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.09742, allocations: 0 / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005961/0.09802, allocations: 0.599 MB / 488.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.09806, allocations: 12.88 kB / 488.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.0981, allocations: 42.73 kB / 488.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.09815, allocations: 44.38 kB / 488.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.09847, allocations: 326.1 kB / 488.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.09848, allocations: 4.375 kB / 488.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.0985, allocations: 12.38 kB / 488.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.09867, allocations: 77.61 kB / 488.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.09869, allocations: 0 / 488.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.0987, allocations: 4 kB / 488.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.09871, allocations: 4 kB / 488.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.09885, allocations: 51.97 kB / 489 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.09938, allocations: 464.3 kB / 489.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.09951, allocations: 54.56 kB / 489.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.607e-05/0.09958, allocations: 32.97 kB / 489.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.09961, allocations: 7.922 kB / 489.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.09964, allocations: 34.56 kB / 489.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.09965, allocations: 4 kB / 489.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003191/0.09997, allocations: 137.2 kB / 489.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.1, allocations: 55.34 kB / 489.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005982/0.1006, allocations: 0.5839 MB / 490.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1006, allocations: 33.7 kB / 490.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1008, allocations: 204.1 kB / 490.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.1008, allocations: 23.7 kB / 490.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.1008, allocations: 9.719 kB / 490.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.101, allocations: 354.7 kB / 491 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.101, allocations: 19.98 kB / 491 MB, free: 12.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.377e-05/0.1011, allocations: 27.92 kB / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1012, allocations: 52.84 kB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1012, allocations: 0 / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002057/0.1015, allocations: 117.2 kB / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1015, allocations: 4 kB / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1015, allocations: 0 / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1015, allocations: 3.938 kB / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.591e-05/0.1016, allocations: 28.36 kB / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1016, allocations: 0 / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.1017, allocations: 11.88 kB / 491.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1017, allocations: 8 kB / 491.2 MB, free: 11.75 MB / 366.1 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.1018, allocations: 165.8 kB / 491.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.1019, allocations: 39.44 kB / 491.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.1022, allocations: 137.2 kB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1022, allocations: 3.938 kB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1022, allocations: 0 / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1022, allocations: 0 / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.1025, allocations: 293.5 kB / 491.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1025, allocations: 0 / 491.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.479e-05/0.1026, allocations: 15.94 kB / 491.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1026, allocations: 0 / 491.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.1026, allocations: 0 / 491.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1026, allocations: 11.94 kB / 491.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1026, allocations: 0 / 491.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.1029, allocations: 215 kB / 492.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.258e-05/0.103, allocations: 124.6 kB / 492.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.103, allocations: 4 kB / 492.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.602e-05/0.1031, allocations: 11.94 kB / 492.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.1031, allocations: 7.984 kB / 492.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1031, allocations: 4 kB / 492.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004246/0.1036, allocations: 435.1 kB / 492.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1036, allocations: 0 / 492.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.1039, allocations: 35.92 kB / 492.7 MB, free: 10.18 MB / 366.1 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001706/0.1056, allocations: 1.245 MB / 493.9 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.1058, allocations: 51.97 kB / 494 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1058, allocations: 0 / 494 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.541e-05/0.1058, allocations: 35.92 kB / 494 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.1064, allocations: 69.84 kB / 494.1 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.1095, allocations: 2.953 MB / 497.1 MB, free: 5.941 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1098, allocations: 0.8064 MB / 497.9 MB, free: 5.109 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.957e-05/0.1099, allocations: 33.52 kB / 497.9 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.1101, allocations: 111.4 kB / 498 MB, free: 4.965 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1101, allocations: 4 kB / 498 MB, free: 4.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.1252, allocations: 6.232 MB / 0.4924 GB, free: 14.85 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.1254, allocations: 238.4 kB / 0.4926 GB, free: 14.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/1.869, allocations: 0 / 0.4926 GB, free: 14.59 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches