Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.00134, 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.001302/0.001302, 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.379/1.379, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001418, allocations: 84.08 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3196, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002708/0.3223, allocations: 1.589 MB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009771/0.3233, allocations: 0.5511 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/0.3234, allocations: 0 / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.3236, allocations: 26.78 kB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.3239, allocations: 82.36 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.3242, allocations: 109 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.3243, allocations: 63.36 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.3244, allocations: 14.12 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.488e-05/0.3245, allocations: 28.8 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/0.3245, allocations: 26.44 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.3245, allocations: 2.438 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.219e-05/0.3246, allocations: 29.41 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.88e-05/0.3247, allocations: 17.48 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.3247, allocations: 29.2 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.3249, allocations: 85.75 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.3249, allocations: 4 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3249, allocations: 0 / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.3249, allocations: 0 / 0.5331 GB, free: 11.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004371/0.3254, allocations: 394.9 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3254, allocations: 8.844 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.186e-05/0.3255, allocations: 36.12 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.3255, allocations: 13.09 kB / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.3257, allocations: 199.5 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-06/0.3257, allocations: 4.125 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.3257, allocations: 6.219 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3259, allocations: 52.88 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3259, allocations: 0 / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3259, allocations: 4 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3259, allocations: 2.406 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.065e-05/0.326, allocations: 24.39 kB / 0.5338 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.3264, allocations: 281.6 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.3266, allocations: 44.44 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.3266, allocations: 21.19 kB / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3266, allocations: 0 / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.3267, allocations: 35.88 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.3267, allocations: 0 / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005561/0.3272, allocations: 159.4 kB / 0.5343 GB, free: 10.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.3273, allocations: 52.78 kB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.3275, allocations: 185.5 kB / 0.5346 GB, free: 9.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.3275, allocations: 27.08 kB / 0.5346 GB, free: 9.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.3276, allocations: 104.2 kB / 0.5347 GB, free: 9.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.3276, allocations: 13.28 kB / 0.5347 GB, free: 9.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.3276, allocations: 23.2 kB / 0.5347 GB, free: 9.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3277, allocations: 317.6 kB / 0.535 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-05/0.3278, allocations: 22.97 kB / 0.5351 GB, free: 9.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.458e-05/0.3279, allocations: 20.36 kB / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.3281, allocations: 56.52 kB / 0.5351 GB, free: 9.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3281, allocations: 0 / 0.5351 GB, free: 9.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001936/0.3283, allocations: 99.88 kB / 0.5352 GB, free: 9.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3283, allocations: 5.5 kB / 0.5352 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3283, allocations: 0 / 0.5352 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3283, allocations: 0 / 0.5352 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.3284, allocations: 13.61 kB / 0.5352 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3284, allocations: 5.312 kB / 0.5353 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.069e-05/0.3284, allocations: 2.75 kB / 0.5353 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.3285, allocations: 1.375 kB / 0.5353 GB, free: 9.355 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 (5): * Single equations (assignments): 5 * 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 8.828e-05/0.3285, allocations: 128.7 kB / 0.5354 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.3286, allocations: 8.078 kB / 0.5354 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.3288, allocations: 97.66 kB / 0.5355 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3289, allocations: 5.359 kB / 0.5355 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3289, allocations: 3.938 kB / 0.5355 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3289, allocations: 1.375 kB / 0.5355 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.3293, allocations: 356.6 kB / 0.5358 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3293, allocations: 1.156 kB / 0.5358 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.238e-05/0.3294, allocations: 12.77 kB / 0.5358 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3294, allocations: 5.062 kB / 0.5358 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.3294, allocations: 1.25 kB / 0.5358 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3294, allocations: 3.938 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3294, allocations: 0 / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.3297, allocations: 191.6 kB / 0.536 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.3297, allocations: 87.52 kB / 0.5361 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.3297, allocations: 5.219 kB / 0.5361 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.3298, allocations: 6.641 kB / 0.5361 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.3299, allocations: 1.344 kB / 0.5361 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.3299, allocations: 2.562 kB / 0.5361 GB, free: 8.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.33, allocations: 139.4 kB / 0.5363 GB, free: 8.402 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.33, allocations: 1.625 kB / 0.5363 GB, free: 8.402 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.3302, allocations: 21.83 kB / 0.5363 GB, free: 8.391 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001301/0.3315, allocations: 1.02 MB / 0.5373 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.3318, allocations: 46.47 kB / 0.5373 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3318, allocations: 5.156 kB / 0.5373 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.3319, allocations: 28.36 kB / 0.5374 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.3323, allocations: 24.11 kB / 0.5374 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.3339, allocations: 1.518 MB / 0.5389 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.3342, allocations: 0.7017 MB / 0.5395 GB, free: 5.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.942e-05/0.3343, allocations: 21.52 kB / 0.5396 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.3343, allocations: 23.25 kB / 0.5396 GB, free: 5.43 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3343, allocations: 0 / 0.5396 GB, free: 5.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.3519, allocations: 2.682 MB / 0.5422 GB, free: 3.918 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.811/8.163, allocations: 11.83 kB / 0.5422 GB, free: 3.914 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches