Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009162/0.0009162, allocations: 96.34 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 202.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1862/0.1862, allocations: 46.19 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002371/0.0002371, allocations: 11.98 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09241/0.09266, allocations: 63.54 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.001846/0.09455, allocations: 1.404 MB / 484.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008665/0.09544, allocations: 0.5378 MB / 485.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.09549, allocations: 0 / 485.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.09572, allocations: 75.83 kB / 485.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.09592, allocations: 75.8 kB / 485.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.09623, allocations: 131.5 kB / 485.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.09636, allocations: 83.75 kB / 485.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.585e-05/0.09646, allocations: 16.22 kB / 485.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.476e-05/0.09652, allocations: 35.84 kB / 485.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.09661, allocations: 51.81 kB / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.09663, allocations: 4 kB / 485.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.209e-05/0.09673, allocations: 47.98 kB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.0968, allocations: 23.91 kB / 485.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.09686, allocations: 61.39 kB / 485.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.09704, allocations: 115.9 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.09705, allocations: 3.938 kB / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09706, allocations: 0 / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.09707, allocations: 0 / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004773/0.09755, allocations: 415.1 kB / 486.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.0976, allocations: 8.875 kB / 486.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.09764, allocations: 46.62 kB / 486.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.09768, allocations: 8.844 kB / 486.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.09787, allocations: 208 kB / 486.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.09789, allocations: 4.375 kB / 486.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.09792, allocations: 4.375 kB / 486.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.09809, allocations: 73.55 kB / 486.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.09811, allocations: 4 kB / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.09812, allocations: 0 / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.09813, allocations: 0 / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.09828, allocations: 43.97 kB / 486.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.09863, allocations: 324.6 kB / 486.9 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.09885, allocations: 58.55 kB / 487 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.22e-05/0.09895, allocations: 36.95 kB / 487 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.09898, allocations: 4 kB / 487 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.09901, allocations: 34.56 kB / 487.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.09902, allocations: 4 kB / 487.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001526/0.1006, allocations: 480.7 kB / 487.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.1006, allocations: 55.41 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.1008, allocations: 218.9 kB / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1008, allocations: 29.7 kB / 487.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.1009, allocations: 116 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.1009, allocations: 31.55 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.101, allocations: 21.7 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1011, allocations: 330.8 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.1012, allocations: 47.97 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1014, allocations: 55.97 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.1016, allocations: 116.8 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1017, allocations: 0 / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003347/0.102, allocations: 165.3 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.102, allocations: 10.66 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.102, allocations: 0 / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.102, allocations: 3.938 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1022, allocations: 31.97 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.1022, allocations: 0 / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.379e-05/0.1023, allocations: 15.98 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.1023, allocations: 8 kB / 488.8 MB, free: 14.21 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 (11): * Single equations (assignments): 11 * 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 9.028e-05/0.1024, allocations: 129.7 kB / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.1024, allocations: 19.81 kB / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.1028, allocations: 179 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1029, allocations: 3.938 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.207e-06/0.1029, allocations: 0 / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1029, allocations: 0.5625 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006483/0.1035, allocations: 0.492 MB / 489.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1035, allocations: 0 / 489.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1037, allocations: 36.05 kB / 489.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1037, allocations: 0 / 489.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1037, allocations: 11.98 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1037, allocations: 3.938 kB / 489.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1037, allocations: 0 / 489.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.1041, allocations: 261.1 kB / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.1041, allocations: 96.91 kB / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.1042, allocations: 4 kB / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1043, allocations: 19.98 kB / 490 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.1043, allocations: 11.92 kB / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1043, allocations: 4 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1045, allocations: 164.3 kB / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1045, allocations: 0 / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1048, allocations: 31.98 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001512/0.1063, allocations: 1.15 MB / 491.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003266/0.1066, allocations: 115.9 kB / 491.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1066, allocations: 7.938 kB / 491.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.1068, allocations: 67.89 kB / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.1071, allocations: 20 kB / 491.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.1094, allocations: 1.951 MB / 493.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1096, allocations: 0.7199 MB / 494.2 MB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.919e-05/0.1097, allocations: 20.53 kB / 494.3 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.1098, allocations: 39.42 kB / 494.3 MB, free: 8.566 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1098, allocations: 0 / 494.3 MB, free: 8.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.1218, allocations: 3.018 MB / 497.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.122, allocations: 240.5 kB / 497.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/1.808, allocations: 0 / 497.6 MB, free: 5.398 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches