Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001418/0.001418, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001724/0.001724, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.011/1.011, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2667/0.2667, allocations: 34.24 MB / 294.8 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] 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.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 442.1 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.523e-05, allocations: 2.281 kB / 442.1 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3242/0.3243, allocations: 131.7 MB / 0.5604 GB, free: 12.85 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.326, allocations: 1.97 MB / 0.5623 GB, free: 10.87 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.3261, allocations: 0 / 0.5623 GB, free: 10.87 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.3265, allocations: 51.67 kB / 0.5623 GB, free: 10.82 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.3278, allocations: 0.6527 MB / 0.563 GB, free: 10.16 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.328, allocations: 107.8 kB / 0.5631 GB, free: 10.06 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.3283, allocations: 262.8 kB / 0.5633 GB, free: 9.801 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.3284, allocations: 8 kB / 0.5633 GB, free: 9.793 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003242/0.3287, allocations: 179.4 kB / 0.5635 GB, free: 9.617 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.3288, allocations: 91.75 kB / 0.5636 GB, free: 9.527 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.3289, allocations: 8 kB / 0.5636 GB, free: 9.52 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.3299, allocations: 0.7673 MB / 0.5643 GB, free: 8.75 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.33, allocations: 83.77 kB / 0.5644 GB, free: 8.668 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.495e-05/0.3301, allocations: 83.77 kB / 0.5645 GB, free: 8.586 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008152/0.3309, allocations: 0.7092 MB / 0.5652 GB, free: 7.875 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3309, allocations: 4 kB / 0.5652 GB, free: 7.871 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3309, allocations: 0 / 0.5652 GB, free: 7.871 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3309, allocations: 0 / 0.5652 GB, free: 7.871 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007726/0.3317, allocations: 450.1 kB / 0.5656 GB, free: 7.406 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3317, allocations: 8.031 kB / 0.5656 GB, free: 7.398 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.3317, allocations: 50.73 kB / 0.5657 GB, free: 7.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.3329, allocations: 293.3 kB / 0.566 GB, free: 7.055 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.3332, allocations: 213.5 kB / 0.5662 GB, free: 6.82 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.3332, allocations: 12.7 kB / 0.5662 GB, free: 6.809 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.3333, allocations: 19.94 kB / 0.5662 GB, free: 6.789 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/0.3338, allocations: 0.6473 MB / 0.5668 GB, free: 6.094 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3339, allocations: 0 / 0.5668 GB, free: 6.094 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.3339, allocations: 4 kB / 0.5668 GB, free: 6.09 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.3339, allocations: 8 kB / 0.5668 GB, free: 6.082 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005835/0.3345, allocations: 0.5775 MB / 0.5674 GB, free: 5.508 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.336, allocations: 0.9464 MB / 0.5683 GB, free: 4.527 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.3362, allocations: 246.9 kB / 0.5686 GB, free: 4.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.3366, allocations: 181.6 kB / 0.5687 GB, free: 4.086 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004755/0.337, allocations: 155.8 kB / 0.5689 GB, free: 3.934 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3371, allocations: 38.5 kB / 0.5689 GB, free: 3.887 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 1.833e-06/0.3371, allocations: 4 kB / 0.5689 GB, free: 3.883 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.00117/0.3382, allocations: 0.5959 MB / 0.5695 GB, free: 3.281 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.3383, allocations: 81.11 kB / 0.5696 GB, free: 3.184 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.384e-05/0.3384, allocations: 130.8 kB / 0.5697 GB, free: 3.047 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.3384, allocations: 33.7 kB / 0.5697 GB, free: 3.008 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.3385, allocations: 112.5 kB / 0.5698 GB, free: 2.895 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.49e-05/0.3385, allocations: 119.1 kB / 0.57 GB, free: 2.777 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.713e-05/0.3386, allocations: 61.7 kB / 0.57 GB, free: 2.711 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.481e-05/0.3387, allocations: 330.8 kB / 0.5703 GB, free: 2.379 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.3389, allocations: 185.4 kB / 0.5705 GB, free: 2.199 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.3392, allocations: 290.2 kB / 0.5708 GB, free: 1.875 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.3396, allocations: 491.4 kB / 0.5713 GB, free: 1.352 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3396, allocations: 4 kB / 0.5713 GB, free: 1.348 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006052/0.3403, allocations: 0.5189 MB / 0.5718 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3403, allocations: 8 kB / 0.5718 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3403, allocations: 4 kB / 0.5718 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3403, allocations: 7.938 kB / 0.5718 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.3406, allocations: 79.89 kB / 0.5719 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3406, allocations: 12.39 kB / 0.5719 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.3407, allocations: 39.77 kB / 0.5719 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.3408, allocations: 19.94 kB / 0.5719 GB, free: 0.6562 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * 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.0001159/0.3409, allocations: 141.8 kB / 0.5721 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.341, allocations: 23.84 kB / 0.5721 GB, free: 496 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006125/0.3416, allocations: 495.9 kB / 0.5726 GB, free: 4 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3416, allocations: 4 kB / 0.5726 GB, free: 0 / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.3416, allocations: 0 / 0.5726 GB, free: 0 / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/0.3416, allocations: 4.047 kB / 0.5726 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.3421, allocations: 386.7 kB / 0.5729 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3421, allocations: 3.938 kB / 0.5729 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.3423, allocations: 67.89 kB / 0.573 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3423, allocations: 0 / 0.573 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.3424, allocations: 11.98 kB / 0.573 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3424, allocations: 4 kB / 0.573 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3424, allocations: 0 / 0.573 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007272/0.3431, allocations: 0.6837 MB / 0.5737 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.3431, allocations: 15.89 kB / 0.5737 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.3432, allocations: 4 kB / 0.5737 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.3434, allocations: 27.97 kB / 0.5737 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.3434, allocations: 23.89 kB / 0.5738 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.3435, allocations: 15.98 kB / 0.5738 GB, free: 14.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.651e-05/0.3435, allocations: 104.4 kB / 0.5739 GB, free: 14.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3435, allocations: 0 / 0.5739 GB, free: 14.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005228/0.344, allocations: 167.6 kB / 0.574 GB, free: 14.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * 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.001457/0.3455, allocations: 1.475 MB / 0.5755 GB, free: 12.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000698/0.3462, allocations: 423.5 kB / 0.5759 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3462, allocations: 0 / 0.5759 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.3464, allocations: 214.7 kB / 0.5761 GB, free: 12.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.3468, allocations: 94.55 kB / 0.5762 GB, free: 12.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.3498, allocations: 3.048 MB / 0.5792 GB, free: 9.047 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.3499, allocations: 135.2 kB / 0.5793 GB, free: 8.895 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003356/0.3502, allocations: 105.8 kB / 0.5794 GB, free: 8.793 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.3504, allocations: 68.47 kB / 0.5794 GB, free: 8.727 MB / 490.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3504, allocations: 0 / 0.5794 GB, free: 8.727 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.3813, allocations: 11.48 MB / 0.5907 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.062/7.443, allocations: 4.062 kB / 0.5907 GB, free: 13.43 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium2.p in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.75518688838929]