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.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.001357/0.001357, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001505/0.001505, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.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.2237/0.2237, allocations: 44.94 MB / 359.6 MB, free: 6.035 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002052/0.002052, allocations: 59.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.362, allocations: 65.47 MB / 0.5577 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1849/0.5469, allocations: 131.5 MB / 0.6862 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003791/0.5507, allocations: 1.978 MB / 0.6881 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.5508, allocations: 0 / 0.6881 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006327/0.5515, allocations: 47.69 kB / 0.6881 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.5539, allocations: 0.6414 MB / 0.6888 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.5544, allocations: 111.3 kB / 0.6889 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.5548, allocations: 267 kB / 0.6891 GB, free: 464 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.931e-05/0.5548, allocations: 0 / 0.6891 GB, free: 464 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.5552, allocations: 151.4 kB / 0.6893 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.5554, allocations: 95.64 kB / 0.6894 GB, free: 216 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.5554, allocations: 8 kB / 0.6894 GB, free: 208 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.557, allocations: 0.7831 MB / 0.6901 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.5572, allocations: 87.81 kB / 0.6902 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.5573, allocations: 87.64 kB / 0.6903 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.5585, allocations: 0.6486 MB / 0.6909 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5585, allocations: 0 / 0.6909 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5586, allocations: 0 / 0.6909 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.5586, allocations: 0 / 0.6909 GB, free: 14.6 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.001053/0.5596, allocations: 453.4 kB / 0.6914 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 8.049e-05/0.5597, allocations: 8.031 kB / 0.6914 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.064e-05/0.5597, allocations: 4.516 kB / 0.6914 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.224e-05/0.5598, allocations: 58.73 kB / 0.6914 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.5619, allocations: 272.5 kB / 0.6917 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005465/0.5625, allocations: 225.6 kB / 0.6919 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.5625, allocations: 8.328 kB / 0.6919 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.962e-05/0.5626, allocations: 19.94 kB / 0.6919 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.5637, allocations: 0.6473 MB / 0.6926 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.5637, allocations: 0 / 0.6926 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.488e-05/0.5637, allocations: 4 kB / 0.6926 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/0.5638, allocations: 8 kB / 0.6926 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009713/0.5647, allocations: 0.5933 MB / 0.6932 GB, free: 12.21 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.00239/0.5671, allocations: 0.9365 MB / 0.6941 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.5676, allocations: 237.1 kB / 0.6943 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.5678, allocations: 177.6 kB / 0.6945 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008913/0.5687, allocations: 155.8 kB / 0.6946 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.5687, allocations: 38.56 kB / 0.6947 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 3.086e-06/0.5687, allocations: 0 / 0.6947 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002122/0.5709, allocations: 0.5979 MB / 0.6952 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.5709, allocations: 85.11 kB / 0.6953 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.5711, allocations: 129.8 kB / 0.6954 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.5711, allocations: 33.7 kB / 0.6955 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.965e-05/0.5712, allocations: 120.4 kB / 0.6956 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.5713, allocations: 111.1 kB / 0.6957 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.5715, allocations: 69.47 kB / 0.6958 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.5716, allocations: 330.8 kB / 0.6961 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.572, allocations: 183.9 kB / 0.6963 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.5724, allocations: 289.5 kB / 0.6965 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007773/0.5732, allocations: 495.8 kB / 0.697 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.5732, allocations: 4 kB / 0.697 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009829/0.5742, allocations: 0.5131 MB / 0.6975 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.5742, allocations: 12 kB / 0.6975 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.5742, allocations: 4 kB / 0.6975 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.5742, allocations: 4 kB / 0.6975 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.5748, allocations: 83.88 kB / 0.6976 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.5748, allocations: 11.94 kB / 0.6976 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.5751, allocations: 39.77 kB / 0.6977 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/0.5752, allocations: 15.94 kB / 0.6977 GB, free: 7.352 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.0002093/0.5754, allocations: 149.7 kB / 0.6978 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.5755, allocations: 15.91 kB / 0.6978 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.5765, allocations: 498.4 kB / 0.6983 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.5765, allocations: 8 kB / 0.6983 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.5765, allocations: 0 / 0.6983 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5766, allocations: 0 / 0.6983 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007657/0.5773, allocations: 393 kB / 0.6987 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5773, allocations: 0 / 0.6987 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.5778, allocations: 59.91 kB / 0.6987 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.5778, allocations: 0 / 0.6987 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.5779, allocations: 11.98 kB / 0.6988 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.5779, allocations: 7.938 kB / 0.6988 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5779, allocations: 0 / 0.6988 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.5791, allocations: 0.6917 MB / 0.6994 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.5791, allocations: 15.84 kB / 0.6995 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/0.5792, allocations: 11.98 kB / 0.6995 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/0.5796, allocations: 19.98 kB / 0.6995 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.5797, allocations: 11.97 kB / 0.6995 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.992e-05/0.5797, allocations: 19.98 kB / 0.6995 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.316e-05/0.5798, allocations: 107.2 kB / 0.6996 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5798, allocations: 0 / 0.6996 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007172/0.5805, allocations: 171.6 kB / 0.6998 GB, free: 5.117 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.002268/0.5828, allocations: 1.458 MB / 0.7012 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008658/0.5837, allocations: 418.9 kB / 0.7016 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5837, allocations: 4.812 kB / 0.7016 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.584, allocations: 215.8 kB / 0.7018 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007074/0.5847, allocations: 105.9 kB / 0.7019 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004648/0.5894, allocations: 3.234 MB / 0.7051 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.5895, allocations: 127 kB / 0.7052 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004837/0.59, allocations: 109.8 kB / 0.7053 GB, free: 15.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.5902, allocations: 59.42 kB / 0.7054 GB, free: 15.2 MB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/0.5902, allocations: 0 / 0.7054 GB, free: 15.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/0.6273, allocations: 11.11 MB / 0.7162 GB, free: 4.297 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.08, allocations: 11.17 kB / 0.7162 GB, free: 4.289 MB / 0.545 GB " [Timeout remaining time 648] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 15.301599849015474]