Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.0007603/0.0007603, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003892/0.003892, allocations: 166.2 kB / 24.7 MB, free: 8.887 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.8429/0.8429, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.312e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2319/0.2319, allocations: 129.9 MB / 428.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.2334, allocations: 1.885 MB / 430.2 MB, free: 10.65 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.2334, allocations: 0 / 430.2 MB, free: 10.65 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.2337, allocations: 47.73 kB / 430.2 MB, free: 10.61 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009739/0.2347, allocations: 0.641 MB / 430.9 MB, free: 9.961 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.2349, allocations: 107.8 kB / 431 MB, free: 9.855 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.2351, allocations: 262.8 kB / 431.3 MB, free: 9.598 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.2351, allocations: 4 kB / 431.3 MB, free: 9.594 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.2354, allocations: 167.5 kB / 431.4 MB, free: 9.43 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.2355, allocations: 79.77 kB / 431.5 MB, free: 9.352 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.2355, allocations: 8 kB / 431.5 MB, free: 9.344 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000726/0.2362, allocations: 0.7594 MB / 432.3 MB, free: 8.582 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.998e-05/0.2363, allocations: 83.77 kB / 432.3 MB, free: 8.5 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.811e-05/0.2364, allocations: 84.56 kB / 432.4 MB, free: 8.418 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008079/0.2372, allocations: 0.6975 MB / 433.1 MB, free: 7.719 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2372, allocations: 0 / 433.1 MB, free: 7.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2372, allocations: 0 / 433.1 MB, free: 7.719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.2372, allocations: 1.219 kB / 433.1 MB, free: 7.719 MB / 394.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.0005501/0.2377, allocations: 437.5 kB / 433.6 MB, free: 7.262 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2378, allocations: 15.98 kB / 433.6 MB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.2378, allocations: 54.72 kB / 433.6 MB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009998/0.2388, allocations: 267.1 kB / 433.9 MB, free: 6.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.2391, allocations: 229.4 kB / 434.1 MB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.2391, allocations: 12.7 kB / 434.1 MB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/0.2391, allocations: 20.38 kB / 434.1 MB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.2397, allocations: 0.6554 MB / 434.8 MB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.2397, allocations: 0 / 434.8 MB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.2397, allocations: 8 kB / 434.8 MB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.2397, allocations: 8 kB / 434.8 MB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.2403, allocations: 0.5894 MB / 435.4 MB, free: 5.336 MB / 394.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.00125/0.2415, allocations: 0.9464 MB / 436.3 MB, free: 4.344 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.2417, allocations: 233.1 kB / 436.6 MB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.2419, allocations: 177.6 kB / 436.7 MB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003446/0.2422, allocations: 123.9 kB / 436.9 MB, free: 3.797 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.2423, allocations: 38.56 kB / 436.9 MB, free: 3.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.383e-06/0.2423, allocations: 0 / 436.9 MB, free: 3.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001051/0.2433, allocations: 0.611 MB / 437.5 MB, free: 3.133 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.2433, allocations: 81.11 kB / 437.6 MB, free: 3.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.498e-05/0.2434, allocations: 132.1 kB / 437.7 MB, free: 2.898 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.2435, allocations: 33.7 kB / 437.8 MB, free: 2.859 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.2435, allocations: 116.6 kB / 437.9 MB, free: 2.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.2436, allocations: 103.1 kB / 438 MB, free: 2.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/0.2436, allocations: 77.58 kB / 438.1 MB, free: 2.559 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.3e-05/0.2437, allocations: 322.8 kB / 438.4 MB, free: 2.234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.2439, allocations: 188.6 kB / 438.5 MB, free: 2.051 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.2441, allocations: 292.5 kB / 438.8 MB, free: 1.719 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.2446, allocations: 491.1 kB / 439.3 MB, free: 1.195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2446, allocations: 4 kB / 439.3 MB, free: 1.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005407/0.2451, allocations: 0.5258 MB / 439.8 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2452, allocations: 7.938 kB / 439.9 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2452, allocations: 4 kB / 439.9 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2452, allocations: 7.984 kB / 439.9 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.2454, allocations: 89.39 kB / 440 MB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2454, allocations: 4 kB / 440 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.2456, allocations: 39.77 kB / 440 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.2456, allocations: 12 kB / 440 MB, free: 0.5 MB / 394.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.0003492/0.246, allocations: 145.9 kB / 440.1 MB, free: 356 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.246, allocations: 23.89 kB / 440.2 MB, free: 332 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000555/0.2466, allocations: 496.5 kB / 440.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2466, allocations: 4 kB / 440.7 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2466, allocations: 0 / 440.7 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2466, allocations: 4 kB / 440.7 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.247, allocations: 393.3 kB / 441 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.247, allocations: 4 kB / 441.1 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.2472, allocations: 51.91 kB / 441.1 MB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2472, allocations: 6.312 kB / 441.1 MB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.2473, allocations: 15.92 kB / 441.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2473, allocations: 3.938 kB / 441.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2473, allocations: 4 kB / 441.1 MB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.2479, allocations: 0.6829 MB / 441.8 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.2479, allocations: 23.78 kB / 441.8 MB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.2479, allocations: 11.98 kB / 441.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.2482, allocations: 15.98 kB / 441.9 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.2482, allocations: 27.94 kB / 441.9 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.2482, allocations: 15.98 kB / 441.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.755e-05/0.2482, allocations: 99.27 kB / 442 MB, free: 14.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2482, allocations: 4 kB / 442 MB, free: 14.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003734/0.2486, allocations: 155.7 kB / 442.2 MB, free: 14.28 MB / 410.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.001222/0.2498, allocations: 1.476 MB / 443.6 MB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004898/0.2503, allocations: 417.6 kB / 444 MB, free: 12.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2503, allocations: 4.062 kB / 444 MB, free: 12.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.2505, allocations: 215.8 kB / 444.3 MB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.2509, allocations: 91.77 kB / 444.3 MB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.2536, allocations: 3.055 MB / 447.4 MB, free: 8.848 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.339e-05/0.2537, allocations: 127.2 kB / 447.5 MB, free: 8.707 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002741/0.254, allocations: 117.8 kB / 447.6 MB, free: 8.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.2541, allocations: 56.47 kB / 447.7 MB, free: 8.535 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2541, allocations: 0 / 447.7 MB, free: 8.535 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.2809, allocations: 11.58 MB / 459.3 MB, free: 12.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.703/6.984, allocations: 8 kB / 459.3 MB, free: 12.89 MB / 426.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.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: 8.693634797818959]