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.001022/0.001022, 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.001015/0.001015, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.9402/0.9402, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2785/0.2785, allocations: 32.79 MB / 293.5 MB, free: 1.219 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 2.304e-06/2.304e-06, allocations: 0 / 439.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.081e-05, allocations: 2.844 kB / 439.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3028/0.3028, allocations: 131.6 MB / 0.5578 GB, free: 1.027 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3044, allocations: 1.983 MB / 0.5598 GB, free: 15.05 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.368e-05/0.3045, allocations: 0 / 0.5598 GB, free: 15.05 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.3048, allocations: 47.73 kB / 0.5598 GB, free: 15 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.3063, allocations: 0.6644 MB / 0.5605 GB, free: 14.33 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.3066, allocations: 103.8 kB / 0.5606 GB, free: 14.23 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.3069, allocations: 258.9 kB / 0.5608 GB, free: 13.98 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.3069, allocations: 10.86 kB / 0.5608 GB, free: 13.97 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.3072, allocations: 179.3 kB / 0.561 GB, free: 13.79 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.3074, allocations: 91.75 kB / 0.5611 GB, free: 13.7 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.3074, allocations: 12 kB / 0.5611 GB, free: 13.69 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009843/0.3084, allocations: 0.7673 MB / 0.5618 GB, free: 12.92 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.165e-05/0.3085, allocations: 83.78 kB / 0.5619 GB, free: 12.84 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.054e-05/0.3085, allocations: 75.83 kB / 0.562 GB, free: 12.77 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008678/0.3094, allocations: 0.7131 MB / 0.5627 GB, free: 12.05 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3094, allocations: 0 / 0.5627 GB, free: 12.05 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3094, allocations: 0 / 0.5627 GB, free: 12.05 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3094, allocations: 4 kB / 0.5627 GB, free: 12.05 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.0007374/0.3101, allocations: 450.1 kB / 0.5631 GB, free: 11.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3102, allocations: 12.03 kB / 0.5631 GB, free: 11.57 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.3102, allocations: 54.73 kB / 0.5632 GB, free: 11.51 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.3113, allocations: 280.5 kB / 0.5634 GB, free: 11.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.3116, allocations: 221.5 kB / 0.5637 GB, free: 10.99 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3116, allocations: 12.83 kB / 0.5637 GB, free: 10.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.3117, allocations: 19.94 kB / 0.5637 GB, free: 10.96 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/0.3123, allocations: 0.6473 MB / 0.5643 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3123, allocations: 0 / 0.5643 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.3123, allocations: 8 kB / 0.5643 GB, free: 10.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.3123, allocations: 8 kB / 0.5643 GB, free: 10.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005589/0.3129, allocations: 0.5867 MB / 0.5649 GB, free: 9.668 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.001353/0.3142, allocations: 0.9342 MB / 0.5658 GB, free: 8.695 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.3145, allocations: 237.1 kB / 0.566 GB, free: 8.445 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.3147, allocations: 177.6 kB / 0.5662 GB, free: 8.266 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004401/0.3151, allocations: 163.4 kB / 0.5664 GB, free: 8.109 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3151, allocations: 38.56 kB / 0.5664 GB, free: 8.062 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 1.542e-06/0.3151, allocations: 0 / 0.5664 GB, free: 8.062 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.001102/0.3162, allocations: 0.6008 MB / 0.567 GB, free: 7.457 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.3163, allocations: 81.11 kB / 0.5671 GB, free: 7.359 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.3166, allocations: 134.3 kB / 0.5672 GB, free: 7.219 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.3166, allocations: 29.7 kB / 0.5672 GB, free: 7.184 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.3167, allocations: 120.5 kB / 0.5673 GB, free: 7.062 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.341e-05/0.3167, allocations: 109.4 kB / 0.5674 GB, free: 6.957 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.397e-05/0.3168, allocations: 65.69 kB / 0.5675 GB, free: 6.887 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.3169, allocations: 326.8 kB / 0.5678 GB, free: 6.559 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.3171, allocations: 179.9 kB / 0.568 GB, free: 6.383 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.3173, allocations: 301.3 kB / 0.5683 GB, free: 6.043 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/0.3178, allocations: 495 kB / 0.5688 GB, free: 5.52 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3178, allocations: 0 / 0.5688 GB, free: 5.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005819/0.3184, allocations: 0.5246 MB / 0.5693 GB, free: 4.988 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3184, allocations: 8 kB / 0.5693 GB, free: 4.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3184, allocations: 4 kB / 0.5693 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3184, allocations: 4 kB / 0.5693 GB, free: 4.973 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.3187, allocations: 79.89 kB / 0.5694 GB, free: 4.895 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3187, allocations: 7.938 kB / 0.5694 GB, free: 4.887 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.3189, allocations: 39.75 kB / 0.5694 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.3189, allocations: 20 kB / 0.5694 GB, free: 4.828 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.0001116/0.319, allocations: 151.5 kB / 0.5696 GB, free: 4.672 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.3191, allocations: 23.83 kB / 0.5696 GB, free: 4.648 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005808/0.3197, allocations: 486 kB / 0.5701 GB, free: 4.172 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3197, allocations: 4 kB / 0.5701 GB, free: 4.168 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3197, allocations: 0.9375 kB / 0.5701 GB, free: 4.168 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3197, allocations: 3.984 kB / 0.5701 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.3201, allocations: 386.8 kB / 0.5704 GB, free: 3.754 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3201, allocations: 0 / 0.5704 GB, free: 3.754 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.3203, allocations: 67.83 kB / 0.5705 GB, free: 3.688 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3203, allocations: 0 / 0.5705 GB, free: 3.688 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.3204, allocations: 11.98 kB / 0.5705 GB, free: 3.676 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3204, allocations: 8.781 kB / 0.5705 GB, free: 3.668 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3204, allocations: 0 / 0.5705 GB, free: 3.668 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006619/0.321, allocations: 0.6895 MB / 0.5712 GB, free: 2.969 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.3211, allocations: 14.14 kB / 0.5712 GB, free: 2.957 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.3211, allocations: 8 kB / 0.5712 GB, free: 2.949 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.3213, allocations: 19.97 kB / 0.5712 GB, free: 2.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.3213, allocations: 19.97 kB / 0.5712 GB, free: 2.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.3214, allocations: 19.98 kB / 0.5713 GB, free: 2.891 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.196e-05/0.3214, allocations: 100.9 kB / 0.5714 GB, free: 2.793 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3214, allocations: 0 / 0.5714 GB, free: 2.793 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004709/0.3219, allocations: 171.6 kB / 0.5715 GB, free: 2.625 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.001371/0.3233, allocations: 1.471 MB / 0.573 GB, free: 1.125 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004917/0.3237, allocations: 426.7 kB / 0.5734 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3238, allocations: 0 / 0.5734 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.324, allocations: 211.8 kB / 0.5736 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3244, allocations: 102.5 kB / 0.5737 GB, free: 424 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.3272, allocations: 3.05 MB / 0.5766 GB, free: 13.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.912e-05/0.3273, allocations: 127.2 kB / 0.5768 GB, free: 13.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002888/0.3276, allocations: 105.8 kB / 0.5769 GB, free: 12.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.3278, allocations: 64.47 kB / 0.5769 GB, free: 12.9 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3278, allocations: 0 / 0.5769 GB, free: 12.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.3518, allocations: 11.48 MB / 0.5881 GB, free: 1.629 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.754/7.106, allocations: 8.062 kB / 0.5881 GB, free: 1.621 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.230328153818846]