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.0009832/0.0009832, allocations: 80.48 kB / 19.92 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.001005/0.001005, 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.9157/0.9157, allocations: 158.6 MB / 185 MB, free: 3.02 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.1266/0.1266, allocations: 32.37 MB / 269.6 MB, free: 14.95 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.763e-06/1.763e-06, allocations: 0 / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.753e-05, allocations: 5.938 kB / 406.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2911/0.2911, allocations: 129.9 MB / 0.5241 GB, free: 6.266 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.2928, allocations: 1.889 MB / 0.526 GB, free: 4.391 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.535e-05/0.2928, allocations: 0 / 0.526 GB, free: 4.391 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.2932, allocations: 51.67 kB / 0.526 GB, free: 4.34 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.2945, allocations: 0.6372 MB / 0.5266 GB, free: 3.699 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.2948, allocations: 107.7 kB / 0.5267 GB, free: 3.594 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000259/0.295, allocations: 262.9 kB / 0.527 GB, free: 3.336 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.2951, allocations: 7.984 kB / 0.527 GB, free: 3.328 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.2954, allocations: 171.3 kB / 0.5272 GB, free: 3.16 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.2955, allocations: 91.75 kB / 0.5273 GB, free: 3.07 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.2955, allocations: 8 kB / 0.5273 GB, free: 3.062 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009212/0.2965, allocations: 0.7478 MB / 0.528 GB, free: 2.312 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.058e-05/0.2965, allocations: 83.78 kB / 0.5281 GB, free: 2.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.983e-05/0.2966, allocations: 75.83 kB / 0.5281 GB, free: 2.156 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007306/0.2974, allocations: 0.7014 MB / 0.5288 GB, free: 1.453 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2974, allocations: 0 / 0.5288 GB, free: 1.453 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.2974, allocations: 4 kB / 0.5288 GB, free: 1.449 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2974, allocations: 0 / 0.5288 GB, free: 1.449 MB / 426.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.0007255/0.2981, allocations: 438 kB / 0.5293 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2981, allocations: 8.031 kB / 0.5293 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/0.2982, allocations: 54.73 kB / 0.5293 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.2992, allocations: 276.5 kB / 0.5296 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.2995, allocations: 219.1 kB / 0.5298 GB, free: 424 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2995, allocations: 12.7 kB / 0.5298 GB, free: 412 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.2996, allocations: 20.36 kB / 0.5298 GB, free: 392 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/0.3002, allocations: 0.6554 MB / 0.5305 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3002, allocations: 0 / 0.5305 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.3002, allocations: 4 kB / 0.5305 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.3002, allocations: 12 kB / 0.5305 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/0.3008, allocations: 0.5855 MB / 0.531 GB, free: 15.08 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.001393/0.3022, allocations: 0.9384 MB / 0.532 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.3024, allocations: 242.9 kB / 0.5322 GB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.3027, allocations: 181.6 kB / 0.5324 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000394/0.3031, allocations: 123.9 kB / 0.5325 GB, free: 13.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.3032, allocations: 34.56 kB / 0.5325 GB, free: 13.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 3.496e-06/0.3032, allocations: 5.578 kB / 0.5325 GB, free: 13.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001085/0.3043, allocations: 0.6053 MB / 0.5331 GB, free: 12.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.3043, allocations: 85.11 kB / 0.5332 GB, free: 12.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.181e-05/0.3044, allocations: 139.5 kB / 0.5333 GB, free: 12.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.3044, allocations: 29.7 kB / 0.5334 GB, free: 12.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.3045, allocations: 112.5 kB / 0.5335 GB, free: 12.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.416e-05/0.3045, allocations: 115 kB / 0.5336 GB, free: 12.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/0.3046, allocations: 65.47 kB / 0.5336 GB, free: 12.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.173e-05/0.3047, allocations: 326.8 kB / 0.5339 GB, free: 11.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.3049, allocations: 183.9 kB / 0.5341 GB, free: 11.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.3051, allocations: 292.7 kB / 0.5344 GB, free: 11.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004588/0.3056, allocations: 0.4884 MB / 0.5349 GB, free: 10.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3056, allocations: 0 / 0.5349 GB, free: 10.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005633/0.3062, allocations: 0.5117 MB / 0.5354 GB, free: 10.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.3062, allocations: 22.61 kB / 0.5354 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.3062, allocations: 4 kB / 0.5354 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3062, allocations: 4 kB / 0.5354 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.3065, allocations: 83.83 kB / 0.5355 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3065, allocations: 7.938 kB / 0.5355 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.3066, allocations: 35.77 kB / 0.5355 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.3067, allocations: 22.06 kB / 0.5355 GB, free: 10.24 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 0.0001215/0.3068, allocations: 149.7 kB / 0.5357 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.3069, allocations: 15.91 kB / 0.5357 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005729/0.3074, allocations: 491.4 kB / 0.5362 GB, free: 9.586 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3074, allocations: 8 kB / 0.5362 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3074, allocations: 0 / 0.5362 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3074, allocations: 0 / 0.5362 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.3079, allocations: 385.3 kB / 0.5365 GB, free: 9.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3079, allocations: 0 / 0.5365 GB, free: 9.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.3081, allocations: 59.91 kB / 0.5366 GB, free: 9.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3081, allocations: 3.984 kB / 0.5366 GB, free: 9.098 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.3081, allocations: 11.94 kB / 0.5366 GB, free: 9.086 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3081, allocations: 4.469 kB / 0.5366 GB, free: 9.082 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3081, allocations: 0 / 0.5366 GB, free: 9.082 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.3088, allocations: 0.69 MB / 0.5373 GB, free: 8.379 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.3088, allocations: 19.81 kB / 0.5373 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.3089, allocations: 8 kB / 0.5373 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.3091, allocations: 19.98 kB / 0.5373 GB, free: 8.332 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.3091, allocations: 19.95 kB / 0.5374 GB, free: 8.312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.3092, allocations: 19.98 kB / 0.5374 GB, free: 8.293 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.436e-05/0.3092, allocations: 95.27 kB / 0.5375 GB, free: 8.199 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3092, allocations: 3.938 kB / 0.5375 GB, free: 8.195 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005106/0.3097, allocations: 167.6 kB / 0.5376 GB, free: 8.031 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.00133/0.311, allocations: 1.471 MB / 0.5391 GB, free: 6.539 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006732/0.3117, allocations: 427.2 kB / 0.5395 GB, free: 6.121 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3117, allocations: 4 kB / 0.5395 GB, free: 6.117 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.3119, allocations: 212.6 kB / 0.5397 GB, free: 5.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.3123, allocations: 92.31 kB / 0.5398 GB, free: 5.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.315, allocations: 3.05 MB / 0.5428 GB, free: 2.602 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.148e-05/0.3151, allocations: 127.2 kB / 0.5429 GB, free: 2.461 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002934/0.3153, allocations: 117.8 kB / 0.543 GB, free: 2.348 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.3155, allocations: 64.45 kB / 0.5431 GB, free: 2.285 MB / 442.7 MB Notification: Performance of SimCode: time 1.373e-06/0.3155, allocations: 0 / 0.5431 GB, free: 2.285 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.343, allocations: 11.52 MB / 0.5543 GB, free: 6.773 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.557/6.9, allocations: 3.953 kB / 0.5543 GB, free: 6.77 MB / 458.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.88013556227088]