Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009323/0.0009323, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8775/0.8775, allocations: 177 MB / 204.1 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2515/0.2515, allocations: 34.23 MB / 294.8 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 442.1 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.337e-05, allocations: 2.281 kB / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2874/0.2874, allocations: 131.7 MB / 0.5603 GB, free: 12.92 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.2891, allocations: 1.978 MB / 0.5623 GB, free: 10.93 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.2891, allocations: 0 / 0.5623 GB, free: 10.93 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.2895, allocations: 51.67 kB / 0.5623 GB, free: 10.88 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.2907, allocations: 0.6527 MB / 0.563 GB, free: 10.23 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.291, allocations: 111.6 kB / 0.5631 GB, free: 10.12 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.2912, allocations: 266.8 kB / 0.5633 GB, free: 9.859 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.2913, allocations: 7.984 kB / 0.5633 GB, free: 9.852 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.2916, allocations: 174.5 kB / 0.5635 GB, free: 9.684 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.2917, allocations: 87.75 kB / 0.5636 GB, free: 9.598 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.2918, allocations: 8 kB / 0.5636 GB, free: 9.59 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.2928, allocations: 0.7712 MB / 0.5643 GB, free: 8.816 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.2929, allocations: 83.78 kB / 0.5644 GB, free: 8.734 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.293, allocations: 79.83 kB / 0.5645 GB, free: 8.656 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007865/0.2938, allocations: 0.7208 MB / 0.5652 GB, free: 7.934 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2938, allocations: 0 / 0.5652 GB, free: 7.934 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2938, allocations: 0 / 0.5652 GB, free: 7.934 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.2938, allocations: 0 / 0.5652 GB, free: 7.934 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.0006698/0.2944, allocations: 446 kB / 0.5656 GB, free: 7.473 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2945, allocations: 12.03 kB / 0.5656 GB, free: 7.461 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.2945, allocations: 54.73 kB / 0.5657 GB, free: 7.398 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.2957, allocations: 280.5 kB / 0.566 GB, free: 7.125 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.296, allocations: 213.5 kB / 0.5662 GB, free: 6.891 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.296, allocations: 12.7 kB / 0.5662 GB, free: 6.879 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.2961, allocations: 27.92 kB / 0.5662 GB, free: 6.852 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005955/0.2967, allocations: 0.6357 MB / 0.5668 GB, free: 6.168 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.2967, allocations: 3.938 kB / 0.5668 GB, free: 6.164 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.2967, allocations: 14.62 kB / 0.5668 GB, free: 6.152 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.2967, allocations: 8 kB / 0.5669 GB, free: 6.145 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/0.2973, allocations: 0.571 MB / 0.5674 GB, free: 5.574 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.00142/0.2987, allocations: 0.9526 MB / 0.5683 GB, free: 4.586 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.299, allocations: 238.9 kB / 0.5686 GB, free: 4.336 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.2992, allocations: 181.6 kB / 0.5687 GB, free: 4.152 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004589/0.2996, allocations: 155.8 kB / 0.5689 GB, free: 4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.2997, allocations: 38.56 kB / 0.5689 GB, free: 3.953 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/0.2997, allocations: 3.938 kB / 0.5689 GB, free: 3.949 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.001146/0.3008, allocations: 0.592 MB / 0.5695 GB, free: 3.352 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.3009, allocations: 81.8 kB / 0.5696 GB, free: 3.254 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.565e-05/0.3009, allocations: 129.8 kB / 0.5697 GB, free: 3.117 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.301, allocations: 33.7 kB / 0.5697 GB, free: 3.078 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.3011, allocations: 116.5 kB / 0.5699 GB, free: 2.961 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.762e-05/0.3011, allocations: 115.2 kB / 0.57 GB, free: 2.848 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.048e-05/0.3012, allocations: 61.69 kB / 0.57 GB, free: 2.781 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.3013, allocations: 326.8 kB / 0.5703 GB, free: 2.453 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.3015, allocations: 183.9 kB / 0.5705 GB, free: 2.273 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.3018, allocations: 289 kB / 0.5708 GB, free: 1.949 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005135/0.3023, allocations: 499.4 kB / 0.5713 GB, free: 1.418 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3023, allocations: 4 kB / 0.5713 GB, free: 1.414 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00069/0.303, allocations: 0.5228 MB / 0.5718 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.303, allocations: 8 kB / 0.5718 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.303, allocations: 4.406 kB / 0.5718 GB, free: 0.875 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.303, allocations: 8 kB / 0.5718 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.3033, allocations: 75.89 kB / 0.5719 GB, free: 0.793 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3033, allocations: 7.938 kB / 0.5719 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.3035, allocations: 42.48 kB / 0.5719 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.3035, allocations: 19.98 kB / 0.5719 GB, free: 0.7266 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.0001166/0.3037, allocations: 149.7 kB / 0.5721 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.3037, allocations: 19.84 kB / 0.5721 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005818/0.3043, allocations: 497.2 kB / 0.5726 GB, free: 72 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3043, allocations: 4 kB / 0.5726 GB, free: 68 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3043, allocations: 0 / 0.5726 GB, free: 68 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3043, allocations: 7.984 kB / 0.5726 GB, free: 60 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.3048, allocations: 382.8 kB / 0.5729 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3048, allocations: 3.938 kB / 0.5729 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.305, allocations: 63.89 kB / 0.573 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.305, allocations: 0 / 0.573 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.305, allocations: 11.98 kB / 0.573 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.305, allocations: 4 kB / 0.573 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.305, allocations: 0 / 0.573 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006756/0.3057, allocations: 0.6915 MB / 0.5737 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.3057, allocations: 11.89 kB / 0.5737 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.3058, allocations: 8 kB / 0.5737 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.306, allocations: 19.97 kB / 0.5737 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.306, allocations: 15.97 kB / 0.5738 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.3061, allocations: 19.98 kB / 0.5738 GB, free: 14.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.271e-05/0.3061, allocations: 108 kB / 0.5739 GB, free: 14.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3061, allocations: 0 / 0.5739 GB, free: 14.69 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004621/0.3066, allocations: 167.6 kB / 0.574 GB, free: 14.52 MB / 490.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.3081, allocations: 1.481 MB / 0.5755 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005225/0.3086, allocations: 423.5 kB / 0.5759 GB, free: 12.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3086, allocations: 0 / 0.5759 GB, free: 12.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.3088, allocations: 211.8 kB / 0.5761 GB, free: 12.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.3093, allocations: 95.14 kB / 0.5762 GB, free: 12.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.3119, allocations: 3.042 MB / 0.5791 GB, free: 9.117 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.314e-05/0.312, allocations: 131.2 kB / 0.5793 GB, free: 8.969 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003012/0.3123, allocations: 117.8 kB / 0.5794 GB, free: 8.855 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.3124, allocations: 56.47 kB / 0.5794 GB, free: 8.801 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3124, allocations: 0 / 0.5794 GB, free: 8.801 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.3365, allocations: 11.48 MB / 0.5907 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/7.343, allocations: 10.94 kB / 0.5907 GB, free: 13.5 MB / 0.4948 GB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.325948756188154]