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.001538/0.001538, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 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.001508/0.001508, allocations: 205.5 kB / 24.51 MB, free: 3.945 MB / 14.72 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 1.409/1.409, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2238/0.2238, allocations: 46.95 MB / 361.6 MB, free: 3.922 MB / 286.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 80.16 kB / 0.4969 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.318, allocations: 66.08 MB / 0.5614 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.159/0.477, allocations: 131.5 MB / 0.6899 GB, free: 160 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002616/0.4796, allocations: 1.974 MB / 0.6918 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.763e-05/0.4797, allocations: 0 / 0.6918 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.48, allocations: 55.66 kB / 0.6919 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.4816, allocations: 0.6337 MB / 0.6925 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.4819, allocations: 111.8 kB / 0.6926 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.4822, allocations: 267 kB / 0.6928 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.4823, allocations: 4 kB / 0.6928 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00029/0.4826, allocations: 151.4 kB / 0.693 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.4828, allocations: 95.7 kB / 0.6931 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.4828, allocations: 8 kB / 0.6931 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.4842, allocations: 0.7792 MB / 0.6938 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.4843, allocations: 91.75 kB / 0.6939 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.4845, allocations: 83.72 kB / 0.694 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.4855, allocations: 0.6528 MB / 0.6947 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4855, allocations: 4 kB / 0.6947 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4855, allocations: 0 / 0.6947 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.4855, allocations: 0 / 0.6947 GB, free: 11.25 MB / 0.5294 GB 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.0008355/0.4864, allocations: 441.4 kB / 0.6951 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4864, allocations: 12.03 kB / 0.6951 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.148e-05/0.4864, allocations: 4.516 kB / 0.6951 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.561e-05/0.4865, allocations: 54.73 kB / 0.6951 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.4886, allocations: 280.4 kB / 0.6954 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.4891, allocations: 221.6 kB / 0.6956 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.4891, allocations: 12.33 kB / 0.6956 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.319e-05/0.4892, allocations: 20 kB / 0.6957 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008804/0.4901, allocations: 0.6357 MB / 0.6963 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4901, allocations: 3.938 kB / 0.6963 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.527e-05/0.4901, allocations: 8 kB / 0.6963 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.4902, allocations: 12 kB / 0.6963 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009083/0.4911, allocations: 0.5778 MB / 0.6969 GB, free: 8.883 MB / 0.5294 GB 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.002218/0.4933, allocations: 0.9443 MB / 0.6978 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.4937, allocations: 233 kB / 0.698 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.4939, allocations: 185.6 kB / 0.6982 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008579/0.4948, allocations: 155.8 kB / 0.6983 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.4948, allocations: 38.5 kB / 0.6984 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.4948, allocations: 4 kB / 0.6984 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001889/0.4967, allocations: 0.5904 MB / 0.6989 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.4968, allocations: 89.05 kB / 0.699 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.4969, allocations: 125.8 kB / 0.6992 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.497, allocations: 29.7 kB / 0.6992 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.497, allocations: 120.5 kB / 0.6993 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.4972, allocations: 115.2 kB / 0.6994 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.4973, allocations: 61.48 kB / 0.6995 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4974, allocations: 338.8 kB / 0.6998 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.4978, allocations: 183.9 kB / 0.7 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.4982, allocations: 292.5 kB / 0.7002 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008047/0.499, allocations: 495.1 kB / 0.7007 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.499, allocations: 0 / 0.7007 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009978/0.5, allocations: 0.5131 MB / 0.7012 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.5001, allocations: 12.06 kB / 0.7012 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.5001, allocations: 4 kB / 0.7012 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.5001, allocations: 4 kB / 0.7012 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000525/0.5006, allocations: 79.89 kB / 0.7013 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.5006, allocations: 7.984 kB / 0.7013 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.501, allocations: 35.77 kB / 0.7014 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.5011, allocations: 23.94 kB / 0.7014 GB, free: 4.023 MB / 0.5294 GB 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.0001878/0.5012, allocations: 151 kB / 0.7015 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.5014, allocations: 15.91 kB / 0.7015 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009904/0.5024, allocations: 0.4943 MB / 0.702 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.5024, allocations: 11.98 kB / 0.702 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5024, allocations: 0 / 0.702 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5024, allocations: 0 / 0.702 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007339/0.5031, allocations: 385.2 kB / 0.7024 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5031, allocations: 0 / 0.7024 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/0.5036, allocations: 59.89 kB / 0.7025 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5036, allocations: 0 / 0.7025 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.5037, allocations: 11.98 kB / 0.7025 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.5037, allocations: 4 kB / 0.7025 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5037, allocations: 0 / 0.7025 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.5048, allocations: 0.6904 MB / 0.7031 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.5049, allocations: 19.83 kB / 0.7032 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.71e-05/0.5049, allocations: 8 kB / 0.7032 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.5054, allocations: 23.91 kB / 0.7032 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.5054, allocations: 19.97 kB / 0.7032 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/0.5055, allocations: 19.98 kB / 0.7032 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.503e-05/0.5055, allocations: 107.2 kB / 0.7033 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5055, allocations: 0 / 0.7033 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006741/0.5062, allocations: 159.6 kB / 0.7035 GB, free: 1.793 MB / 0.5294 GB 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.002196/0.5084, allocations: 1.467 MB / 0.7049 GB, free: 304 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008145/0.5092, allocations: 419.5 kB / 0.7053 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5092, allocations: 0.8125 kB / 0.7053 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.5096, allocations: 215.8 kB / 0.7055 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006908/0.5103, allocations: 94.81 kB / 0.7056 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/0.5148, allocations: 3.237 MB / 0.7088 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.515, allocations: 130.9 kB / 0.7089 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004696/0.5154, allocations: 109.8 kB / 0.709 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.5156, allocations: 59.41 kB / 0.7091 GB, free: 11.87 MB / 0.545 GB Notification: Performance of SimCode: time 1.313e-06/0.5156, allocations: 0 / 0.7091 GB, free: 11.87 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03607/0.5517, allocations: 11.12 MB / 0.7199 GB, free: 0.918 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.63, allocations: 8 kB / 0.7199 GB, free: 0.9102 MB / 0.545 GB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/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: 14.72217763599474]