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.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.001296/0.001296, allocations: 113.5 kB / 17.13 MB, free: 5.754 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.001354/0.001354, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.535/1.535, allocations: 207.6 MB / 230.5 MB, free: 4.066 MB / 174.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.3574/0.3574, allocations: 44.23 MB / 326.5 MB, free: 6.844 MB / 254.1 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 71.89 kB / 462.2 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3149, allocations: 61 MB / 0.5109 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4907/0.8056, allocations: 151.4 MB / 0.6588 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.8078, allocations: 2.091 MB / 0.6608 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.8079, allocations: 0.6875 kB / 0.6608 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.8082, allocations: 57.27 kB / 0.6609 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.8096, allocations: 0.6149 MB / 0.6615 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.81, allocations: 116.6 kB / 0.6616 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000361/0.8103, allocations: 257.1 kB / 0.6618 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.8104, allocations: 13.23 kB / 0.6618 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.8106, allocations: 139.7 kB / 0.662 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.8108, allocations: 94.7 kB / 0.6621 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.8108, allocations: 9.094 kB / 0.6621 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.8124, allocations: 0.8591 MB / 0.6629 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.8126, allocations: 83.34 kB / 0.663 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.8127, allocations: 94.19 kB / 0.6631 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.8139, allocations: 0.6496 MB / 0.6637 GB, free: 492 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8139, allocations: 0 / 0.6637 GB, free: 492 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8139, allocations: 1.203 kB / 0.6637 GB, free: 492 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.8139, allocations: 0 / 0.6637 GB, free: 492 kB / 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.0008268/0.8147, allocations: 0.5041 MB / 0.6642 GB, free: 16.06 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.8148, allocations: 15.92 kB / 0.6642 GB, free: 16.05 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.23e-05/0.8148, allocations: 53.05 kB / 0.6643 GB, free: 16.01 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.8167, allocations: 271.4 kB / 0.6645 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.8172, allocations: 273.5 kB / 0.6648 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.8172, allocations: 15.86 kB / 0.6648 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.8173, allocations: 21.27 kB / 0.6648 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00066/0.818, allocations: 0.499 MB / 0.6653 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.818, allocations: 0 / 0.6653 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.818, allocations: 8.469 kB / 0.6653 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.8181, allocations: 9.188 kB / 0.6653 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007412/0.8188, allocations: 0.5886 MB / 0.6659 GB, free: 15.72 MB / 0.5137 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.002569/0.8214, allocations: 1.008 MB / 0.6669 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.8218, allocations: 237 kB / 0.6671 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.8221, allocations: 190.9 kB / 0.6673 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008828/0.823, allocations: 270.9 kB / 0.6676 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.823, allocations: 37.53 kB / 0.6676 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=28): time 1.413e-06/0.823, allocations: 0 / 0.6676 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28): time 0.001908/0.8249, allocations: 0.5989 MB / 0.6682 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/0.825, allocations: 81.3 kB / 0.6683 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.8251, allocations: 129.7 kB / 0.6684 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.8252, allocations: 31.83 kB / 0.6684 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.8253, allocations: 115.4 kB / 0.6685 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.8254, allocations: 116.7 kB / 0.6686 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.8255, allocations: 64.98 kB / 0.6687 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.8257, allocations: 329.6 kB / 0.669 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.826, allocations: 185.3 kB / 0.6692 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/0.8264, allocations: 284.8 kB / 0.6695 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/0.8272, allocations: 496 kB / 0.6699 GB, free: 14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.8272, allocations: 2.406 kB / 0.6699 GB, free: 14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009006/0.8281, allocations: 0.5261 MB / 0.6704 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.8281, allocations: 7.797 kB / 0.6705 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.8281, allocations: 5.625 kB / 0.6705 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.8281, allocations: 2.781 kB / 0.6705 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.8286, allocations: 84.47 kB / 0.6705 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.8286, allocations: 8.828 kB / 0.6706 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.829, allocations: 39.67 kB / 0.6706 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.8291, allocations: 15.62 kB / 0.6706 GB, free: 13.93 MB / 0.5137 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.000172/0.8292, allocations: 150.1 kB / 0.6707 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.8293, allocations: 21.61 kB / 0.6708 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008213/0.8302, allocations: 0.4896 MB / 0.6712 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.8302, allocations: 4.75 kB / 0.6712 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8302, allocations: 0 / 0.6712 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.8302, allocations: 2.766 kB / 0.6713 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006752/0.8309, allocations: 467.4 kB / 0.6717 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.8309, allocations: 0 / 0.6717 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/0.8313, allocations: 60.45 kB / 0.6718 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.8313, allocations: 0 / 0.6718 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.8313, allocations: 11.11 kB / 0.6718 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.8313, allocations: 7.594 kB / 0.6718 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8313, allocations: 3.938 kB / 0.6718 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000972/0.8323, allocations: 0.6918 MB / 0.6725 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.319e-05/0.8324, allocations: 93.02 kB / 0.6725 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.8325, allocations: 5.469 kB / 0.6725 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/0.8329, allocations: 21.81 kB / 0.6726 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.8329, allocations: 22.36 kB / 0.6726 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.833, allocations: 14.3 kB / 0.6726 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.191e-05/0.833, allocations: 103.2 kB / 0.6727 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.833, allocations: 0 / 0.6727 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007623/0.8338, allocations: 158.7 kB / 0.6729 GB, free: 13.05 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.001937/0.8357, allocations: 1.47 MB / 0.6743 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000673/0.8364, allocations: 418.7 kB / 0.6747 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8364, allocations: 0 / 0.6747 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.8367, allocations: 218.8 kB / 0.6749 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006508/0.8374, allocations: 91.05 kB / 0.675 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.8413, allocations: 3.221 MB / 0.6781 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.8417, allocations: 0.7415 MB / 0.6789 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004764/0.8422, allocations: 114.4 kB / 0.679 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.8423, allocations: 59 kB / 0.679 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.8423, allocations: 1.203 kB / 0.679 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03872/0.8811, allocations: 10.44 MB / 0.6892 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/9.167, allocations: 7.984 kB / 0.6892 GB, free: 8.062 MB / 0.5137 GB " [Timeout remaining time 651] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.122886086814106]