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.0008884/0.0008884, allocations: 75.7 kB / 20.01 MB, free: 4.508 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.0009569/0.0009569, allocations: 169.9 kB / 23.32 MB, free: 1.207 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.8854/0.8854, allocations: 158.6 MB / 185.1 MB, free: 2.984 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.1347/0.1347, allocations: 32.37 MB / 269.7 MB, free: 14.91 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 1.663e-06/1.663e-06, allocations: 0 / 407 MB, free: 2.152 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.596e-05, allocations: 5.938 kB / 407 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2887/0.2888, allocations: 129.9 MB / 0.5243 GB, free: 24.28 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.2902, allocations: 1.884 MB / 0.5262 GB, free: 23.11 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.85e-05/0.2903, allocations: 0.7188 kB / 0.5262 GB, free: 23.11 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.2906, allocations: 54.42 kB / 0.5262 GB, free: 23.09 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.2918, allocations: 0.6398 MB / 0.5269 GB, free: 22.76 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.2921, allocations: 104.5 kB / 0.527 GB, free: 22.71 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.2923, allocations: 263.1 kB / 0.5272 GB, free: 22.6 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.2924, allocations: 11.59 kB / 0.5272 GB, free: 22.59 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.2926, allocations: 166.8 kB / 0.5274 GB, free: 22.54 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.2928, allocations: 86.28 kB / 0.5275 GB, free: 22.51 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.2928, allocations: 8.5 kB / 0.5275 GB, free: 22.51 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009179/0.2937, allocations: 0.7542 MB / 0.5282 GB, free: 22.26 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.2938, allocations: 84.27 kB / 0.5283 GB, free: 22.23 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.741e-05/0.2939, allocations: 75.53 kB / 0.5284 GB, free: 22.2 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007435/0.2946, allocations: 0.703 MB / 0.5291 GB, free: 21.99 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2946, allocations: 1.312 kB / 0.5291 GB, free: 21.99 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2946, allocations: 0 / 0.5291 GB, free: 21.99 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.2946, allocations: 0 / 0.5291 GB, free: 21.99 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.0006004/0.2952, allocations: 439.8 kB / 0.5295 GB, free: 21.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.2953, allocations: 9.188 kB / 0.5295 GB, free: 21.63 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.2953, allocations: 53.08 kB / 0.5295 GB, free: 21.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.2964, allocations: 269.7 kB / 0.5298 GB, free: 21.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.2966, allocations: 224.7 kB / 0.53 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.2966, allocations: 11.42 kB / 0.53 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.2967, allocations: 17.25 kB / 0.53 GB, free: 21.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.2973, allocations: 0.6464 MB / 0.5307 GB, free: 21.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2973, allocations: 5.938 kB / 0.5307 GB, free: 21.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.2973, allocations: 6.406 kB / 0.5307 GB, free: 21.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.2974, allocations: 8.453 kB / 0.5307 GB, free: 21.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006155/0.298, allocations: 0.5962 MB / 0.5313 GB, free: 20.84 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.001386/0.2994, allocations: 0.9372 MB / 0.5322 GB, free: 20.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.2996, allocations: 232.8 kB / 0.5324 GB, free: 20.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.2997, allocations: 180 kB / 0.5326 GB, free: 20.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003622/0.3001, allocations: 127.6 kB / 0.5327 GB, free: 20.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.3001, allocations: 37.47 kB / 0.5327 GB, free: 20.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.572e-06/0.3001, allocations: 4 kB / 0.5327 GB, free: 20.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001114/0.3012, allocations: 0.6006 MB / 0.5333 GB, free: 19.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.3013, allocations: 81.27 kB / 0.5334 GB, free: 19.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.3014, allocations: 135.7 kB / 0.5335 GB, free: 19.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.3014, allocations: 31.08 kB / 0.5336 GB, free: 19.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.3014, allocations: 117.2 kB / 0.5337 GB, free: 19.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.3015, allocations: 111.8 kB / 0.5338 GB, free: 19.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.149e-05/0.3016, allocations: 71.52 kB / 0.5338 GB, free: 19.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.853e-05/0.3016, allocations: 327.1 kB / 0.5342 GB, free: 19.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.3018, allocations: 189.2 kB / 0.5343 GB, free: 18.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.302, allocations: 284.5 kB / 0.5346 GB, free: 18.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.3025, allocations: 493.5 kB / 0.5351 GB, free: 18.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3025, allocations: 1.375 kB / 0.5351 GB, free: 18.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006317/0.3031, allocations: 0.5171 MB / 0.5356 GB, free: 18.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3032, allocations: 9.844 kB / 0.5356 GB, free: 18.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3032, allocations: 5.188 kB / 0.5356 GB, free: 18.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3032, allocations: 4.969 kB / 0.5356 GB, free: 18.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.3034, allocations: 83.94 kB / 0.5357 GB, free: 18.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3035, allocations: 9.812 kB / 0.5357 GB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.3036, allocations: 41.45 kB / 0.5357 GB, free: 18.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.3037, allocations: 15.98 kB / 0.5357 GB, free: 18.23 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 8.738e-05/0.3037, allocations: 152.3 kB / 0.5359 GB, free: 18.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.3038, allocations: 17.41 kB / 0.5359 GB, free: 18.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005639/0.3044, allocations: 494 kB / 0.5364 GB, free: 17.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3044, allocations: 6.688 kB / 0.5364 GB, free: 17.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3044, allocations: 1.375 kB / 0.5364 GB, free: 17.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3044, allocations: 7.516 kB / 0.5364 GB, free: 17.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.3048, allocations: 376.8 kB / 0.5368 GB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3048, allocations: 0 / 0.5368 GB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.305, allocations: 56.75 kB / 0.5368 GB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.305, allocations: 2.562 kB / 0.5368 GB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.305, allocations: 15.95 kB / 0.5368 GB, free: 17.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.305, allocations: 0 / 0.5368 GB, free: 17.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.305, allocations: 8.812 kB / 0.5368 GB, free: 17.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005773/0.3056, allocations: 0.6842 MB / 0.5375 GB, free: 17.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.3056, allocations: 21.69 kB / 0.5375 GB, free: 17.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.3057, allocations: 6.656 kB / 0.5375 GB, free: 17.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.3059, allocations: 23.64 kB / 0.5376 GB, free: 17.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.3059, allocations: 21.42 kB / 0.5376 GB, free: 17.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.3059, allocations: 13.23 kB / 0.5376 GB, free: 17.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.316e-05/0.306, allocations: 106.2 kB / 0.5377 GB, free: 17.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.306, allocations: 0 / 0.5377 GB, free: 17.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004079/0.3064, allocations: 159.8 kB / 0.5378 GB, free: 17.04 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.0011/0.3075, allocations: 1.476 MB / 0.5393 GB, free: 16.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004617/0.3079, allocations: 424.7 kB / 0.5397 GB, free: 15.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3079, allocations: 1.812 kB / 0.5397 GB, free: 15.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.3081, allocations: 212.5 kB / 0.5399 GB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.3085, allocations: 89.08 kB / 0.54 GB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.3109, allocations: 3.051 MB / 0.543 GB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.756e-05/0.311, allocations: 130.6 kB / 0.5431 GB, free: 13.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00028/0.3113, allocations: 111.2 kB / 0.5432 GB, free: 13.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.3114, allocations: 58.3 kB / 0.5432 GB, free: 13.46 MB / 442.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3114, allocations: 4 kB / 0.5432 GB, free: 13.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.3343, allocations: 11.52 MB / 0.5545 GB, free: 9.086 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/7.516, allocations: 7.547 kB / 0.5545 GB, free: 9.082 MB / 442.7 MB " [Timeout remaining time 652] (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.678400243632495]