Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002053/0.002053, allocations: 122.1 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.002411/0.002411, allocations: 202 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.418/1.418, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 83.84 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3147, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.00304/0.3178, allocations: 1.686 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009599/0.3187, allocations: 0.562 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.3188, allocations: 1.375 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005619/0.3194, allocations: 453.2 kB / 0.5333 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004433/0.3198, allocations: 292.9 kB / 0.5336 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.3202, allocations: 137.1 kB / 0.5337 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.3204, allocations: 179.3 kB / 0.5339 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3205, allocations: 13.86 kB / 0.5339 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.3207, allocations: 122.8 kB / 0.534 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.3209, allocations: 216 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.3209, allocations: 4.125 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.3211, allocations: 48.83 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.3212, allocations: 86.58 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.475e-05/0.3213, allocations: 107.2 kB / 0.5344 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.3216, allocations: 288 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3217, allocations: 1.188 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3217, allocations: 0 / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3217, allocations: 0 / 0.5347 GB, free: 10.63 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.0008111/0.3225, allocations: 0.6804 MB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3225, allocations: 9.125 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.3226, allocations: 32.94 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.3226, allocations: 43.38 kB / 0.5355 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.3229, allocations: 311.9 kB / 0.5357 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.323, allocations: 2.625 kB / 0.5358 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.323, allocations: 6.688 kB / 0.5358 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.3232, allocations: 63.98 kB / 0.5358 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3232, allocations: 4 kB / 0.5358 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3232, allocations: 5.156 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3232, allocations: 1.094 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.3234, allocations: 34.81 kB / 0.5359 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.3239, allocations: 407.6 kB / 0.5362 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.3241, allocations: 59.05 kB / 0.5363 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.634e-05/0.3242, allocations: 24.81 kB / 0.5363 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.3242, allocations: 1.031 kB / 0.5363 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.3243, allocations: 35.66 kB / 0.5364 GB, free: 9.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.3243, allocations: 3.938 kB / 0.5364 GB, free: 9.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001505/0.3258, allocations: 493.3 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.3258, allocations: 52.59 kB / 0.5369 GB, free: 8.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009088/0.3268, allocations: 0.8669 MB / 0.5377 GB, free: 8.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.3268, allocations: 31.27 kB / 0.5378 GB, free: 8.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.327, allocations: 220.5 kB / 0.538 GB, free: 8.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.327, allocations: 32.08 kB / 0.538 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.3271, allocations: 24.42 kB / 0.538 GB, free: 8.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3272, allocations: 369.2 kB / 0.5384 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.3274, allocations: 42.56 kB / 0.5384 GB, free: 7.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.3275, allocations: 40.19 kB / 0.5385 GB, free: 7.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.3277, allocations: 104.6 kB / 0.5386 GB, free: 7.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3278, allocations: 4 kB / 0.5386 GB, free: 7.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003358/0.3281, allocations: 176 kB / 0.5387 GB, free: 7.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3281, allocations: 5.844 kB / 0.5387 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3281, allocations: 0 / 0.5387 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3282, allocations: 5.312 kB / 0.5387 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3283, allocations: 25.23 kB / 0.5388 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.3283, allocations: 3.984 kB / 0.5388 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.991e-05/0.3284, allocations: 14.19 kB / 0.5388 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3284, allocations: 2.562 kB / 0.5388 GB, free: 7.48 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 (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 0.0002082/0.3286, allocations: 218.1 kB / 0.539 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.3287, allocations: 47.39 kB / 0.539 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004391/0.3291, allocations: 205.9 kB / 0.5392 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.3291, allocations: 13.27 kB / 0.5392 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3291, allocations: 1.875 kB / 0.5393 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3292, allocations: 0 / 0.5393 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007894/0.3299, allocations: 0.5743 MB / 0.5398 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.33, allocations: 1.219 kB / 0.5398 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.3301, allocations: 35.95 kB / 0.5398 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.3301, allocations: 1.219 kB / 0.5398 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3301, allocations: 6.344 kB / 0.5399 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3301, allocations: 4.984 kB / 0.5399 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3301, allocations: 1.062 kB / 0.5399 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.3305, allocations: 282 kB / 0.5401 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.719e-05/0.3306, allocations: 127.8 kB / 0.5403 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.3307, allocations: 1 kB / 0.5403 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.3308, allocations: 14.73 kB / 0.5403 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.3308, allocations: 12.27 kB / 0.5403 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.3308, allocations: 3.281 kB / 0.5403 GB, free: 6.281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006418/0.3315, allocations: 0.6581 MB / 0.5409 GB, free: 5.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3315, allocations: 0 / 0.5409 GB, free: 5.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.3318, allocations: 37.83 kB / 0.541 GB, free: 5.949 MB / 398.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.002217/0.334, allocations: 1.17 MB / 0.5421 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.3343, allocations: 114.9 kB / 0.5422 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3343, allocations: 0 / 0.5422 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.3345, allocations: 62.52 kB / 0.5423 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.3349, allocations: 33.33 kB / 0.5423 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.339, allocations: 3.449 MB / 0.5457 GB, free: 1.996 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.3395, allocations: 0.8299 MB / 0.5465 GB, free: 1.141 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.911e-05/0.3396, allocations: 16.53 kB / 0.5465 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.3397, allocations: 115.4 kB / 0.5466 GB, free: 1.016 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3397, allocations: 0 / 0.5466 GB, free: 1.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/0.3671, allocations: 6.555 MB / 0.553 GB, free: 10.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/8.604, allocations: 8.828 kB / 0.553 GB, free: 10.53 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches