Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.13 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0033/0.0033, allocations: 79.86 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3544, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003091/0.3575, allocations: 1.68 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3586, allocations: 0.5564 MB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.308e-05/0.3587, allocations: 1.5 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005749/0.3592, allocations: 456.1 kB / 0.5333 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004531/0.3597, allocations: 289 kB / 0.5335 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.3601, allocations: 133.6 kB / 0.5337 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.3603, allocations: 173.2 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3604, allocations: 16.25 kB / 0.5339 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.3606, allocations: 118.5 kB / 0.534 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.3608, allocations: 210.7 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.3608, allocations: 4.688 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.361, allocations: 51.67 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.3611, allocations: 86.61 kB / 0.5343 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.3612, allocations: 107.8 kB / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.3615, allocations: 280.1 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3616, allocations: 4 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3616, allocations: 0 / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.3616, allocations: 0 / 0.5347 GB, free: 10.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008163/0.3624, allocations: 0.672 MB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3624, allocations: 9.688 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.3625, allocations: 36.95 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.102e-05/0.3626, allocations: 43.38 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.3629, allocations: 304.4 kB / 0.5357 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3629, allocations: 5.781 kB / 0.5357 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.3629, allocations: 7.062 kB / 0.5357 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3631, allocations: 67.92 kB / 0.5358 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3631, allocations: 1.125 kB / 0.5358 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.3631, allocations: 0 / 0.5358 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.3631, allocations: 1 kB / 0.5358 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.3633, allocations: 33.53 kB / 0.5358 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.3638, allocations: 398.9 kB / 0.5362 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.3639, allocations: 46.88 kB / 0.5362 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.3639, allocations: 17.59 kB / 0.5363 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.364, allocations: 0 / 0.5363 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.364, allocations: 39.62 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.364, allocations: 0 / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009544/0.365, allocations: 318 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.365, allocations: 55.34 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009298/0.366, allocations: 0.8692 MB / 0.5375 GB, free: 8.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.366, allocations: 26.92 kB / 0.5375 GB, free: 8.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.3662, allocations: 229.8 kB / 0.5378 GB, free: 8.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.3662, allocations: 26.69 kB / 0.5378 GB, free: 8.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.3663, allocations: 27.77 kB / 0.5378 GB, free: 8.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3665, allocations: 356.6 kB / 0.5381 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.134e-05/0.3665, allocations: 29.66 kB / 0.5382 GB, free: 7.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.054e-05/0.3666, allocations: 23.58 kB / 0.5382 GB, free: 7.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.3668, allocations: 60.58 kB / 0.5383 GB, free: 7.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3668, allocations: 4 kB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002626/0.3671, allocations: 139.4 kB / 0.5384 GB, free: 7.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3671, allocations: 4.5 kB / 0.5384 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3671, allocations: 1.156 kB / 0.5384 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3671, allocations: 432 / 0.5384 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3672, allocations: 29.73 kB / 0.5384 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.3672, allocations: 1.094 kB / 0.5384 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.3673, allocations: 7.141 kB / 0.5384 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3673, allocations: 6.969 kB / 0.5384 GB, free: 7.652 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 (8): * Single equations (assignments): 8 * 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.0002048/0.3675, allocations: 213.5 kB / 0.5386 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/0.3676, allocations: 51 kB / 0.5387 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.3679, allocations: 165.8 kB / 0.5388 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.368, allocations: 5.281 kB / 0.5389 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.368, allocations: 0 / 0.5389 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.368, allocations: 0 / 0.5389 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006795/0.3687, allocations: 0.5074 MB / 0.5394 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3687, allocations: 1 kB / 0.5394 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.105e-05/0.3688, allocations: 18.27 kB / 0.5394 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.3688, allocations: 4.875 kB / 0.5394 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3688, allocations: 1.062 kB / 0.5394 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3688, allocations: 1.156 kB / 0.5394 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.3688, allocations: 5 kB / 0.5394 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.3691, allocations: 243.1 kB / 0.5396 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.281e-05/0.3692, allocations: 118.7 kB / 0.5397 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.3692, allocations: 1.406 kB / 0.5397 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/0.3693, allocations: 3.844 kB / 0.5397 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.3694, allocations: 16.11 kB / 0.5397 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.3694, allocations: 1.438 kB / 0.5397 GB, free: 6.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006524/0.3701, allocations: 0.6555 MB / 0.5404 GB, free: 6.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3701, allocations: 0 / 0.5404 GB, free: 6.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.3704, allocations: 34.86 kB / 0.5404 GB, free: 6.238 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002148/0.3725, allocations: 1.133 MB / 0.5415 GB, free: 5.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.3728, allocations: 76.11 kB / 0.5416 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3728, allocations: 0 / 0.5416 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.701e-05/0.3729, allocations: 29.89 kB / 0.5416 GB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.3733, allocations: 29.91 kB / 0.5417 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/0.3775, allocations: 3.339 MB / 0.5449 GB, free: 2.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.378, allocations: 0.826 MB / 0.5457 GB, free: 1.918 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.183e-05/0.3781, allocations: 16.42 kB / 0.5457 GB, free: 1.902 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.3782, allocations: 107.4 kB / 0.5458 GB, free: 1.797 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3782, allocations: 4 kB / 0.5458 GB, free: 1.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.4062, allocations: 6.368 MB / 0.5521 GB, free: 11.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/8.683, allocations: 15.33 kB / 0.5521 GB, free: 11.48 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches