Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001291/0.001291, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001445/0.001445, allocations: 210.8 kB / 23.73 MB, free: 4.383 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.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2241/0.2241, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002628/0.002628, allocations: 67.89 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4128, allocations: 66.04 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.18/0.5927, allocations: 130.3 MB / 0.6878 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00859/0.6013, allocations: 5.179 MB / 0.6929 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009816/0.6023, allocations: 27.75 kB / 0.6929 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.6035, allocations: 318 kB / 0.6932 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.6057, allocations: 0.8824 MB / 0.6941 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.6088, allocations: 1.054 MB / 0.6951 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002487/0.6112, allocations: 1.821 MB / 0.6969 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007064/0.612, allocations: 401.5 kB / 0.6972 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.6133, allocations: 0.7903 MB / 0.698 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.6146, allocations: 0.7592 MB / 0.6988 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.6147, allocations: 64 kB / 0.6988 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.616, allocations: 491.1 kB / 0.6993 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003469/0.6163, allocations: 275.1 kB / 0.6996 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004631/0.6168, allocations: 330.6 kB / 0.6999 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.6185, allocations: 1.172 MB / 0.701 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6185, allocations: 0 / 0.701 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6185, allocations: 0 / 0.701 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.6185, allocations: 0 / 0.701 GB, free: 3.93 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002277/0.6208, allocations: 0.9989 MB / 0.702 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.6209, allocations: 8.031 kB / 0.702 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.621, allocations: 98.69 kB / 0.7021 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003545/0.6213, allocations: 100.4 kB / 0.7022 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009437/0.6223, allocations: 474.8 kB / 0.7026 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.6224, allocations: 156.3 kB / 0.7028 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.6226, allocations: 52.12 kB / 0.7028 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.624, allocations: 1.141 MB / 0.704 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.6241, allocations: 3.938 kB / 0.704 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.096e-05/0.6241, allocations: 23.98 kB / 0.704 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.4e-05/0.6242, allocations: 44.91 kB / 0.704 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.6253, allocations: 0.6479 MB / 0.7047 GB, free: 15.96 MB / 0.545 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.00461/0.6299, allocations: 3.152 MB / 0.7077 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009035/0.6308, allocations: 408.3 kB / 0.7081 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.6312, allocations: 193.4 kB / 0.7083 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003009/0.6315, allocations: 68.28 kB / 0.7084 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.6315, allocations: 42.89 kB / 0.7084 GB, free: 11.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.924e-06/0.6315, allocations: 0 / 0.7084 GB, free: 11.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003443/0.635, allocations: 1.398 MB / 0.7098 GB, free: 10.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.6351, allocations: 140.5 kB / 0.7099 GB, free: 10.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/0.6358, allocations: 0.5887 MB / 0.7105 GB, free: 9.777 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.731e-05/0.6359, allocations: 37.7 kB / 0.7105 GB, free: 9.734 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.6362, allocations: 355.9 kB / 0.7109 GB, free: 9.383 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.6363, allocations: 166.6 kB / 0.711 GB, free: 9.219 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.6365, allocations: 146.5 kB / 0.7112 GB, free: 9.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.6367, allocations: 374.8 kB / 0.7115 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.6371, allocations: 213.9 kB / 0.7117 GB, free: 8.484 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006969/0.6378, allocations: 0.5876 MB / 0.7123 GB, free: 7.738 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.6389, allocations: 0.764 MB / 0.713 GB, free: 6.848 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.6389, allocations: 4 kB / 0.713 GB, free: 6.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00168/0.6406, allocations: 0.9105 MB / 0.7139 GB, free: 5.922 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.6406, allocations: 12 kB / 0.7139 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.6406, allocations: 8 kB / 0.714 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/0.6421, allocations: 283.5 kB / 0.7142 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.6425, allocations: 115.8 kB / 0.7143 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.6436, allocations: 0.8995 MB / 0.7152 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.6441, allocations: 27.98 kB / 0.7152 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/0.6441, allocations: 32 kB / 0.7153 GB, free: 4.527 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003734/0.6445, allocations: 249.6 kB / 0.7155 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.6446, allocations: 71.56 kB / 0.7156 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.646, allocations: 0.7037 MB / 0.7163 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.646, allocations: 4 kB / 0.7163 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.547e-06/0.646, allocations: 4 kB / 0.7163 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.646, allocations: 7.922 kB / 0.7163 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.6481, allocations: 1.226 MB / 0.7175 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6481, allocations: 4 kB / 0.7175 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.6491, allocations: 195.8 kB / 0.7177 GB, free: 1.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.913e-05/0.6492, allocations: 24.84 kB / 0.7177 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.6493, allocations: 19.92 kB / 0.7177 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.6516, allocations: 2.662 MB / 0.7203 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6516, allocations: 0 / 0.7203 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.6531, allocations: 0.9463 MB / 0.7212 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.6534, allocations: 143.4 kB / 0.7214 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.35e-05/0.6535, allocations: 8 kB / 0.7214 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.654, allocations: 16 kB / 0.7214 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.6541, allocations: 39.86 kB / 0.7214 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.6541, allocations: 23.98 kB / 0.7215 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005902/0.6547, allocations: 434.9 kB / 0.7219 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6547, allocations: 0 / 0.7219 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009164/0.6556, allocations: 223.8 kB / 0.7221 GB, free: 13.18 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002117/0.6577, allocations: 1.635 MB / 0.7237 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.659, allocations: 0.5754 MB / 0.7242 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.659, allocations: 0 / 0.7242 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.6601, allocations: 439.1 kB / 0.7247 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.6618, allocations: 381.4 kB / 0.725 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009859/0.6716, allocations: 6.486 MB / 0.7314 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.672, allocations: 341.4 kB / 0.7317 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006741/0.6726, allocations: 209.3 kB / 0.7319 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/0.673, allocations: 235.3 kB / 0.7321 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.673, allocations: 0 / 0.7321 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3158/0.9888, allocations: 24.3 MB / 0.7558 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.08, allocations: 7.875 kB / 0.7558 GB, free: 157.5 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.17413195699919]