Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 80.44 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9309/0.9309, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.146/0.146, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.296e-06/3.296e-06, allocations: 4 kB / 406.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.848e-05, allocations: 2.281 kB / 406.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3458/0.3458, allocations: 129.9 MB / 0.5241 GB, free: 24.48 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.3474, allocations: 1.874 MB / 0.526 GB, free: 23.28 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.3475, allocations: 5 kB / 0.526 GB, free: 23.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.3479, allocations: 50.39 kB / 0.526 GB, free: 23.25 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.3495, allocations: 0.6474 MB / 0.5267 GB, free: 22.92 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.3499, allocations: 98.89 kB / 0.5268 GB, free: 22.88 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.3504, allocations: 267.1 kB / 0.527 GB, free: 22.76 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.112e-05/0.3504, allocations: 7.109 kB / 0.527 GB, free: 22.76 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004164/0.3508, allocations: 171.2 kB / 0.5272 GB, free: 22.7 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.3511, allocations: 86.19 kB / 0.5273 GB, free: 22.67 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.3511, allocations: 8.188 kB / 0.5273 GB, free: 22.67 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.3526, allocations: 0.7505 MB / 0.528 GB, free: 22.42 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.3527, allocations: 84.06 kB / 0.5281 GB, free: 22.39 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/0.3528, allocations: 79.81 kB / 0.5282 GB, free: 22.36 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008895/0.3537, allocations: 0.7057 MB / 0.5288 GB, free: 22.15 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3537, allocations: 0 / 0.5288 GB, free: 22.15 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3537, allocations: 0 / 0.5288 GB, free: 22.15 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3537, allocations: 1.281 kB / 0.5288 GB, free: 22.15 MB / 442.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.000649/0.3543, allocations: 431.1 kB / 0.5293 GB, free: 21.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3544, allocations: 10.03 kB / 0.5293 GB, free: 21.8 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.3544, allocations: 51.53 kB / 0.5293 GB, free: 21.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.3556, allocations: 273.2 kB / 0.5296 GB, free: 21.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.3559, allocations: 224.6 kB / 0.5298 GB, free: 21.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.3559, allocations: 15.48 kB / 0.5298 GB, free: 21.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.299e-05/0.3559, allocations: 23.62 kB / 0.5298 GB, free: 21.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005661/0.3565, allocations: 0.649 MB / 0.5305 GB, free: 21.17 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3565, allocations: 2.469 kB / 0.5305 GB, free: 21.17 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.3565, allocations: 5.312 kB / 0.5305 GB, free: 21.17 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.3566, allocations: 8.906 kB / 0.5305 GB, free: 21.17 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005767/0.3571, allocations: 0.5843 MB / 0.531 GB, free: 21 MB / 442.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.0014/0.3585, allocations: 0.9412 MB / 0.532 GB, free: 20.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.3588, allocations: 242.9 kB / 0.5322 GB, free: 20.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.359, allocations: 177.2 kB / 0.5324 GB, free: 20.28 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004226/0.3594, allocations: 123.2 kB / 0.5325 GB, free: 20.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.3594, allocations: 40.91 kB / 0.5325 GB, free: 20.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.863e-06/0.3594, allocations: 0 / 0.5325 GB, free: 20.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001113/0.3605, allocations: 0.6011 MB / 0.5331 GB, free: 20.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.3605, allocations: 82.45 kB / 0.5332 GB, free: 19.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.3606, allocations: 138.1 kB / 0.5333 GB, free: 19.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.3606, allocations: 36.67 kB / 0.5334 GB, free: 19.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.3607, allocations: 110.8 kB / 0.5335 GB, free: 19.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.05e-05/0.3607, allocations: 112.7 kB / 0.5336 GB, free: 19.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-05/0.3608, allocations: 73.83 kB / 0.5336 GB, free: 19.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.559e-05/0.3609, allocations: 324.1 kB / 0.534 GB, free: 19.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.3611, allocations: 187 kB / 0.5341 GB, free: 19.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.3613, allocations: 286.8 kB / 0.5344 GB, free: 18.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/0.3617, allocations: 494.5 kB / 0.5349 GB, free: 18.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3617, allocations: 1.375 kB / 0.5349 GB, free: 18.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006122/0.3623, allocations: 0.5136 MB / 0.5354 GB, free: 18.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3624, allocations: 15.5 kB / 0.5354 GB, free: 18.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3624, allocations: 3.219 kB / 0.5354 GB, free: 18.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3624, allocations: 5.344 kB / 0.5354 GB, free: 18.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.3626, allocations: 83.88 kB / 0.5355 GB, free: 18.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3627, allocations: 7.594 kB / 0.5355 GB, free: 18.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.3628, allocations: 36.11 kB / 0.5355 GB, free: 18.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.3629, allocations: 13.44 kB / 0.5355 GB, free: 18.39 MB / 442.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 9.72e-05/0.363, allocations: 148.9 kB / 0.5357 GB, free: 18.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.363, allocations: 22.52 kB / 0.5357 GB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005433/0.3636, allocations: 498.3 kB / 0.5362 GB, free: 18.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3636, allocations: 8.125 kB / 0.5362 GB, free: 18.03 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3636, allocations: 0 / 0.5362 GB, free: 18.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.3636, allocations: 3.672 kB / 0.5362 GB, free: 18.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.364, allocations: 382.8 kB / 0.5365 GB, free: 17.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.364, allocations: 0 / 0.5365 GB, free: 17.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.3642, allocations: 57.09 kB / 0.5366 GB, free: 17.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3642, allocations: 0 / 0.5366 GB, free: 17.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.3643, allocations: 20.14 kB / 0.5366 GB, free: 17.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3643, allocations: 3.031 kB / 0.5366 GB, free: 17.74 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3643, allocations: 2.906 kB / 0.5366 GB, free: 17.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.3649, allocations: 0.6926 MB / 0.5373 GB, free: 17.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.3649, allocations: 18.86 kB / 0.5373 GB, free: 17.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.3649, allocations: 11.69 kB / 0.5373 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.3651, allocations: 19.5 kB / 0.5374 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.3652, allocations: 21.66 kB / 0.5374 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.3652, allocations: 15.05 kB / 0.5374 GB, free: 17.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.106e-05/0.3652, allocations: 101.4 kB / 0.5375 GB, free: 17.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3652, allocations: 0 / 0.5375 GB, free: 17.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005629/0.3658, allocations: 160.6 kB / 0.5376 GB, free: 17.2 MB / 442.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.001273/0.3671, allocations: 1.47 MB / 0.5391 GB, free: 16.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004585/0.3675, allocations: 420.3 kB / 0.5395 GB, free: 16.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3675, allocations: 0 / 0.5395 GB, free: 16.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.3677, allocations: 215.7 kB / 0.5397 GB, free: 15.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.3681, allocations: 99.3 kB / 0.5398 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.3708, allocations: 3.052 MB / 0.5428 GB, free: 13.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.539e-05/0.3709, allocations: 129.3 kB / 0.5429 GB, free: 13.69 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000306/0.3712, allocations: 110.5 kB / 0.543 GB, free: 13.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.3714, allocations: 58.59 kB / 0.543 GB, free: 13.61 MB / 442.7 MB Notification: Performance of SimCode: time 7.61e-07/0.3714, allocations: 0 / 0.543 GB, free: 13.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.3969, allocations: 11.53 MB / 0.5543 GB, free: 9.207 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/7.342, allocations: 7.953 kB / 0.5543 GB, free: 9.199 MB / 442.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.648530934005976]