Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007478/0.0007478, allocations: 95.19 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.0008947/0.0008949, allocations: 202.2 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.303/1.303, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1928/0.1928, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002551/0.0002552, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09031/0.09058, allocations: 63.56 MB / 483.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002104/0.09272, allocations: 1.731 MB / 484.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.09466, allocations: 1.318 MB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.09479, allocations: 0 / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.095, allocations: 47.7 kB / 486.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.0954, allocations: 179.4 kB / 486.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.0966, allocations: 0.5747 MB / 487 MB, free: 240 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.09697, allocations: 299.1 kB / 487.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.09713, allocations: 72.97 kB / 487.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.09734, allocations: 115.4 kB / 487.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.09756, allocations: 175.2 kB / 487.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.0976, allocations: 12 kB / 487.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.09773, allocations: 59.92 kB / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.09787, allocations: 135.5 kB / 487.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.09801, allocations: 188.3 kB / 488.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.09838, allocations: 394.4 kB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.09839, allocations: 0 / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.0984, allocations: 0 / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.09841, allocations: 0 / 488.4 MB, free: 14.8 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008423/0.09926, allocations: 0.7388 MB / 489.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.0993, allocations: 12.88 kB / 489.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.09935, allocations: 46.67 kB / 489.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.09961, allocations: 76.17 kB / 489.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.1001, allocations: 488.5 kB / 489.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1002, allocations: 8.375 kB / 489.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.1002, allocations: 15.84 kB / 489.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.1005, allocations: 158.6 kB / 490 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1005, allocations: 0 / 490 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.1005, allocations: 8 kB / 490 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1005, allocations: 4 kB / 490 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.1008, allocations: 103.9 kB / 490.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008688/0.1017, allocations: 0.6995 MB / 490.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.1019, allocations: 129.2 kB / 490.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.102, allocations: 50.03 kB / 491 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.102, allocations: 7.938 kB / 491 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1021, allocations: 46.44 kB / 491 MB, free: 12.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.1021, allocations: 0 / 491 MB, free: 12.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001455/0.1035, allocations: 0.5876 MB / 491.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.1036, allocations: 89.03 kB / 491.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009624/0.1046, allocations: 0.926 MB / 492.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1046, allocations: 25.7 kB / 492.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.1048, allocations: 276.2 kB / 492.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.1048, allocations: 51.25 kB / 493 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.1049, allocations: 21.7 kB / 493 MB, free: 10.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.272e-05/0.105, allocations: 317.9 kB / 493.3 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.1052, allocations: 71.95 kB / 493.4 MB, free: 9.629 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.1054, allocations: 97.59 kB / 493.4 MB, free: 9.527 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.1058, allocations: 177.7 kB / 493.6 MB, free: 9.348 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1058, allocations: 0 / 493.6 MB, free: 9.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005019/0.1063, allocations: 260.8 kB / 493.9 MB, free: 9.086 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1063, allocations: 8 kB / 493.9 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1063, allocations: 0 / 493.9 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1063, allocations: 7.984 kB / 493.9 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.1065, allocations: 43.91 kB / 493.9 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.1065, allocations: 3.938 kB / 493.9 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.1067, allocations: 12 kB / 494 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1067, allocations: 11.98 kB / 494 MB, free: 9 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0001897/0.1069, allocations: 213.7 kB / 494.2 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.509e-05/0.107, allocations: 59.25 kB / 494.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006221/0.1076, allocations: 315.5 kB / 494.5 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1077, allocations: 4 kB / 494.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1077, allocations: 0 / 494.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1077, allocations: 3.984 kB / 494.5 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.1088, allocations: 0.8371 MB / 495.4 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1088, allocations: 0 / 495.4 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.109, allocations: 39.97 kB / 495.4 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.109, allocations: 4 kB / 495.4 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.109, allocations: 4 kB / 495.4 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.109, allocations: 11.92 kB / 495.4 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.109, allocations: 3.938 kB / 495.4 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005658/0.1096, allocations: 440.5 kB / 495.9 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.1098, allocations: 160.3 kB / 496 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.1098, allocations: 7.984 kB / 496 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.11, allocations: 15.94 kB / 496.1 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.1101, allocations: 19.97 kB / 496.1 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.1101, allocations: 4 kB / 496.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007478/0.1109, allocations: 0.6786 MB / 496.8 MB, free: 6.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1109, allocations: 0 / 496.8 MB, free: 6.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.1112, allocations: 56 kB / 496.8 MB, free: 6.043 MB / 366.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 (16): * Single equations (assignments): 16 * 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.001615/0.1129, allocations: 1.255 MB / 498.1 MB, free: 4.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004482/0.1133, allocations: 183.8 kB / 498.2 MB, free: 4.715 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1133, allocations: 0 / 498.2 MB, free: 4.715 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.1136, allocations: 99.86 kB / 498.3 MB, free: 4.617 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/0.1142, allocations: 75.58 kB / 498.4 MB, free: 4.547 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00646/0.1206, allocations: 5.526 MB / 0.4921 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.121, allocations: 0.8731 MB / 0.493 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.1212, allocations: 91.22 kB / 0.4931 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.1215, allocations: 179.4 kB / 0.4932 GB, free: 13.76 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1215, allocations: 0 / 0.4932 GB, free: 13.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.1409, allocations: 9.315 MB / 0.5023 GB, free: 4.555 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.1411, allocations: 233.5 kB / 0.5026 GB, free: 4.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.007, allocations: 4.062 kB / 0.5026 GB, free: 4.301 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches