Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001571/0.001572, 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.413/1.413, allocations: 227.4 MB / 246.9 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.2091/0.2091, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 83.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3096, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003021/0.3127, allocations: 1.686 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3137, allocations: 0.579 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.998e-05/0.3138, allocations: 1.594 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.3141, allocations: 63.56 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.3144, allocations: 98.25 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.3149, allocations: 189.3 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.315, allocations: 90.33 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3152, allocations: 14.67 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.974e-05/0.3152, allocations: 43.05 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.3153, allocations: 50.89 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.3154, allocations: 4.344 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.824e-05/0.3155, allocations: 57.16 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.3155, allocations: 24.17 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.3156, allocations: 35.81 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.3158, allocations: 119.1 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3158, allocations: 1.375 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3158, allocations: 3.938 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.3158, allocations: 0 / 0.5335 GB, free: 11.17 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.0005191/0.3163, allocations: 421.1 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3164, allocations: 17.56 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.3164, allocations: 36.11 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.3165, allocations: 14.34 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.3167, allocations: 209.2 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.3167, allocations: 1.75 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.3167, allocations: 3.125 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3169, allocations: 86.08 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.3169, allocations: 3.953 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3169, allocations: 0 / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.317, allocations: 1.375 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.3171, allocations: 44.72 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.3176, allocations: 329.9 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.3178, allocations: 56.67 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.277e-05/0.3179, allocations: 30.72 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.3179, allocations: 0 / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.3179, allocations: 31.94 kB / 0.5347 GB, free: 9.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.3179, allocations: 0 / 0.5347 GB, free: 9.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001362/0.3193, allocations: 443.2 kB / 0.5352 GB, free: 9.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.3194, allocations: 52.88 kB / 0.5352 GB, free: 9.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.3195, allocations: 196.5 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3196, allocations: 25.7 kB / 0.5354 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.3196, allocations: 105.1 kB / 0.5355 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.3197, allocations: 44.92 kB / 0.5356 GB, free: 9.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.3197, allocations: 21.34 kB / 0.5356 GB, free: 9.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3198, allocations: 327.1 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.32, allocations: 57.27 kB / 0.536 GB, free: 8.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.3201, allocations: 52.42 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.3204, allocations: 124.6 kB / 0.5361 GB, free: 8.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3204, allocations: 0 / 0.5361 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003428/0.3207, allocations: 172.5 kB / 0.5363 GB, free: 8.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3208, allocations: 5.25 kB / 0.5363 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3208, allocations: 1 kB / 0.5363 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3208, allocations: 3.938 kB / 0.5363 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3209, allocations: 24.45 kB / 0.5363 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3209, allocations: 1.562 kB / 0.5363 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.321, allocations: 14.42 kB / 0.5363 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.321, allocations: 6.562 kB / 0.5363 GB, free: 8.75 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.0001084/0.3211, allocations: 132.2 kB / 0.5365 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.3212, allocations: 14.09 kB / 0.5365 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.3216, allocations: 187 kB / 0.5367 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3216, allocations: 5.344 kB / 0.5367 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3216, allocations: 5.469 kB / 0.5367 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3216, allocations: 3.938 kB / 0.5367 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006849/0.3223, allocations: 0.5065 MB / 0.5372 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3223, allocations: 0 / 0.5372 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.3224, allocations: 28.73 kB / 0.5372 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3224, allocations: 5.25 kB / 0.5372 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.3224, allocations: 2.719 kB / 0.5372 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.3224, allocations: 5.406 kB / 0.5372 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3225, allocations: 3.984 kB / 0.5372 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.3228, allocations: 277.7 kB / 0.5375 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.3229, allocations: 92.52 kB / 0.5376 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.3229, allocations: 6.188 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.734e-05/0.323, allocations: 10.73 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.3231, allocations: 12.48 kB / 0.5376 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.3231, allocations: 3.156 kB / 0.5376 GB, free: 7.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.3232, allocations: 160 kB / 0.5378 GB, free: 7.555 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3232, allocations: 0 / 0.5378 GB, free: 7.555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.3235, allocations: 30.72 kB / 0.5378 GB, free: 7.543 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.001648/0.3251, allocations: 1.155 MB / 0.5389 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003349/0.3255, allocations: 128.1 kB / 0.539 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3255, allocations: 0 / 0.539 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.3257, allocations: 71.27 kB / 0.5391 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.3261, allocations: 25.02 kB / 0.5391 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.3284, allocations: 1.91 MB / 0.541 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.3286, allocations: 0.7196 MB / 0.5417 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.191e-05/0.3287, allocations: 31.58 kB / 0.5417 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.677e-05/0.3288, allocations: 43.75 kB / 0.5418 GB, free: 4.215 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3288, allocations: 0 / 0.5418 GB, free: 4.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.3487, allocations: 3.502 MB / 0.5452 GB, free: 2.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/8.088, allocations: 10.95 kB / 0.5452 GB, free: 2.32 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches