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.00185/0.00185, allocations: 114.1 kB / 19.69 MB, free: 2.203 MB / 14.72 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.002516/0.002516, allocations: 213.2 kB / 23 MB, free: 5.066 MB / 14.72 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 1.491/1.491, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] 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.2314/0.2314, allocations: 44.24 MB / 330.3 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003097/0.003097, allocations: 71.89 kB / 467.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1547, allocations: 61.04 MB / 0.5161 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4319/0.5866, allocations: 151.5 MB / 0.6641 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003099/0.5897, allocations: 2.104 MB / 0.6661 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.5898, allocations: 3.938 kB / 0.6661 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004062/0.5902, allocations: 63.66 kB / 0.6662 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.592, allocations: 0.6219 MB / 0.6668 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.5923, allocations: 111.7 kB / 0.6669 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003983/0.5927, allocations: 263.1 kB / 0.6671 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.522e-05/0.5928, allocations: 11.97 kB / 0.6671 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.5931, allocations: 135.4 kB / 0.6673 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.5934, allocations: 99.67 kB / 0.6674 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.5934, allocations: 8 kB / 0.6674 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.5952, allocations: 0.8729 MB / 0.6682 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.5953, allocations: 79.77 kB / 0.6683 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.5955, allocations: 99.58 kB / 0.6684 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.5966, allocations: 0.6451 MB / 0.669 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.5966, allocations: 0 / 0.669 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5966, allocations: 0 / 0.669 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.5966, allocations: 4 kB / 0.669 GB, free: 7.328 MB / 0.4981 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.0009918/0.5976, allocations: 441.4 kB / 0.6695 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5977, allocations: 8.031 kB / 0.6695 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.743e-05/0.5977, allocations: 58.73 kB / 0.6695 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.5997, allocations: 258.1 kB / 0.6698 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004886/0.6002, allocations: 226.2 kB / 0.67 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.6002, allocations: 12.7 kB / 0.67 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9e-05/0.6003, allocations: 27.88 kB / 0.67 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008701/0.6012, allocations: 0.489 MB / 0.6705 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.6012, allocations: 4.734 kB / 0.6705 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.6012, allocations: 11.94 kB / 0.6705 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.6012, allocations: 11.98 kB / 0.6705 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009381/0.6022, allocations: 0.5899 MB / 0.6711 GB, free: 5.141 MB / 0.4981 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.00238/0.6046, allocations: 0.9795 MB / 0.6721 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.605, allocations: 237.1 kB / 0.6723 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.6052, allocations: 186.2 kB / 0.6725 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000719/0.606, allocations: 119.9 kB / 0.6726 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.606, allocations: 34.89 kB / 0.6726 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=28): time 2.255e-06/0.606, allocations: 0 / 0.6726 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28): time 0.001969/0.608, allocations: 0.5986 MB / 0.6732 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.608, allocations: 81.11 kB / 0.6733 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.6082, allocations: 129.8 kB / 0.6734 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.6082, allocations: 33.7 kB / 0.6734 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.6083, allocations: 116.5 kB / 0.6735 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.6084, allocations: 107.1 kB / 0.6736 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.6086, allocations: 65.69 kB / 0.6737 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.6087, allocations: 330.8 kB / 0.674 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.6091, allocations: 183.9 kB / 0.6742 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.6095, allocations: 292.7 kB / 0.6745 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008241/0.6104, allocations: 489.6 kB / 0.6749 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.6104, allocations: 0 / 0.6749 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001017/0.6114, allocations: 0.5247 MB / 0.6755 GB, free: 460 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.6114, allocations: 12.06 kB / 0.6755 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.6114, allocations: 4 kB / 0.6755 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.6114, allocations: 4 kB / 0.6755 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.612, allocations: 79.83 kB / 0.6755 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.612, allocations: 11.98 kB / 0.6756 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/0.6124, allocations: 40.27 kB / 0.6756 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.6124, allocations: 12 kB / 0.6756 GB, free: 296 kB / 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.0001863/0.6126, allocations: 145.8 kB / 0.6757 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.6127, allocations: 23.84 kB / 0.6758 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.6137, allocations: 499.8 kB / 0.6762 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.6137, allocations: 7.938 kB / 0.6763 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.6138, allocations: 3.984 kB / 0.6763 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.6138, allocations: 7.922 kB / 0.6763 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007611/0.6145, allocations: 433 kB / 0.6767 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6145, allocations: 3.938 kB / 0.6767 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/0.615, allocations: 55.97 kB / 0.6767 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.615, allocations: 0 / 0.6767 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.6151, allocations: 15.98 kB / 0.6768 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6151, allocations: 0 / 0.6768 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6151, allocations: 4 kB / 0.6768 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.6162, allocations: 0.6994 MB / 0.6774 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.6163, allocations: 11.89 kB / 0.6775 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.853e-05/0.6163, allocations: 11.98 kB / 0.6775 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.6168, allocations: 19.98 kB / 0.6775 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.6169, allocations: 23.95 kB / 0.6775 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.6169, allocations: 17.05 kB / 0.6775 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.332e-05/0.617, allocations: 99.27 kB / 0.6776 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.617, allocations: 0 / 0.6776 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007024/0.6177, allocations: 159.7 kB / 0.6778 GB, free: 14.01 MB / 0.5137 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.002183/0.6199, allocations: 1.469 MB / 0.6792 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008217/0.6207, allocations: 416.3 kB / 0.6796 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6207, allocations: 4.812 kB / 0.6796 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.6211, allocations: 211.8 kB / 0.6798 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007025/0.6218, allocations: 95.77 kB / 0.6799 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.6264, allocations: 3.221 MB / 0.683 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.6268, allocations: 0.7368 MB / 0.6838 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004657/0.6273, allocations: 117.8 kB / 0.6839 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.6275, allocations: 63.34 kB / 0.6839 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of SimCode: time 9.41e-07/0.6275, allocations: 0 / 0.6839 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04268/0.6701, allocations: 10.79 MB / 0.6945 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.59, allocations: 4.062 kB / 0.6945 GB, free: 12.68 MB / 0.5294 GB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/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: 14.656866065924987]