Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001693/0.001693, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001852/0.001852, allocations: 199.9 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.359/1.359, 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.2321/0.2321, allocations: 46.13 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 87.8 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3249, allocations: 62.44 MB / 0.5307 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003044/0.328, allocations: 1.609 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3291, allocations: 0.5374 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.3291, allocations: 1.219 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.3295, allocations: 135.6 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.3298, allocations: 123.4 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.3301, allocations: 89.95 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.3303, allocations: 105.4 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3304, allocations: 20.23 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.952e-05/0.3305, allocations: 41.33 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.3306, allocations: 82.53 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.3306, allocations: 2.75 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.791e-05/0.3307, allocations: 40.86 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.3308, allocations: 34.84 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/0.3309, allocations: 38.55 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.3311, allocations: 127.1 kB / 0.5336 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3311, allocations: 0 / 0.5336 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3311, allocations: 5.375 kB / 0.5336 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.3311, allocations: 0 / 0.5336 GB, free: 11.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005739/0.3317, allocations: 444.8 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3318, allocations: 9.625 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.3318, allocations: 32.12 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.3318, allocations: 14.34 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.3321, allocations: 215 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.3321, allocations: 1.75 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.3321, allocations: 9.734 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.3323, allocations: 63.3 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3323, allocations: 0 / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3323, allocations: 1.375 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3323, allocations: 0 / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.782e-05/0.3324, allocations: 27.09 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.3328, allocations: 299.1 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.3329, allocations: 54.94 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.333, allocations: 21.19 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.333, allocations: 0 / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.3331, allocations: 31.94 kB / 0.5347 GB, free: 9.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.3331, allocations: 0 / 0.5347 GB, free: 9.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008611/0.3339, allocations: 236.1 kB / 0.535 GB, free: 9.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.334, allocations: 52.66 kB / 0.535 GB, free: 9.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.3343, allocations: 282.8 kB / 0.5353 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3343, allocations: 26.77 kB / 0.5353 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.64e-05/0.3344, allocations: 112.2 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.3344, allocations: 26.94 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.3345, allocations: 27.33 kB / 0.5355 GB, free: 9.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3346, allocations: 327.5 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.3347, allocations: 25.61 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.3348, allocations: 26.36 kB / 0.5358 GB, free: 9.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.335, allocations: 68.39 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.335, allocations: 3.938 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002196/0.3352, allocations: 105.4 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3352, allocations: 4.781 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3352, allocations: 1.094 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3352, allocations: 0 / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3354, allocations: 26.7 kB / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3354, allocations: 3.938 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.3354, allocations: 3.406 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.3354, allocations: 6.234 kB / 0.536 GB, free: 8.914 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.0001222/0.3356, allocations: 137.8 kB / 0.5362 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.3356, allocations: 13.91 kB / 0.5362 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.3359, allocations: 122.7 kB / 0.5363 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3359, allocations: 1.5 kB / 0.5363 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3359, allocations: 3.938 kB / 0.5363 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.3359, allocations: 1.188 kB / 0.5363 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/0.3365, allocations: 423.6 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.3365, allocations: 432 / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.357e-05/0.3366, allocations: 21.8 kB / 0.5367 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3366, allocations: 1.094 kB / 0.5367 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3366, allocations: 2.125 kB / 0.5367 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.3366, allocations: 3.984 kB / 0.5367 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3366, allocations: 0.9688 kB / 0.5367 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.3369, allocations: 209.6 kB / 0.5369 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.337, allocations: 101.6 kB / 0.537 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.337, allocations: 4 kB / 0.537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.3371, allocations: 4.344 kB / 0.537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.3371, allocations: 11.48 kB / 0.5371 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.3371, allocations: 1.438 kB / 0.5371 GB, free: 7.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001869/0.3373, allocations: 213.5 kB / 0.5373 GB, free: 7.844 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3373, allocations: 0 / 0.5373 GB, free: 7.844 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.3376, allocations: 22.42 kB / 0.5373 GB, free: 7.836 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.002102/0.3397, allocations: 1.093 MB / 0.5383 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.3399, allocations: 63.31 kB / 0.5384 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3399, allocations: 4 kB / 0.5384 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.163e-05/0.34, allocations: 37.97 kB / 0.5384 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.3404, allocations: 26.98 kB / 0.5385 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.3425, allocations: 1.799 MB / 0.5402 GB, free: 5.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.3429, allocations: 0.716 MB / 0.5409 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.517e-05/0.343, allocations: 17.08 kB / 0.5409 GB, free: 4.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.3431, allocations: 37.14 kB / 0.541 GB, free: 4.668 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3431, allocations: 7.875 kB / 0.541 GB, free: 4.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.3668, allocations: 3.382 MB / 0.5443 GB, free: 2.832 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.686/8.053, allocations: 6.031 kB / 0.5443 GB, free: 2.828 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches