Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.001699/0.001699, allocations: 118.9 kB / 17.83 MB, free: 5.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.002208/0.002208, allocations: 210.3 kB / 20.8 MB, free: 2.258 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.586/1.586, allocations: 207.6 MB / 231.2 MB, free: 4.113 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.3671/0.3671, allocations: 44.23 MB / 327.3 MB, free: 6.707 MB / 254.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.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="cs",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.00229/0.00229, allocations: 67.89 kB / 462.9 MB, free: 0.875 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3107, allocations: 60.99 MB / 0.5116 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4965/0.8072, allocations: 152.2 MB / 0.6602 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007754/0.8149, allocations: 6.257 MB / 0.6663 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.8152, allocations: 1.938 kB / 0.6663 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.8155, allocations: 82.44 kB / 0.6664 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009329/0.8249, allocations: 2.475 MB / 0.6688 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.8253, allocations: 154 kB / 0.669 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008086/0.8261, allocations: 0.5117 MB / 0.6695 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.565e-05/0.8261, allocations: 10.86 kB / 0.6695 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.8266, allocations: 251.7 kB / 0.6697 GB, free: 336 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009628/0.8275, allocations: 477.6 kB / 0.6702 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.8276, allocations: 12.03 kB / 0.6702 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006669/0.8343, allocations: 3.112 MB / 0.6732 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.8344, allocations: 163 kB / 0.6734 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.8348, allocations: 211.6 kB / 0.6736 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00517/0.8399, allocations: 2.018 MB / 0.6756 GB, free: 196 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8399, allocations: 0 / 0.6756 GB, free: 196 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8399, allocations: 0 / 0.6756 GB, free: 196 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.84, allocations: 2.469 kB / 0.6756 GB, free: 196 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002756/0.8427, allocations: 0.9341 MB / 0.6765 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.8428, allocations: 16.41 kB / 0.6765 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.445e-05/0.8428, allocations: 9.594 kB / 0.6765 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.39e-05/0.8429, allocations: 90.52 kB / 0.6766 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003654/0.8465, allocations: 494.6 kB / 0.6771 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007473/0.8473, allocations: 368.9 kB / 0.6774 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.8474, allocations: 134.3 kB / 0.6776 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.8475, allocations: 25.53 kB / 0.6776 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.8489, allocations: 1.117 MB / 0.6787 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.849, allocations: 0 / 0.6787 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.16e-05/0.849, allocations: 18.17 kB / 0.6787 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.738e-05/0.8491, allocations: 55.77 kB / 0.6787 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002748/0.8519, allocations: 2.277 MB / 0.681 GB, free: 15.06 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.003496/0.8554, allocations: 2.471 MB / 0.6834 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.8556, allocations: 125.1 kB / 0.6835 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/0.8557, allocations: 59.77 kB / 0.6836 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003893/0.8596, allocations: 3.351 MB / 0.6868 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.8596, allocations: 41.8 kB / 0.6869 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/0.8596, allocations: 0 / 0.6869 GB, free: 10.89 MB / 0.5137 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=22): time 0.001184/0.8608, allocations: 361.5 kB / 0.6872 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.8608, allocations: 54.59 kB / 0.6873 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.8612, allocations: 348.7 kB / 0.6876 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.8612, allocations: 32.11 kB / 0.6876 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.8614, allocations: 358.2 kB / 0.688 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.799e-05/0.8615, allocations: 91.61 kB / 0.6881 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.8617, allocations: 156.4 kB / 0.6882 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.8618, allocations: 338.6 kB / 0.6885 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.862, allocations: 131 kB / 0.6886 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/0.8625, allocations: 0.5714 MB / 0.6892 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008185/0.8634, allocations: 0.7498 MB / 0.6899 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.998e-06/0.8634, allocations: 9.031 kB / 0.6899 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001172/0.8645, allocations: 0.7447 MB / 0.6907 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.8646, allocations: 13.75 kB / 0.6907 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.8646, allocations: 17.5 kB / 0.6907 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.8646, allocations: 20.22 kB / 0.6907 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/0.865, allocations: 183 kB / 0.6909 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000429/0.8655, allocations: 0.6227 MB / 0.6915 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.8659, allocations: 88.27 kB / 0.6916 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.8659, allocations: 58.09 kB / 0.6916 GB, free: 8.027 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002265/0.8662, allocations: 217.9 kB / 0.6919 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/0.8665, allocations: 85.25 kB / 0.6919 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005003/0.867, allocations: 271.3 kB / 0.6922 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.867, allocations: 2.625 kB / 0.6922 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.867, allocations: 0 / 0.6922 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.867, allocations: 4.594 kB / 0.6922 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009328/0.8679, allocations: 0.7393 MB / 0.6929 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.8679, allocations: 7.469 kB / 0.6929 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.8681, allocations: 43.33 kB / 0.693 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.8681, allocations: 6.219 kB / 0.693 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.8681, allocations: 9.781 kB / 0.693 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003695/0.8685, allocations: 0.5841 MB / 0.6936 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8685, allocations: 5.844 kB / 0.6936 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.8688, allocations: 313.4 kB / 0.6939 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.8689, allocations: 118.5 kB / 0.694 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.869, allocations: 11.45 kB / 0.694 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.8692, allocations: 14.8 kB / 0.694 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.8693, allocations: 22.52 kB / 0.694 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.8693, allocations: 16.06 kB / 0.694 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001921/0.8695, allocations: 229 kB / 0.6943 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.8695, allocations: 1.203 kB / 0.6943 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001297/0.8708, allocations: 397.1 kB / 0.6946 GB, free: 6.215 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002349/0.8731, allocations: 1.501 MB / 0.6961 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005834/0.8737, allocations: 346.6 kB / 0.6964 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.8737, allocations: 4.125 kB / 0.6964 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.8738, allocations: 57.72 kB / 0.6965 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005976/0.8744, allocations: 89.62 kB / 0.6966 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.8852, allocations: 8.812 MB / 0.7052 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.8856, allocations: 0.7957 MB / 0.706 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004768/0.8861, allocations: 165.8 kB / 0.7061 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.8863, allocations: 112.2 kB / 0.7062 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of SimCode: time 1.342e-06/0.8863, allocations: 0 / 0.7062 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03977/0.9261, allocations: 14.95 MB / 0.7208 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.81, allocations: 12.03 kB / 0.7208 GB, free: 6.871 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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: 17.63446442701388]