Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009975/0.0009975, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001198/0.001198, allocations: 170.3 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9734/0.9734, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2465/0.2465, allocations: 32.78 MB / 293.5 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.919e-05, allocations: 2.281 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3096/0.3096, allocations: 131.6 MB / 0.5578 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.3116, allocations: 1.975 MB / 0.5598 GB, free: 15.01 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.185e-05/0.3117, allocations: 0 / 0.5598 GB, free: 15.01 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.312, allocations: 51.67 kB / 0.5598 GB, free: 14.96 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.3136, allocations: 0.6644 MB / 0.5605 GB, free: 14.29 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.3139, allocations: 97.59 kB / 0.5605 GB, free: 14.2 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.3142, allocations: 262.8 kB / 0.5608 GB, free: 13.94 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.824e-05/0.3143, allocations: 18.84 kB / 0.5608 GB, free: 13.92 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.3146, allocations: 179.4 kB / 0.561 GB, free: 13.75 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.3147, allocations: 83.77 kB / 0.5611 GB, free: 13.66 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.3148, allocations: 8 kB / 0.5611 GB, free: 13.66 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.3161, allocations: 0.7712 MB / 0.5618 GB, free: 12.88 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.3162, allocations: 83.78 kB / 0.5619 GB, free: 12.8 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 8.523e-05/0.3163, allocations: 75.83 kB / 0.562 GB, free: 12.73 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3173, allocations: 0.7209 MB / 0.5627 GB, free: 12 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3173, allocations: 0 / 0.5627 GB, free: 12 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.3173, allocations: 4 kB / 0.5627 GB, free: 12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3173, allocations: 7.406 kB / 0.5627 GB, free: 12 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.0006773/0.318, allocations: 438.1 kB / 0.5631 GB, free: 11.54 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.318, allocations: 12.03 kB / 0.5631 GB, free: 11.53 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.3181, allocations: 58.72 kB / 0.5632 GB, free: 11.46 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.3193, allocations: 280.5 kB / 0.5634 GB, free: 11.19 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.3196, allocations: 221.5 kB / 0.5637 GB, free: 10.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3196, allocations: 8.891 kB / 0.5637 GB, free: 10.94 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/0.3197, allocations: 27.92 kB / 0.5637 GB, free: 10.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/0.3203, allocations: 0.6395 MB / 0.5643 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3203, allocations: 8 kB / 0.5643 GB, free: 10.22 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.3204, allocations: 4 kB / 0.5643 GB, free: 10.21 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.3204, allocations: 11.98 kB / 0.5643 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006037/0.321, allocations: 0.5775 MB / 0.5649 GB, free: 9.629 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.001676/0.3227, allocations: 0.938 MB / 0.5658 GB, free: 8.652 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.323, allocations: 240.4 kB / 0.566 GB, free: 8.402 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.3231, allocations: 177.6 kB / 0.5662 GB, free: 8.223 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004818/0.3236, allocations: 159.8 kB / 0.5664 GB, free: 8.066 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3236, allocations: 42.5 kB / 0.5664 GB, free: 8.016 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 2.244e-06/0.3236, allocations: 0 / 0.5664 GB, free: 8.016 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.001195/0.3248, allocations: 0.6006 MB / 0.567 GB, free: 7.41 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.3249, allocations: 89.05 kB / 0.5671 GB, free: 7.305 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.325, allocations: 125.8 kB / 0.5672 GB, free: 7.172 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.325, allocations: 29.7 kB / 0.5672 GB, free: 7.137 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.3251, allocations: 120.5 kB / 0.5673 GB, free: 7.016 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/0.3251, allocations: 111.2 kB / 0.5675 GB, free: 6.906 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/0.3252, allocations: 57.7 kB / 0.5675 GB, free: 6.844 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.465e-05/0.3253, allocations: 334.8 kB / 0.5678 GB, free: 6.508 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.3255, allocations: 183.9 kB / 0.568 GB, free: 6.328 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.3258, allocations: 293.4 kB / 0.5683 GB, free: 5.996 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004868/0.3263, allocations: 495.2 kB / 0.5688 GB, free: 5.473 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3263, allocations: 0 / 0.5688 GB, free: 5.473 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006043/0.3269, allocations: 0.5244 MB / 0.5693 GB, free: 4.941 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3269, allocations: 8 kB / 0.5693 GB, free: 4.934 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3269, allocations: 6.062 kB / 0.5693 GB, free: 4.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3269, allocations: 4 kB / 0.5693 GB, free: 4.926 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.3272, allocations: 79.88 kB / 0.5694 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3272, allocations: 4 kB / 0.5694 GB, free: 4.844 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.3274, allocations: 36.11 kB / 0.5694 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.3274, allocations: 24 kB / 0.5694 GB, free: 4.785 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.0001182/0.3276, allocations: 150.8 kB / 0.5696 GB, free: 4.629 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.3276, allocations: 19.84 kB / 0.5696 GB, free: 4.609 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006076/0.3282, allocations: 494 kB / 0.5701 GB, free: 4.125 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3283, allocations: 4 kB / 0.5701 GB, free: 4.121 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.3283, allocations: 0 / 0.5701 GB, free: 4.121 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3283, allocations: 0 / 0.5701 GB, free: 4.121 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.3288, allocations: 386.8 kB / 0.5704 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3288, allocations: 0 / 0.5704 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.329, allocations: 67.83 kB / 0.5705 GB, free: 3.645 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.329, allocations: 0 / 0.5705 GB, free: 3.645 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.329, allocations: 18.48 kB / 0.5705 GB, free: 3.629 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.329, allocations: 4.781 kB / 0.5705 GB, free: 3.625 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.329, allocations: 0 / 0.5705 GB, free: 3.625 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007761/0.3298, allocations: 0.6839 MB / 0.5712 GB, free: 2.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.3299, allocations: 11.89 kB / 0.5712 GB, free: 2.918 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.3299, allocations: 8 kB / 0.5712 GB, free: 2.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.3301, allocations: 23.97 kB / 0.5712 GB, free: 2.887 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.3302, allocations: 23.89 kB / 0.5712 GB, free: 2.863 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.3302, allocations: 23.98 kB / 0.5713 GB, free: 2.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.064e-05/0.3302, allocations: 101.2 kB / 0.5714 GB, free: 2.742 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3302, allocations: 0 / 0.5714 GB, free: 2.742 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005267/0.3308, allocations: 163.6 kB / 0.5715 GB, free: 2.582 MB / 474.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.001531/0.3323, allocations: 1.482 MB / 0.573 GB, free: 1.074 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005213/0.3328, allocations: 422.3 kB / 0.5734 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3328, allocations: 0 / 0.5734 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.333, allocations: 211.8 kB / 0.5736 GB, free: 468 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.3335, allocations: 91.92 kB / 0.5737 GB, free: 380 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.3362, allocations: 3.046 MB / 0.5766 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.787e-05/0.3363, allocations: 131.2 kB / 0.5768 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003158/0.3366, allocations: 113.7 kB / 0.5769 GB, free: 12.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.3368, allocations: 56.48 kB / 0.5769 GB, free: 12.86 MB / 490.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3368, allocations: 4 kB / 0.5769 GB, free: 12.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.3633, allocations: 11.48 MB / 0.5881 GB, free: 1.574 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.386, allocations: 12.06 kB / 0.5882 GB, free: 1.562 MB / 490.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.61770911514759]