Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 205.2 kB / 18.74 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.354/1.354, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2176/0.2176, allocations: 46.11 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 79.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3297, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003486/0.3332, allocations: 2.115 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.3353, allocations: 1.283 MB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.3355, allocations: 2.75 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.3357, allocations: 55.64 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004743/0.3362, allocations: 214.5 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009086/0.3371, allocations: 465.6 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.3375, allocations: 319.9 kB / 0.535 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.3377, allocations: 56.12 kB / 0.535 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.3379, allocations: 153.9 kB / 0.5352 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.3382, allocations: 200.4 kB / 0.5353 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.3382, allocations: 14.25 kB / 0.5354 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.3384, allocations: 61.92 kB / 0.5354 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.3385, allocations: 147.6 kB / 0.5356 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.3387, allocations: 181.5 kB / 0.5357 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.3392, allocations: 435.8 kB / 0.5361 GB, free: 9.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3392, allocations: 5.281 kB / 0.5362 GB, free: 9.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3392, allocations: 0 / 0.5362 GB, free: 9.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.3392, allocations: 0 / 0.5362 GB, free: 9.27 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001111/0.3403, allocations: 0.8502 MB / 0.537 GB, free: 8.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3404, allocations: 9.969 kB / 0.537 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.3404, allocations: 41.98 kB / 0.537 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004211/0.3409, allocations: 101.1 kB / 0.5371 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006757/0.3415, allocations: 0.4899 MB / 0.5376 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3416, allocations: 12.81 kB / 0.5376 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.3416, allocations: 15.44 kB / 0.5376 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.3419, allocations: 139.3 kB / 0.5378 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3419, allocations: 1.312 kB / 0.5378 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.342, allocations: 4 kB / 0.5378 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.342, allocations: 3.406 kB / 0.5378 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.3423, allocations: 103.6 kB / 0.5379 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009232/0.3432, allocations: 0.6965 MB / 0.5386 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.3435, allocations: 123.6 kB / 0.5387 GB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.3436, allocations: 65.38 kB / 0.5387 GB, free: 7.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.3437, allocations: 5.453 kB / 0.5387 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.3437, allocations: 40.06 kB / 0.5388 GB, free: 7.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.3437, allocations: 1.531 kB / 0.5388 GB, free: 7.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.00192/0.3456, allocations: 0.6968 MB / 0.5395 GB, free: 6.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.3457, allocations: 87.97 kB / 0.5395 GB, free: 6.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.3467, allocations: 0.9174 MB / 0.5404 GB, free: 6.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.3468, allocations: 31.14 kB / 0.5405 GB, free: 6.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.347, allocations: 282.3 kB / 0.5407 GB, free: 5.895 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.41e-05/0.3471, allocations: 66.67 kB / 0.5408 GB, free: 5.836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.98e-05/0.3472, allocations: 42.69 kB / 0.5408 GB, free: 5.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3473, allocations: 320.6 kB / 0.5411 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.3476, allocations: 84.38 kB / 0.5412 GB, free: 5.449 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.3479, allocations: 114.6 kB / 0.5413 GB, free: 5.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005228/0.3484, allocations: 205.7 kB / 0.5415 GB, free: 5.285 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3484, allocations: 4 kB / 0.5415 GB, free: 5.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006796/0.3491, allocations: 306.1 kB / 0.5418 GB, free: 5.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3491, allocations: 8.453 kB / 0.5418 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3491, allocations: 1.125 kB / 0.5418 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3491, allocations: 1.219 kB / 0.5418 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.3494, allocations: 55.02 kB / 0.5419 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3494, allocations: 1.25 kB / 0.5419 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.3496, allocations: 24.72 kB / 0.5419 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.3496, allocations: 6.406 kB / 0.5419 GB, free: 5.09 MB / 398.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 (20): * Single equations (assignments): 20 * 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.0002248/0.3499, allocations: 221.3 kB / 0.5421 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.35, allocations: 62.83 kB / 0.5422 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008116/0.3508, allocations: 362.2 kB / 0.5425 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3508, allocations: 3.438 kB / 0.5425 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3508, allocations: 3.938 kB / 0.5425 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3508, allocations: 1 kB / 0.5425 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.3523, allocations: 0.9125 MB / 0.5434 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3523, allocations: 1.094 kB / 0.5434 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.3525, allocations: 58 kB / 0.5435 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3525, allocations: 5.25 kB / 0.5435 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.3526, allocations: 6.219 kB / 0.5435 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.3526, allocations: 5.188 kB / 0.5435 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3526, allocations: 1.406 kB / 0.5435 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/0.3533, allocations: 477.8 kB / 0.544 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.3535, allocations: 159.9 kB / 0.5441 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.3536, allocations: 5.094 kB / 0.5441 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.3538, allocations: 20.7 kB / 0.5441 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/0.3539, allocations: 24.75 kB / 0.5442 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.3539, allocations: 8.422 kB / 0.5442 GB, free: 3.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000797/0.3547, allocations: 0.6776 MB / 0.5448 GB, free: 2.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3547, allocations: 0 / 0.5448 GB, free: 2.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003614/0.3551, allocations: 67.92 kB / 0.5449 GB, free: 2.711 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 (20): * Single equations (assignments): 20 * 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.002442/0.3576, allocations: 1.309 MB / 0.5462 GB, free: 1.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00063/0.3582, allocations: 223.7 kB / 0.5464 GB, free: 1.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3582, allocations: 3.938 kB / 0.5464 GB, free: 1.289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.3585, allocations: 123.8 kB / 0.5465 GB, free: 1.168 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/0.3591, allocations: 95.2 kB / 0.5466 GB, free: 1.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007123/0.3663, allocations: 5.31 MB / 0.5518 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.3668, allocations: 0.8804 MB / 0.5527 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.3671, allocations: 87.22 kB / 0.5527 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.3673, allocations: 191.3 kB / 0.5529 GB, free: 10.49 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3674, allocations: 0 / 0.5529 GB, free: 10.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03321/0.4006, allocations: 10.44 MB / 0.5631 GB, free: 148 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.437/8.837, allocations: 7.078 kB / 0.5631 GB, free: 144 kB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches