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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 119 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 225.6 MB / 249.8 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] 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.2267/0.2267, allocations: 44.92 MB / 349.6 MB, free: 1.746 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001859/0.001859, allocations: 63.77 kB / 491.8 MB, free: 29.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1197, allocations: 64.27 MB / 0.543 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4667/0.5864, allocations: 150.1 MB / 0.6896 GB, free: 5.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.5891, allocations: 2.195 MB / 0.6918 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.5892, allocations: 0 / 0.6918 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.5896, allocations: 64.73 kB / 0.6918 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.5911, allocations: 0.6358 MB / 0.6924 GB, free: 3.445 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.5914, allocations: 108.3 kB / 0.6925 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.5917, allocations: 258.4 kB / 0.6928 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.5918, allocations: 4.938 kB / 0.6928 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.592, allocations: 146.6 kB / 0.6929 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.5922, allocations: 91.83 kB / 0.693 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.5923, allocations: 11.86 kB / 0.693 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.5937, allocations: 0.8772 MB / 0.6939 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.5938, allocations: 82.23 kB / 0.694 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.5939, allocations: 96.55 kB / 0.6941 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008846/0.5948, allocations: 0.659 MB / 0.6947 GB, free: 2.176 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5948, allocations: 0 / 0.6947 GB, free: 2.176 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5948, allocations: 7.938 kB / 0.6947 GB, free: 2.168 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.5948, allocations: 0 / 0.6947 GB, free: 2.168 MB / 494.1 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.00086/0.5957, allocations: 0.501 MB / 0.6952 GB, free: 1.695 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.5957, allocations: 9.625 kB / 0.6952 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.902e-05/0.5958, allocations: 56.28 kB / 0.6953 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/0.5976, allocations: 269.3 kB / 0.6955 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/0.5982, allocations: 278.6 kB / 0.6958 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.5982, allocations: 13.3 kB / 0.6958 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.746e-05/0.5983, allocations: 24.44 kB / 0.6958 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000769/0.599, allocations: 493.4 kB / 0.6963 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.599, allocations: 0 / 0.6963 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/0.5991, allocations: 12.5 kB / 0.6963 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.5991, allocations: 11.36 kB / 0.6963 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008225/0.5999, allocations: 0.5771 MB / 0.6969 GB, free: 0.7031 MB / 494.1 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.002252/0.6022, allocations: 1.015 MB / 0.6979 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.6026, allocations: 245.8 kB / 0.6981 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.6029, allocations: 185.6 kB / 0.6983 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.6039, allocations: 375.2 kB / 0.6986 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.604, allocations: 38.56 kB / 0.6987 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=28): time 1.694e-06/0.604, allocations: 0 / 0.6987 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28): time 0.001885/0.6058, allocations: 0.5954 MB / 0.6993 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.6059, allocations: 77.11 kB / 0.6993 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.606, allocations: 133.8 kB / 0.6995 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.6061, allocations: 33.64 kB / 0.6995 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.6062, allocations: 116.5 kB / 0.6996 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.6063, allocations: 115 kB / 0.6997 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.6064, allocations: 65.69 kB / 0.6998 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.6066, allocations: 326.8 kB / 0.7001 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.6069, allocations: 183.9 kB / 0.7003 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004237/0.6073, allocations: 284.8 kB / 0.7005 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000784/0.6081, allocations: 0.4946 MB / 0.701 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.6081, allocations: 3.938 kB / 0.701 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009734/0.6091, allocations: 0.5181 MB / 0.7015 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.6091, allocations: 8 kB / 0.7015 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.6091, allocations: 4 kB / 0.7015 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.6092, allocations: 4 kB / 0.7015 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.6097, allocations: 79.83 kB / 0.7016 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.6097, allocations: 8 kB / 0.7016 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.61, allocations: 40.08 kB / 0.7017 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.6101, allocations: 19.98 kB / 0.7017 GB, free: 11.82 MB / 0.4981 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.0001998/0.6103, allocations: 153.6 kB / 0.7018 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.6104, allocations: 11.95 kB / 0.7018 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.6114, allocations: 491.7 kB / 0.7023 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.6114, allocations: 4 kB / 0.7023 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6114, allocations: 0 / 0.7023 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6114, allocations: 0 / 0.7023 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008289/0.6123, allocations: 461.8 kB / 0.7028 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6123, allocations: 0 / 0.7028 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/0.6128, allocations: 67.89 kB / 0.7028 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.6128, allocations: 0 / 0.7028 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.6128, allocations: 11.98 kB / 0.7028 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.6128, allocations: 3.938 kB / 0.7028 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.6128, allocations: 4.812 kB / 0.7028 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.6139, allocations: 0.6763 MB / 0.7035 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.614, allocations: 101 kB / 0.7036 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.6141, allocations: 8 kB / 0.7036 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/0.6145, allocations: 23.95 kB / 0.7036 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.6146, allocations: 15.97 kB / 0.7036 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.6146, allocations: 19.98 kB / 0.7037 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.162e-05/0.6147, allocations: 99.2 kB / 0.7038 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6147, allocations: 0 / 0.7038 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006942/0.6154, allocations: 167.6 kB / 0.7039 GB, free: 9.441 MB / 0.4981 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.0022/0.6176, allocations: 1.467 MB / 0.7053 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008447/0.6184, allocations: 422 kB / 0.7057 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6184, allocations: 0 / 0.7057 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.6188, allocations: 209.4 kB / 0.7059 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007002/0.6195, allocations: 93.11 kB / 0.706 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.6242, allocations: 3.246 MB / 0.7092 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.6246, allocations: 0.74 MB / 0.7099 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004588/0.6251, allocations: 113.8 kB / 0.71 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.6253, allocations: 55.41 kB / 0.7101 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.6253, allocations: 0 / 0.7101 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0402/0.6655, allocations: 10.37 MB / 0.7202 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.79, allocations: 4 kB / 0.7202 GB, free: 8.633 MB / 0.5137 GB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.028015119954944]