Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001926/0.001926, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2475/0.2475, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 79.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3641, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003502/0.3677, allocations: 2.046 MB / 0.5325 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.3696, allocations: 1.019 MB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.826e-05/0.3697, allocations: 1.594 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004983/0.3702, allocations: 261.5 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004783/0.3707, allocations: 260.8 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3718, allocations: 495.7 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.3722, allocations: 327.9 kB / 0.5348 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.3723, allocations: 62.64 kB / 0.5349 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.3725, allocations: 144.3 kB / 0.535 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.3728, allocations: 209.6 kB / 0.5352 GB, free: 10 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.3728, allocations: 10.91 kB / 0.5352 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.373, allocations: 102.3 kB / 0.5353 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.3732, allocations: 92.31 kB / 0.5354 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.3733, allocations: 125.9 kB / 0.5355 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.3737, allocations: 357.8 kB / 0.5359 GB, free: 9.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3737, allocations: 0 / 0.5359 GB, free: 9.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3737, allocations: 0 / 0.5359 GB, free: 9.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.3737, allocations: 5.344 kB / 0.5359 GB, free: 9.57 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008636/0.3746, allocations: 0.6752 MB / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3747, allocations: 9.219 kB / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.3747, allocations: 46.56 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.3748, allocations: 43.97 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.3752, allocations: 339.1 kB / 0.5369 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3752, allocations: 7.75 kB / 0.5369 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.3752, allocations: 11.72 kB / 0.537 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.3755, allocations: 118.3 kB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3755, allocations: 9 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3755, allocations: 1.188 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3755, allocations: 3.312 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.3757, allocations: 70.92 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000649/0.3764, allocations: 0.4908 MB / 0.5376 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.3766, allocations: 96.02 kB / 0.5377 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.495e-05/0.3767, allocations: 36.78 kB / 0.5378 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.3767, allocations: 6.125 kB / 0.5378 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.3767, allocations: 35.59 kB / 0.5378 GB, free: 7.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.3767, allocations: 0 / 0.5378 GB, free: 7.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.000942/0.3777, allocations: 402.3 kB / 0.5382 GB, free: 7.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.3777, allocations: 53.84 kB / 0.5382 GB, free: 7.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006335/0.3784, allocations: 0.5901 MB / 0.5388 GB, free: 7.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3784, allocations: 29.7 kB / 0.5388 GB, free: 7.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.3786, allocations: 211.4 kB / 0.539 GB, free: 7.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.3786, allocations: 62.19 kB / 0.5391 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.3787, allocations: 29.97 kB / 0.5391 GB, free: 6.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3788, allocations: 355.2 kB / 0.5395 GB, free: 6.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.3789, allocations: 54.78 kB / 0.5395 GB, free: 6.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.3791, allocations: 54.81 kB / 0.5396 GB, free: 6.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.3793, allocations: 120.8 kB / 0.5397 GB, free: 6.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3793, allocations: 4 kB / 0.5397 GB, free: 6.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003614/0.3797, allocations: 202.1 kB / 0.5399 GB, free: 6.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3797, allocations: 8.531 kB / 0.5399 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3797, allocations: 1.312 kB / 0.5399 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3797, allocations: 0 / 0.5399 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.3799, allocations: 35.86 kB / 0.5399 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3799, allocations: 0 / 0.5399 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.354e-05/0.38, allocations: 13.23 kB / 0.5399 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.38, allocations: 4.438 kB / 0.5399 GB, free: 6.352 MB / 398.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 (17): * Single equations (assignments): 17 * 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.0001613/0.3802, allocations: 176.2 kB / 0.5401 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.36e-05/0.3803, allocations: 42.53 kB / 0.5401 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.3808, allocations: 242.8 kB / 0.5404 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3808, allocations: 2.656 kB / 0.5404 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3808, allocations: 0 / 0.5404 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3808, allocations: 0 / 0.5404 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000815/0.3816, allocations: 0.644 MB / 0.541 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3816, allocations: 0 / 0.541 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.3817, allocations: 34.55 kB / 0.541 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3817, allocations: 1.156 kB / 0.541 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3818, allocations: 6.391 kB / 0.541 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.3818, allocations: 5.031 kB / 0.5411 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3818, allocations: 4 kB / 0.5411 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.3822, allocations: 302.9 kB / 0.5413 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.3823, allocations: 118.6 kB / 0.5415 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.3823, allocations: 9.016 kB / 0.5415 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3824, allocations: 9.344 kB / 0.5415 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.3825, allocations: 13.45 kB / 0.5415 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.3825, allocations: 5.375 kB / 0.5415 GB, free: 5.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004524/0.383, allocations: 444.1 kB / 0.5419 GB, free: 4.891 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.383, allocations: 0 / 0.5419 GB, free: 4.891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.3833, allocations: 48.81 kB / 0.542 GB, free: 4.879 MB / 398.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 (17): * Single equations (assignments): 17 * 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.002091/0.3854, allocations: 1.423 MB / 0.5434 GB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.3857, allocations: 134 kB / 0.5435 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3857, allocations: 4 kB / 0.5435 GB, free: 3.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.3858, allocations: 75.83 kB / 0.5436 GB, free: 3.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.3864, allocations: 82.09 kB / 0.5436 GB, free: 3.758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/0.39, allocations: 3.155 MB / 0.5467 GB, free: 1.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.3903, allocations: 0.8143 MB / 0.5475 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.3905, allocations: 62.16 kB / 0.5476 GB, free: 172 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.3907, allocations: 135.4 kB / 0.5477 GB, free: 36 kB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3907, allocations: 4 kB / 0.5477 GB, free: 32 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.4146, allocations: 7.711 MB / 0.5552 GB, free: 8.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.342, allocations: 8.047 kB / 0.5552 GB, free: 8.395 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches