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.001842/0.001842, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002068/0.002068, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 46.13 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 79.86 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3239, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003376/0.3273, allocations: 2.044 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3291, allocations: 1.022 MB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.839e-05/0.3292, allocations: 2.75 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004653/0.3296, allocations: 252.1 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004665/0.3301, allocations: 261.9 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.3312, allocations: 493.9 kB / 0.5346 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003969/0.3316, allocations: 327.1 kB / 0.5349 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.3317, allocations: 72.75 kB / 0.535 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.3319, allocations: 143.3 kB / 0.5351 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.3321, allocations: 206.9 kB / 0.5353 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.3322, allocations: 11 kB / 0.5353 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.3324, allocations: 105 kB / 0.5354 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.3325, allocations: 88.44 kB / 0.5355 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3326, allocations: 125.7 kB / 0.5356 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004335/0.333, allocations: 362 kB / 0.536 GB, free: 9.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3331, allocations: 0 / 0.536 GB, free: 9.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3331, allocations: 0 / 0.536 GB, free: 9.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3331, allocations: 0 / 0.536 GB, free: 9.504 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.000835/0.3339, allocations: 0.7058 MB / 0.5367 GB, free: 8.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.334, allocations: 10.03 kB / 0.5367 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.334, allocations: 42.03 kB / 0.5367 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.657e-05/0.3341, allocations: 51.84 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.3345, allocations: 332.5 kB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3345, allocations: 9.188 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.3345, allocations: 10.62 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.3348, allocations: 118.8 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3348, allocations: 5.094 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3348, allocations: 5 kB / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3348, allocations: 2.281 kB / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.335, allocations: 71.45 kB / 0.5373 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000646/0.3356, allocations: 0.4985 MB / 0.5378 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.3358, allocations: 91.92 kB / 0.5379 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.492e-05/0.3359, allocations: 41.09 kB / 0.5379 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.3359, allocations: 2.219 kB / 0.5379 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.336, allocations: 43.56 kB / 0.5379 GB, free: 7.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.336, allocations: 3.938 kB / 0.5379 GB, free: 7.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009234/0.3369, allocations: 401.9 kB / 0.5383 GB, free: 7.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.3369, allocations: 57.97 kB / 0.5384 GB, free: 7.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006657/0.3376, allocations: 0.5897 MB / 0.539 GB, free: 7.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3377, allocations: 25.7 kB / 0.539 GB, free: 7.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.3378, allocations: 211.9 kB / 0.5392 GB, free: 6.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.3379, allocations: 62.84 kB / 0.5392 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.3379, allocations: 29.19 kB / 0.5393 GB, free: 6.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3381, allocations: 359.8 kB / 0.5396 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.3382, allocations: 54.72 kB / 0.5397 GB, free: 6.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.3384, allocations: 47.88 kB / 0.5397 GB, free: 6.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.3386, allocations: 124.2 kB / 0.5398 GB, free: 6.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3386, allocations: 0 / 0.5398 GB, free: 6.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003411/0.339, allocations: 205.2 kB / 0.54 GB, free: 6.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.339, allocations: 6 kB / 0.54 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.339, allocations: 0 / 0.54 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.339, allocations: 5.375 kB / 0.54 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.3392, allocations: 30.61 kB / 0.5401 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3392, allocations: 0.8438 kB / 0.5401 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.562e-05/0.3392, allocations: 9.234 kB / 0.5401 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.3393, allocations: 8.5 kB / 0.5401 GB, free: 6.246 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.0001778/0.3395, allocations: 175.1 kB / 0.5403 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/0.3395, allocations: 46.59 kB / 0.5403 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004579/0.34, allocations: 245.3 kB / 0.5405 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.34, allocations: 3.094 kB / 0.5405 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.34, allocations: 0 / 0.5405 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.34, allocations: 0 / 0.5405 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008318/0.3409, allocations: 0.654 MB / 0.5412 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3409, allocations: 4 kB / 0.5412 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.341, allocations: 37.98 kB / 0.5412 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.341, allocations: 5.203 kB / 0.5412 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.341, allocations: 2.125 kB / 0.5412 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.341, allocations: 5.062 kB / 0.5412 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.341, allocations: 0 / 0.5412 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.3415, allocations: 302.2 kB / 0.5415 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.3416, allocations: 123.1 kB / 0.5416 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.3416, allocations: 9.219 kB / 0.5416 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3417, allocations: 8.562 kB / 0.5416 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.3418, allocations: 9.672 kB / 0.5417 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3418, allocations: 8.531 kB / 0.5417 GB, free: 4.992 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004717/0.3423, allocations: 440.9 kB / 0.5421 GB, free: 4.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3423, allocations: 0 / 0.5421 GB, free: 4.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003029/0.3426, allocations: 52.72 kB / 0.5421 GB, free: 4.754 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.003208/0.3458, allocations: 1.414 MB / 0.5435 GB, free: 3.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.3461, allocations: 139 kB / 0.5436 GB, free: 3.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3461, allocations: 0 / 0.5436 GB, free: 3.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.3463, allocations: 76.06 kB / 0.5437 GB, free: 3.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.3468, allocations: 74.86 kB / 0.5438 GB, free: 3.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.3508, allocations: 3.183 MB / 0.5469 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.3512, allocations: 0.8181 MB / 0.5477 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.3514, allocations: 50.28 kB / 0.5477 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.3515, allocations: 131.3 kB / 0.5479 GB, free: 15.86 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3515, allocations: 0 / 0.5479 GB, free: 15.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.3805, allocations: 7.642 MB / 0.5553 GB, free: 8.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.113/8.494, allocations: 4 kB / 0.5553 GB, free: 8.301 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