Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001624, allocations: 116.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001934/0.001934, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2289/0.2289, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 76.09 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3328, allocations: 62.44 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003269/0.3361, allocations: 1.593 MB / 0.5321 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3372, allocations: 0.5285 MB / 0.5326 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.206e-05/0.3373, allocations: 5.281 kB / 0.5326 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.3375, allocations: 25.25 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.3379, allocations: 72.28 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.3382, allocations: 94.31 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.3385, allocations: 62.12 kB / 0.5329 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.3386, allocations: 18.7 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.936e-05/0.3387, allocations: 19.81 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.663e-05/0.3388, allocations: 25.69 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3388, allocations: 3.531 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.866e-05/0.3389, allocations: 36.48 kB / 0.533 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.339, allocations: 13.19 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.3391, allocations: 30.92 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.3393, allocations: 80.34 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3393, allocations: 5.156 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3393, allocations: 0 / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.3393, allocations: 0 / 0.5331 GB, free: 11.47 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.0005856/0.3399, allocations: 388.8 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.34, allocations: 10.34 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/0.34, allocations: 36.56 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.3401, allocations: 12.3 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.3403, allocations: 189.2 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.3403, allocations: 4.375 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.3403, allocations: 10.19 kB / 0.5337 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.3404, allocations: 57.16 kB / 0.5338 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3405, allocations: 0 / 0.5338 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.3405, allocations: 0 / 0.5338 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3405, allocations: 1.938 kB / 0.5338 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.781e-05/0.3406, allocations: 21.27 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.3409, allocations: 282.4 kB / 0.534 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.3411, allocations: 48.69 kB / 0.5341 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.3412, allocations: 14 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.3412, allocations: 1.406 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.3413, allocations: 35.75 kB / 0.5341 GB, free: 10.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.3413, allocations: 0 / 0.5341 GB, free: 10.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005433/0.3418, allocations: 141.5 kB / 0.5343 GB, free: 10.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.3419, allocations: 53.16 kB / 0.5343 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.342, allocations: 162.8 kB / 0.5345 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.342, allocations: 25.7 kB / 0.5345 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.3421, allocations: 100.2 kB / 0.5346 GB, free: 9.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.3421, allocations: 18.55 kB / 0.5346 GB, free: 9.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.3422, allocations: 21.83 kB / 0.5346 GB, free: 9.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3423, allocations: 321.6 kB / 0.5349 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.3424, allocations: 17.61 kB / 0.535 GB, free: 9.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-05/0.3424, allocations: 23.16 kB / 0.535 GB, free: 9.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.3426, allocations: 48.16 kB / 0.535 GB, free: 9.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3426, allocations: 0 / 0.535 GB, free: 9.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001881/0.3428, allocations: 81.23 kB / 0.5351 GB, free: 9.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3428, allocations: 9.5 kB / 0.5351 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3428, allocations: 0 / 0.5351 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3428, allocations: 1.375 kB / 0.5351 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.3429, allocations: 13.62 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3429, allocations: 11.86 kB / 0.5351 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.201e-05/0.343, allocations: 2.75 kB / 0.5351 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.343, allocations: 5.312 kB / 0.5352 GB, free: 9.438 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 0.0001016/0.3431, allocations: 120.7 kB / 0.5353 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.3431, allocations: 14.69 kB / 0.5353 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.3434, allocations: 90.95 kB / 0.5354 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3434, allocations: 0 / 0.5354 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.3434, allocations: 5.312 kB / 0.5354 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3434, allocations: 0 / 0.5354 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.3438, allocations: 347.9 kB / 0.5357 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3439, allocations: 0 / 0.5357 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.3439, allocations: 13.62 kB / 0.5357 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3439, allocations: 3.938 kB / 0.5357 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.3439, allocations: 1.375 kB / 0.5357 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.344, allocations: 4.172 kB / 0.5357 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.344, allocations: 5.375 kB / 0.5357 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.3442, allocations: 175.1 kB / 0.5359 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.3442, allocations: 87.81 kB / 0.536 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.3443, allocations: 3.938 kB / 0.536 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.3443, allocations: 8.109 kB / 0.536 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.3444, allocations: 5.312 kB / 0.536 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3444, allocations: 1.375 kB / 0.536 GB, free: 8.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.3445, allocations: 127.7 kB / 0.5361 GB, free: 8.504 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3445, allocations: 0 / 0.5361 GB, free: 8.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.3448, allocations: 22.94 kB / 0.5361 GB, free: 8.492 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.001385/0.3462, allocations: 1.012 MB / 0.5371 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.3464, allocations: 47.78 kB / 0.5372 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3464, allocations: 0 / 0.5372 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.282e-05/0.3465, allocations: 31.97 kB / 0.5372 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.3469, allocations: 20.52 kB / 0.5372 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.3486, allocations: 1.466 MB / 0.5387 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.3489, allocations: 0.6954 MB / 0.5393 GB, free: 5.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.578e-05/0.3489, allocations: 13.66 kB / 0.5394 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.349, allocations: 27.61 kB / 0.5394 GB, free: 5.551 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.349, allocations: 0 / 0.5394 GB, free: 5.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.3677, allocations: 2.576 MB / 0.5419 GB, free: 4.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/8.113, allocations: 5.594 kB / 0.5419 GB, free: 4.098 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_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_CombiTable1Ds_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches