Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001184, allocations: 117.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001266, allocations: 199.8 kB / 18.74 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3786, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.00291/0.3816, allocations: 1.619 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009705/0.3826, allocations: 0.5395 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.3826, allocations: 1.812 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.3829, allocations: 76.55 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.3832, allocations: 103.4 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.3835, allocations: 98.97 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.3836, allocations: 79.38 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3838, allocations: 20.23 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.127e-05/0.3838, allocations: 44.33 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3839, allocations: 47.34 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.384, allocations: 2.75 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.734e-05/0.3841, allocations: 50.22 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.3841, allocations: 18.8 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.3842, allocations: 33.23 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.3844, allocations: 109.7 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3844, allocations: 0 / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3844, allocations: 4 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3844, allocations: 1.375 kB / 0.5333 GB, free: 11.34 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.0005046/0.3849, allocations: 418.9 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.385, allocations: 9.875 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/0.385, allocations: 31.81 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.3851, allocations: 14.03 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.3853, allocations: 208.1 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-06/0.3853, allocations: 1.406 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.3853, allocations: 6.531 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3855, allocations: 58.42 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3855, allocations: 1.094 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.3855, allocations: 11.92 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3855, allocations: 1.062 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.689e-05/0.3856, allocations: 26.98 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.3861, allocations: 291.4 kB / 0.5343 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.3862, allocations: 55.27 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.3862, allocations: 12.48 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.3863, allocations: 1.031 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3863, allocations: 34.56 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3863, allocations: 0.9375 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009193/0.3872, allocations: 225.8 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.3873, allocations: 52.62 kB / 0.5347 GB, free: 9.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.3875, allocations: 214.8 kB / 0.5349 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3876, allocations: 25.7 kB / 0.5349 GB, free: 9.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.3876, allocations: 110.3 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.3877, allocations: 26.83 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.3877, allocations: 31.5 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3878, allocations: 322.3 kB / 0.5354 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.3879, allocations: 25.89 kB / 0.5354 GB, free: 9.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.388, allocations: 26.17 kB / 0.5354 GB, free: 9.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3882, allocations: 68.92 kB / 0.5355 GB, free: 9.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3882, allocations: 0 / 0.5355 GB, free: 9.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002072/0.3884, allocations: 99.42 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3884, allocations: 7.844 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3884, allocations: 1.375 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3885, allocations: 0 / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3886, allocations: 17.73 kB / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3886, allocations: 5.625 kB / 0.5356 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/0.3886, allocations: 6.75 kB / 0.5356 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3886, allocations: 2.75 kB / 0.5356 GB, free: 9.156 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.0001068/0.3888, allocations: 131.4 kB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.3888, allocations: 13.41 kB / 0.5358 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.3891, allocations: 120.4 kB / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3891, allocations: 1.375 kB / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3891, allocations: 7.875 kB / 0.5359 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3891, allocations: 0 / 0.5359 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/0.3897, allocations: 408 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3897, allocations: 0 / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.555e-05/0.3897, allocations: 29.61 kB / 0.5363 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3898, allocations: 1.375 kB / 0.5363 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3898, allocations: 1.375 kB / 0.5363 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.3898, allocations: 4.984 kB / 0.5363 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3898, allocations: 0 / 0.5363 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.3901, allocations: 201.4 kB / 0.5365 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.3901, allocations: 95.77 kB / 0.5366 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.3901, allocations: 1.188 kB / 0.5366 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.3902, allocations: 7.312 kB / 0.5366 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.3903, allocations: 11.17 kB / 0.5366 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.3903, allocations: 3.375 kB / 0.5366 GB, free: 8.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.3905, allocations: 171 kB / 0.5368 GB, free: 8.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3905, allocations: 0 / 0.5368 GB, free: 8.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.3907, allocations: 18.25 kB / 0.5368 GB, free: 8.102 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.001577/0.3923, allocations: 1.084 MB / 0.5379 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.3926, allocations: 70 kB / 0.5379 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3926, allocations: 5.125 kB / 0.5379 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.79e-05/0.3927, allocations: 37.23 kB / 0.538 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.393, allocations: 19.17 kB / 0.538 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.395, allocations: 1.678 MB / 0.5396 GB, free: 5.746 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3954, allocations: 0.7109 MB / 0.5403 GB, free: 5.031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.304e-05/0.3954, allocations: 7.453 kB / 0.5403 GB, free: 5.031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.3955, allocations: 37.7 kB / 0.5404 GB, free: 5 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3955, allocations: 1.375 kB / 0.5404 GB, free: 5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.418, allocations: 3.096 MB / 0.5434 GB, free: 3.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.206, allocations: 1.125 kB / 0.5434 GB, free: 3.305 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches