Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.001319/0.001319, allocations: 113.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.001439/0.001439, allocations: 207.8 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.36/1.36, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 79.81 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3164, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003123/0.3195, allocations: 1.671 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.3206, allocations: 0.5753 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.3207, allocations: 0 / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006116/0.3213, allocations: 461.7 kB / 0.5333 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004285/0.3218, allocations: 295.6 kB / 0.5336 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.3222, allocations: 173.4 kB / 0.5337 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.3224, allocations: 183.2 kB / 0.5339 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3225, allocations: 19.75 kB / 0.5339 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.3227, allocations: 118.8 kB / 0.534 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.3229, allocations: 207.2 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3229, allocations: 4.094 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.3231, allocations: 56.78 kB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.3232, allocations: 83.97 kB / 0.5344 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.3233, allocations: 110.8 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.3236, allocations: 293.7 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3236, allocations: 0 / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3236, allocations: 4 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.3237, allocations: 1.312 kB / 0.5348 GB, free: 10.59 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.0008633/0.3245, allocations: 0.6654 MB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3246, allocations: 9.312 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.3246, allocations: 35.81 kB / 0.5355 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.3247, allocations: 44.5 kB / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.3251, allocations: 312.5 kB / 0.5358 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.3251, allocations: 6.438 kB / 0.5358 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.3251, allocations: 3.625 kB / 0.5358 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.3253, allocations: 65.52 kB / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3253, allocations: 1.125 kB / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3253, allocations: 0 / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3253, allocations: 1.094 kB / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.3255, allocations: 39.53 kB / 0.5359 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.326, allocations: 406 kB / 0.5363 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.3261, allocations: 55.75 kB / 0.5364 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/0.3262, allocations: 25.83 kB / 0.5364 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.3262, allocations: 0 / 0.5364 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3263, allocations: 31.78 kB / 0.5364 GB, free: 9.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3263, allocations: 0 / 0.5364 GB, free: 9.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009587/0.3272, allocations: 337.2 kB / 0.5367 GB, free: 8.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.3273, allocations: 56.28 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009396/0.3282, allocations: 0.8783 MB / 0.5376 GB, free: 8.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3283, allocations: 26.58 kB / 0.5377 GB, free: 8.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.3284, allocations: 230.2 kB / 0.5379 GB, free: 8.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.3285, allocations: 27.23 kB / 0.5379 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.3285, allocations: 24.47 kB / 0.5379 GB, free: 8.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3287, allocations: 364.3 kB / 0.5383 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.732e-05/0.3288, allocations: 28.89 kB / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-05/0.3289, allocations: 32.97 kB / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.3291, allocations: 74.73 kB / 0.5384 GB, free: 7.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3291, allocations: 7.938 kB / 0.5384 GB, free: 7.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002602/0.3294, allocations: 156.3 kB / 0.5386 GB, free: 7.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3294, allocations: 5.281 kB / 0.5386 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3294, allocations: 4 kB / 0.5386 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3294, allocations: 1.094 kB / 0.5386 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3295, allocations: 21.7 kB / 0.5386 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3296, allocations: 1.031 kB / 0.5386 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/0.3296, allocations: 3.469 kB / 0.5386 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.3296, allocations: 6.062 kB / 0.5386 GB, free: 7.543 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.0002042/0.3298, allocations: 223 kB / 0.5388 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.3299, allocations: 44.53 kB / 0.5389 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003474/0.3303, allocations: 170.1 kB / 0.539 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.3303, allocations: 5.438 kB / 0.539 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3303, allocations: 0 / 0.539 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3303, allocations: 4 kB / 0.539 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00069/0.331, allocations: 0.5247 MB / 0.5396 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.331, allocations: 1.156 kB / 0.5396 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-05/0.3311, allocations: 22.17 kB / 0.5396 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.3311, allocations: 1.156 kB / 0.5396 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.3311, allocations: 5.094 kB / 0.5396 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3311, allocations: 1.266 kB / 0.5396 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.3311, allocations: 9.141 kB / 0.5396 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.3314, allocations: 246.9 kB / 0.5398 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.539e-05/0.3315, allocations: 119.7 kB / 0.5399 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.3316, allocations: 1.562 kB / 0.5399 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.136e-05/0.3317, allocations: 8.172 kB / 0.5399 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.3317, allocations: 14.72 kB / 0.54 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.3317, allocations: 2.406 kB / 0.54 GB, free: 6.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006649/0.3324, allocations: 0.6608 MB / 0.5406 GB, free: 6.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3324, allocations: 0 / 0.5406 GB, free: 6.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3327, allocations: 30.48 kB / 0.5406 GB, free: 6.105 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.00212/0.3348, allocations: 1.131 MB / 0.5417 GB, free: 5.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.335, allocations: 80.77 kB / 0.5418 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3351, allocations: 0 / 0.5418 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.959e-05/0.3352, allocations: 48.44 kB / 0.5419 GB, free: 5.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.3356, allocations: 32.92 kB / 0.5419 GB, free: 5.156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.3395, allocations: 3.387 MB / 0.5452 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/0.3401, allocations: 0.8299 MB / 0.546 GB, free: 1.641 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.758e-05/0.3402, allocations: 24.7 kB / 0.546 GB, free: 1.617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.3403, allocations: 115.4 kB / 0.5462 GB, free: 1.504 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3403, allocations: 4 kB / 0.5462 GB, free: 1.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.3682, allocations: 6.462 MB / 0.5525 GB, free: 11.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/8.776, allocations: 8.125 kB / 0.5525 GB, free: 11.1 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches